Hello,
With these instructions, the bot will stop. It happens randomly. With the latest DB #276 and giles (1.6.3.1).
This is the log (used to happen, when I wasn't using the <UseObject tag> cf. http://www.thebuddyforum.com/demonb...or-nonetype-object-has-no-attribute-mesh.html )
Thank you
With these instructions, the bot will stop. It happens randomly. With the latest DB #276 and giles (1.6.3.1).
Code:
<While questId="1" condition="CurrentLevelAreaId != 19947">
<UseTownPortal questId="1" />
<WaitTimer questId="1" WaitTime="1000" />
</While>
This is the log (used to happen, when I wasn't using the <UseObject tag> cf. http://www.thebuddyforum.com/demonb...or-nonetype-object-has-no-attribute-mesh.html )
Code:
[15:43:24.802 D] Traceback (most recent call last):
File "<string>", line 4, in Execute
AttributeError: 'NoneType' object has no attribute 'Mesh'
[15:43:24.802 N] Stopping the bot.
[15:43:24.802 D] CurrentBot.Stop()
[15:43:24.802 D] Navigator.Clear()
[15:43:24.802 D] Navigator.Clear
[15:43:24.802 D] TreeHooks.Instance.ClearAll()
[15:43:24.802 D] OnStop event
[15:43:24.802 D] OnStop Event Invoking
[15:43:24.809 D] QuestOrderManager.OnBotStop(). Resetting caches.
[15:43:24.809 D] Resetting current behavior.
[15:43:24.809 D] QuestOrderManager.OnBotStop(). Resetting caches.
[15:43:24.809 D] Resetting current behavior.
[15:43:24.809 D] QuestOrderManager.OnBotStop(). Resetting caches.
[15:43:24.809 D] Resetting current behavior.
[15:43:24.809 D] QuestOrderManager.OnBotStop(). Resetting caches.
[15:43:24.809 D] Resetting current behavior.
[15:43:24.809 D] QuestOrderManager.OnBotStop(). Resetting caches.
[15:43:24.809 D] Resetting current behavior.
[15:43:24.809 D] Calling OnDone() on current behavior. WhileTag: IsDone: True, Condition: ZetaDia.Me.CurrentScene.Mesh.LevelAreaSNO == 60396, Conditional: System.Func`1[System.Boolean], Body: System.Collections.Generic.List`1[Zeta.CommonBot.Profile.ProfileBehavior], QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: True, Behavior: Zeta.TreeSharp.Decorator,
[15:43:24.819 D] Exception during scheduling Pulse: System.MissingMemberException: 'NoneType' object has no attribute 'Mesh'
at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Execute$6(Closure , PythonFunction )
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at _Scripting_(Object[] )
at Zeta.CommonBot.Profile.Composites.IfTag.GetConditionExec()
at Zeta.CommonBot.Profile.Composites.WhileTag.get_IsDone()
at GilesTrinity.IfSNOInRangeTag.CheckBehaviorIsDone(ProfileBehavior profileBehavior)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at GilesTrinity.IfSNOInRangeTag.get_IsDone()
at GilesTrinity.IfTag.CheckBehaviorIsDone(ProfileBehavior profileBehavior)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at GilesTrinity.IfTag.get_IsDone()
at Zeta.CommonBot.Profile.ProfileBehavior.get_IsDoneCache()
at Zeta.CommonBot.ProfileOrderManager.(IEnumerable`1 )
at Zeta.CommonBot.ProfileOrderManager.UpdateCurrentBehavior()
at Zeta.CommonBot.ProfileManager.UpdateCurrentProfileBehavior()
at Zeta.CommonBot.Logic.OrderBot.(Object , EventArgs )
at Zeta.CommonBot.Logic.BrainBehavior.()
[15:43:24.819 N] Bot Thread Ended. Was this requested?
Thank you
Last edited:






