What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Bug: Stopping bot since it thinks stash is full but it's not

Lightseeker

New Member
Joined
Mar 26, 2012
Messages
96
Reaction score
0
Hello Giles,

The middle tab in the stash has plenty of space, however it happened twice today that when the bot did a town run to empty the inventory it stopped the bot. This happened with a fresh install of GilesTrinity 1.6.2 and the latest beta version of the bot. Also worth to mention is that the bot was stopped actually before identifying the items and checking stash so perhaps it has nothing to do with the stash itself.

If press the start button after this has happened it will id the items and put stuff in stash and then go about to do what it's supposed to do.

I will revert back to the last stable version to see if this happens again, but I don't think it's related to the bot.

Here is the last bit of the log.

Code:
[18:20:05.428 N] ========== Grid segmentation resetting!!! ============
[18:20:05.458 D] Navigator.Clear
[18:20:05.550 D] Replaced hook [ProfileOrderBehavior_Hook] 0078fabe-5096-432f-9f9a-44860fdd01dc
[18:20:05.573 D] Generating path to UNKNOWN - <957.6979, 1044.275, -9.899996>
[18:20:05.625 D] Successfully generated path from {X=151,Y=96} to {X=130,Y=95} in 00:00:00.0002728 with 22(3) hops
[18:20:05.625 D] Client path generated.
[18:20:05.625 D] Generated path to <957.6979, 1044.275, -9.899996> () with 3 hops.
[18:20:17.282 N] No more space to pickup a 2-slot item, town-run requested at next free moment.
[18:20:28.289 D] Navigator.Clear
[18:20:28.289 D] Generating path to Random spot, we got hit? - <882.2867, 1081.485, 7.90494>
[18:20:28.291 D] Successfully generated path from {X=145,Y=57} to {X=145,Y=63} in 00:00:00.0000639 with 7(2) hops
[18:20:28.291 D] Client path generated.
[18:20:28.291 D] Generated path to <882.2867, 1081.485, 7.90494> (Random spot, we got hit?) with 2 hops.
[18:20:34.738 D] [GilesTrinity] Destructible: Name=A3_crater_st_DemonCage_A-26010. SNO=174496, Range=13,99118. Needed range=15. Radius=3,975424. Type=Destructible. Using power=Monk_FistsofThunder
[18:20:55.044 D] Traceback (most recent call last):
  File "<string>", line 4, in Execute
AttributeError: 'NoneType' object has no attribute 'Mesh'
[18:20:55.045 N] Stopping the bot.
[18:20:55.045 D] CurrentBot.Stop()
[18:20:55.045 D] Navigator.Clear()
[18:20:55.046 D] Navigator.Clear
[18:20:55.046 D] TreeHooks.Instance.ClearAll()
[18:20:55.046 D] OnStop event
[18:20:55.046 D] OnStop Event Invoking
[18:20:55.058 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.063 D] Resetting current behavior.
[18:20:55.063 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.063 D] Resetting current behavior.
[18:20:55.063 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.063 D] Resetting current behavior.
[18:20:55.063 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.063 D] Resetting current behavior.
[18:20:55.064 D] Calling OnDone() on current behavior. ContinueTag: IsDone: False, ProfileName: MyStyle_DamnedTower.xml, ExitGame: null, BackUpProfile: MyStyle_START_HERE.xml, QuestId: 0, StepId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Zeta.TreeSharp.Action, 
[18:20:55.064 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.064 D] Resetting current behavior.
[18:20:55.064 D] Calling OnDone() on current behavior. ContinueTag: IsDone: False, ProfileName: MyStyle_DamnedHeart.xml, ExitGame: null, BackUpProfile: null, QuestId: 0, StepId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Zeta.TreeSharp.Action, 
[18:20:55.064 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.064 D] Resetting current behavior.
[18:20:55.064 D] Calling OnDone() on current behavior. ContinueTag: IsDone: False, ProfileName: MyStyle_ArreatCraterLvl1.xml, ExitGame: null, BackUpProfile: null, QuestId: 0, StepId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Zeta.TreeSharp.Action, 
[18:20:55.064 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.064 D] Resetting current behavior.
[18:20:55.065 D] Calling OnDone() on current behavior. UseObjectTag: IsDone: False, ActorId: 176001, X: 0, Y: 0, Z: 0, InteractRange: 10, IsPortal: True, DestinationWorld: 79401, Hotspots: null, Position: <0, 0, 0>, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector, 
[18:20:55.065 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.065 D] Resetting current behavior.
[18:20:55.065 D] Calling OnDone() on current behavior. ContinueTag: IsDone: False, ProfileName: MyStyle_CursedTower.xml, ExitGame: null, BackUpProfile: null, QuestId: 0, StepId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Zeta.TreeSharp.Action, 
[18:20:55.065 D] QuestOrderManager.OnBotStop(). Resetting caches.
[18:20:55.065 D] Resetting current behavior.
[18:20:55.066 D] Calling OnDone() on current behavior. MoveToTag: X: 957,6979, Y: 1044,275, Z: -9,899996, PathPrecision: 10, Position: <957.6979, 1044.275, -9.899996>, UnsafeRandomDistance: 0, Name: null, IsDone: False, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector, 
[18:20:55.070 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 IronPython.Runtime.Binding.PythonGetMemberBinder.FastPropertyGet`1.GetProperty(CallSite site, TSelfType target, CodeContext context)
   at Execute$27(Closure , PythonFunction )
   at _Scripting_(Object[] )
   at Zeta.CommonBot.Profile.Composites.IfTag.GetConditionExec()
   at Zeta.CommonBot.Profile.Composites.WhileTag.get_IsDone()
   at Zeta.CommonBot.Profile.Composites.IfTag.(ProfileBehavior )
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at Zeta.CommonBot.Profile.Composites.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.()
[18:20:55.070 N] Bot Thread Ended. Was this requested?
 
Last edited:
Same thing happened with the new stable version of DB. What is this AttributeError: 'NoneType' object has no attribute 'Mesh' ?

Code:
[21:55:47.513 N] [GilesTrinity] No more space to pickup a 2-slot item, now running town-run routine.
[21:55:53.361 D] Traceback (most recent call last):
  File "<string>", line 4, in Execute
AttributeError: 'NoneType' object has no attribute 'Mesh'
[21:55:53.362 N] Stopping the bot.
[21:55:53.362 D] CurrentBot.Stop()
[21:55:53.362 D] Navigator.Clear()
[21:55:53.362 D] Navigator.Clear
[21:55:53.362 D] TreeHooks.Instance.ClearAll()
[21:55:53.362 D] OnStop event
[21:55:53.362 D] OnStop Event Invoking
[21:55:53.366 D] QuestOrderManager.OnBotStop(). Resetting caches.
[21:55:53.369 D] Resetting current behavior.
[21:55:53.369 D] QuestOrderManager.OnBotStop(). Resetting caches.
[21:55:53.369 D] Resetting current behavior.
[21:55:53.369 D] QuestOrderManager.OnBotStop(). Resetting caches.
[21:55:53.369 D] Resetting current behavior.
[21:55:53.369 D] QuestOrderManager.OnBotStop(). Resetting caches.
[21:55:53.369 D] Resetting current behavior.
[21:55:53.369 D] Calling OnDone() on current behavior. ContinueTag: IsDone: False, ProfileName: MyStyle_DamnedTower.xml, ExitGame: null, BackUpProfile: MyStyle_START_HERE.xml, QuestId: 0, StepId: 0, QuestName: Quest Id: 0, IsDoneCache: False, Behavior: Zeta.TreeSharp.Action, 
[21:55:53.369 D] QuestOrderManager.OnBotStop(). Resetting caches.
[21:55:53.369 D] Resetting current behavior.
[21:55:53.370 D] Calling OnDone() on current behavior. MoveToTag: X: 933,3544, Y: 1215,931, Z: -29,9, PathPrecision: 10, Position: <933.3544, 1215.931, -29.9>, UnsafeRandomDistance: 0, Name: null, IsDone: False, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector, 
[21:55:53.373 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 IronPython.Runtime.Binding.PythonGetMemberBinder.FastPropertyGet`1.GetProperty(CallSite site, TSelfType target, CodeContext context)
   at Execute$4(Closure , PythonFunction )
   at _Scripting_(Object[] )
   at Zeta.CommonBot.Profile.Composites.IfTag.GetConditionExec()
   at Zeta.CommonBot.Profile.Composites.WhileTag.get_IsDone()
   at Zeta.CommonBot.Profile.Composites.IfTag.(ProfileBehavior )
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at Zeta.CommonBot.Profile.Composites.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.()
[21:55:53.374 N] Bot Thread Ended. Was this requested?
[22:07:08.939 D] Cannot stop a bot when it is not running.
[22:07:08.939 D] Forcing closed all current windows.
 
Last edited:
Have never seen that, looks like a pretty nasty error. I'd say post it in the support forums but they'll just tell you to disable all plugins, so I'd be tempted to see if you can reproduce it without plugins purely for the sake of being able to post it on the support forums without having your wrists slapped/being ignored. But it certainly appears to be a DemonBuddy error to me (although if you are using a profile with Trinity tags, perhaps you are using some unusual conditions in an <If> check causing Python to bug out?).

Also, try and make sure you only start the bot while on the character select screen. And if you ever *STOP* the bot while in-game - I recommend quitting DemonBuddy and restarting it (when at character select screen) before restarting, as this can cause some very strange bugs with stash/items etc. if you don't.

Also, just incase you are - double check you have no protected bag slots or stash pages, they can probably cause confusion.
 
Thanks for the quick reply. I do everything as you described, that is to say the proper way and I don't use any Trinity tags right now. But this bug seems to reoccur. I just went back to an older stable version of DB and Giles 1.6.1 since I'm about to go to bed now and don't want this error to happen again which it didn't with these versions.

Tomorrow I can experiment a bit. I already made a post on the last DB release thread.
 
Running now the old version of DB with Trinity 1.6.2. No issues so far. This is DB related bug.
 
Back
Top