kagepande
Community Developer
- Joined
- Oct 20, 2014
- Messages
- 289
Heya whenever im running a profile to gather that looks like this:
Once it either hits 1500 Ice shards or goes past 1500, the bot will stop and then shortly after the game will crash, reading through the log I see this:
Full Log: View attachment 4488 2015-02-10 15.57.txt
It does this regardless of what I make it gather, it will just stop and then my game will crash.
Code:
<Profile>
<Name>Lvl 30 Crystal/Shard Farming</Name>
<KillRadius>50</KillRadius>
<Order>
<While Condition="True">
<!-- Gather Ice Crystals and Shards -->
<If Condition="(ItemCount(6) < 1500)">
<TeleportTo Name="aleport" AetheryteId="14" />
<Gather while ="(ItemCount(6) < 1500)">
<GatherObject>Rocky Outcrop</GatherObject>
<HotSpots>
<HotSpot Radius="95" XYZ="496.9813, 14.31586, 327.7469" />
</HotSpots>
<ItemNames>
<ItemName>Ice Crystal</ItemName>
<ItemName>Ice Shard</ItemName>
</ItemNames>
<GatheringSkillOrder>
<GatheringSkill SpellName="Menphina's Ward" TimesToCast="1" />
</GatheringSkillOrder>
</Gather>
</If>
</While>
</Order>
</Profile>
Once it either hits 1500 Ice shards or goes past 1500, the bot will stop and then shortly after the game will crash, reading through the log I see this:
Code:
[00:48:21.934 D] System.Exception: Error while writing Memory!
at GreyMagic.ExternalProcessMemory.WriteByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Write[T](IntPtr addr, T value)
at ff14bot.Managers.MovementManager.MoveForwardStop()
at ff14bot.Navigation.SlideMover.MoveStop()
at ff14bot.Navigation.Navigator.Clear()
at ff14bot.TreeRoot.Stop(Boolean forceThreadExit, String reason)
[00:48:33.454 D] Traceback (most recent call last):
File "<string>", line 4, in Execute
Exception: Process must have frozen or gotten out of sync: Injection Finished Event was never fired
[00:48:33.454 D] Cannot stop a bot when it is not running.
[00:48:33.454 D] Exception during scheduling Pulse: GreyMagic.InjectionDesyncException: Process must have frozen or gotten out of sync: Injection Finished Event was never fired
at GreyMagic.Executor.WaitForInjection(Int32 timeout)
at GreyMagic.Executor.Execute(Int32 timeout)
at GreyMagic.ExternalProcessMemory.CallInjected[T](IntPtr address, CallingConvention callingConvention, Object[] args)
at ff14bot.Managers.Lua.GetReturnValues(String lua, String scriptName)
at ff14bot.Managers.Lua.GetReturnVal[T](String lua, UInt32 retVal)
at ff14bot.NeoProfiles.ConditionParser.ItemCount(UInt32 itemId)
at CallSite.Target(Closure , CallSite , CodeContext , Object , Int32 )
at Execute$9(Closure , PythonFunction )
at _Scripting_(Object[] )
at ff14bot.NeoProfiles.IfTag.GetConditionExec()
at ff14bot.NeoProfiles.IfTag.get_IsDone()
at ff14bot.NeoProfiles.ProfileBehavior.get_IsDoneCache()
at ff14bot.NeoProfiles.TreeNode`1.Find()
at ff14bot.NeoProfiles.TreeNode`1.Find()
at ff14bot.NeoProfiles.TreeNode`1.Find()
at ‹..()
at ff14bot.NeoProfiles.NeoProfileManager.UpdateCurrentProfileBehavior()
at ff14bot.BotBases.OrderBot.(Object , EventArgs )
at ff14bot.Behavior.BrainBehavior.()
[00:48:33.454 D] System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 0E799A64, Size: 4
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at ff14bot.Objects.SpellCastInfo.get_ActionId()
at ff14bot.Objects.Character.get_CastingSpellId()
at ff14bot.Objects.Character.get_IsCasting()
at ff14bot.Behavior.BrainBehavior.(Object )
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
at TreeSharp.Composite.Tick(Object context)
at ff14bot.TreeRoot.()
[00:48:33.454 N] Bot Thread Ended. Was this requested?
Full Log: View attachment 4488 2015-02-10 15.57.txt
It does this regardless of what I make it gather, it will just stop and then my game will crash.