I was testing out Instancebuddy in the stockades and a ranged mob hit my melee class using Singular after he had taken out the two melee mobs and debug locked up spamming:
[3:21:02 AM:552] System.NullReferenceException: Object reference not set to an instance of an object.
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.Tick()
[3:21:02 AM:552] Cleared POI - Reason Exception in Root.Tick()
[3:21:02 AM:552] Cleared POI
I had to manually kill the mob to regain control of the gui. Is the TreeSharp stuff part of the CC? Is this an Instancebuddy issue at all? How can I avoid this? I'd really rather not die in an instance 60 levels below me.
The bot is also reporting stuck when it's not even touching any objects. (I have looting enabled)
[3:28:12 AM:838] [STUCK] Got stuck at <161.402, 98.72913, -31.127> on map 34
[3:28:12 AM:868] [STUCK][HITTEST] LD/LU: False
[3:28:12 AM:868] [STUCK][HITTEST] Left: False
[3:28:12 AM:868] [STUCK][HITTEST] RD/RU: False
[3:28:12 AM:868] [STUCK][HITTEST] Right: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind Left: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind Right: True
[3:28:16 AM:252] [STUCK] Strafing worked!
[3:28:16 AM:424] Flushing timed movement. Direction: AllAllowed
Is this something that a new install may fix?
Thanks
EDIT:
It seems to be Singular afterall:
[3:32:03 AM:069] System.NullReferenceException: Object reference not set to an instance of an object.
at Singular.Helpers.Movement.SafeToNavigateBehind() in c:\bot\CustomClasses\Singular\Helpers\Movement.cs:line 170
at Singular.Helpers.Movement.<>c__DisplayClass1d.<CreateMoveBehindTargetBehavior>b__1a(Object ret) in c:\bot\CustomClasses\Singular\Helpers\Movement.cs:line 159
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Sequence.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.Tick()
[3:32:03 AM:069] Cleared POI - Reason Exception in Root.Tick()
[3:32:03 AM:069] Cleared POI
I'm going to try a fresh bot install and see if I still have these issues. I'm also going to look for the Singular SVN to potentially fix any problems not pushed into the branch distributed with the bot. Will report back.
[3:21:02 AM:552] System.NullReferenceException: Object reference not set to an instance of an object.
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.Tick()
[3:21:02 AM:552] Cleared POI - Reason Exception in Root.Tick()
[3:21:02 AM:552] Cleared POI
I had to manually kill the mob to regain control of the gui. Is the TreeSharp stuff part of the CC? Is this an Instancebuddy issue at all? How can I avoid this? I'd really rather not die in an instance 60 levels below me.

The bot is also reporting stuck when it's not even touching any objects. (I have looting enabled)
[3:28:12 AM:838] [STUCK] Got stuck at <161.402, 98.72913, -31.127> on map 34
[3:28:12 AM:868] [STUCK][HITTEST] LD/LU: False
[3:28:12 AM:868] [STUCK][HITTEST] Left: False
[3:28:12 AM:868] [STUCK][HITTEST] RD/RU: False
[3:28:12 AM:868] [STUCK][HITTEST] Right: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind Left: False
[3:28:12 AM:868] [STUCK][HITTEST] Behind Right: True
[3:28:16 AM:252] [STUCK] Strafing worked!
[3:28:16 AM:424] Flushing timed movement. Direction: AllAllowed
Is this something that a new install may fix?
Thanks
EDIT:
It seems to be Singular afterall:
[3:32:03 AM:069] System.NullReferenceException: Object reference not set to an instance of an object.
at Singular.Helpers.Movement.SafeToNavigateBehind() in c:\bot\CustomClasses\Singular\Helpers\Movement.cs:line 170
at Singular.Helpers.Movement.<>c__DisplayClass1d.<CreateMoveBehindTargetBehavior>b__1a(Object ret) in c:\bot\CustomClasses\Singular\Helpers\Movement.cs:line 159
at TreeSharp.Decorator.CanRun(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Sequence.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.Tick()
[3:32:03 AM:069] Cleared POI - Reason Exception in Root.Tick()
[3:32:03 AM:069] Cleared POI
I'm going to try a fresh bot install and see if I still have these issues. I'm also going to look for the Singular SVN to potentially fix any problems not pushed into the branch distributed with the bot. Will report back.
Last edited: