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

error when using TrinityLoadProfile

adessis

New Member
Joined
Jun 14, 2012
Messages
122
Reaction score
0
I use <TrinityLoadProfile file="Adessis_arreat.xml" exit="true"/> in one of my profile's.
It works just how it should, but demonbuddy still logs an error. I can't really figure out whats wrong, anybody can shed some light on this?

The error i get is:
Code:
[00:51:44.819 D] Replaced hook [ProfileOrderBehavior_Hook] d7e0d28a-7f90-4311-b9ad-cb37e3fc3bc1
[00:51:44.939 D] System.NullReferenceException: Object reference not set to an instance of an object.
   at GilesTrinity.XmlTags.TrinityLoadProfile.<CreateBehavior>b__0(Object ret)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..()
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.CommonBot.BotMain.()
[00:52:05.269 D] Start/Stop Button Clicked!
[00:52:05.269 N] Stopping the bot.
[00:52:05.269 D] CurrentBot.Stop()
[00:52:05.269 D] Navigator.Clear()
[00:52:05.269 D] Navigator.Clear
[00:52:05.269 D] TreeHooks.Instance.ClearAll()
[00:52:05.269 D] OnStop event
[00:52:05.269 D] OnStop Event Invoking
[00:52:05.269 D] ProfileOrderManager.OnBotStop. Resetting caches.
[00:52:05.269 D] Resetting current behavior.
[00:52:05.329 N] Bot Thread Ended. Was this requested?
[00:54:17.747 N] Loaded profile 
[00:54:18.644 D] Start/Stop Button Clicked!
[00:54:18.677 D] Forcing profile reload.
[00:54:18.869 N] Loaded profile 
[00:54:18.869 D] Starting bot Order Bot
 
I would just use the regular DB LoadProfile tag, it also supports leaveGame="True".
 
Back
Top