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

Bot Stopping?

You'll need to report that issue in the QuestPlugin thread, as that's where the exception is coming from:

Code:
2014-11-08 23:02:48,743 [1] ERROR App (null) - [Application_DispatcherUnhandledException] Unhandled exception
System.NullReferenceException: Object reference not set to an instance of an object.
   at QuestPlugin.QuestPlugin.UpdateQuestsAndGUI() in c:\Users\***\Desktop\Exilebuddy\Plugins\QuestPlugin\QuestPlugin.cs:line 1157
   at QuestPlugin.QuestPlugin.<UpdateQuestsAndGUIDispatcher>b__4() in c:\Users\***\Desktop\Exilebuddy\Plugins\QuestPlugin\QuestPlugin.cs:line 1139
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
2014-11-08 23:02:48,747 [26] ERROR BotManager (null) - [Tick] Exception during execution:
Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Loki.Bot.v3.DefaultPlayerMover.MoveTowards(Vector2i position, Object user)
   at Loki.Bot.PlayerMover.MoveTowards(Vector2i position, Object user)
   at Loki.Bot.Logic.Bots.BasicGrindBot.ExploreTask..()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Loki.Bot.v3.TaskManager..()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBot..()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Buddy.Coroutines.Coroutine...()
   --- End of inner exception stack trace ---
   at Buddy.Coroutines.Coroutine.(Boolean )
   at Buddy.Coroutines.Coroutine.(Boolean )
   at Buddy.Coroutines.Coroutine.Resume()
   at Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBot.Tick()
   at Loki.Bot.BotManager.(IBot )

After that exception, the bot state gets messed up and the exceptions are called from places they normally shouldn't be from.
 
Ok thanks will do,

I will respond with the code you pulled out as well as the attachment. Appreciate the help, you just search for the ERROR? With most crashes it will display error?

Thanks again,

Loving the bot so far :D will have to buy a longer ID :D
 
Ok thanks will do,

I will respond with the code you pulled out as well as the attachment. Appreciate the help, you just search for the ERROR? With most crashes it will display error?

Thanks again,

Loving the bot so far :D will have to buy a longer ID :D
Hey dude, Typo on my part, to fix it do this

Find Line 1157-1159 inside QuestPlugn.cs
Code:
            if (LokiPoe.CurrentWorldArea.IsCorruptedArea || LokiPoe.CurrentWorldArea.IsMap || LokiPoe.CurrentWorldArea.IsMissionArea)
            {
                return; 
            }

Change to
Code:
            if (LokiPoe.CurrentWorldArea.IsCorruptedArea || LokiPoe.CurrentWorldArea.IsMap || LokiPoe.CurrentWorldArea.IsMissionArea)
            {
                return; 
            [B]//}[/B]

Scroll down from that code segment to line 1239 and uncomment
Code:
            //}

To

Code:
            }

I was doing some testing and forgot to reverse that lol. I really need SVN.
 
Back
Top