Proc code is no longer working! The issue is the bot keeps trying to cast "Punish" "Decimate" or any other proc despite it not being available yet. there is no error log for this. There is some sort of error in the targetting file. Code: Unhandled exception!Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.NullReferenceException: Object reference not set to an instance of an object. at Buddy.DefaultRoutine.Targeting.get_PullTarget() in d:\Users\Angus\Desktop\WB\Routines\Default Routine\Targeting.cs:line 97 at Buddy.DefaultRoutine.Targeting.get_BestTarget() in d:\Users\Angus\Desktop\WB\Routines\Default Routine\Targeting.cs:line 111 at Buddy.DefaultRoutine.DefaultRoutine.<Combat>d__0.MoveNext() in d:\Users\Angus\Desktop\WB\Routines\Default Routine\DefaultRoutine.cs:line 101 --- 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.Wildstar.BotCommon.CombatRoutineBase.fN_=Bn-)3P-gKO69D\[!}HYPK.() --- 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. **.IMo`\.Q9a06!\]t=a^\*he"=)lG.() --- End of inner exception stack trace --- at Buddy.Coroutines.Coroutine.***********(Boolean ) at Buddy.Coroutines.Coroutine.*** *****(Boolean ) at Buddy.Coroutines.Coroutine.Resume() at Buddy.Wildstar.Engine.CoroutinePulsable.^qfM9<H\,JT| |~0u9''tSrQ.() Let me know if you need a full log if this snippet isnt enough to narrow down the issue. P.s. if you could be an absolute champ and post what If/While Codes are currently available in the API i will get started on making some more advanced combat routines. If they have yet to be implemented yet. Target.Health Me.Health Target.Range Me.ClassResource would mean i can start making some awesome profiles now that i have the default to work around.
These are already in: GameManager.LocalPlayer.Health / HealthPct GameManager.LocalPlayer.InnateResource GameManager.LocalPlayer.CurrentTarget.Health They might be spelt differently (don't have VS running) but they are definitely there.
Any idea what value Stalker Innate goes up to since im looking to set Punish up to make use of its passive. Also do you have any idea if Nearby mob count is integrated in the api yet?
I'm not sure what the stalker resource goes up to (I imagine 100?) you can always just log out the resource value each frame. Also you can loop over the current actor list which will give you a list of 'Actor' which isn't necessarily just the nearest monsters, it includes all NPCs and I assume gatherables too. Haven't really looked into the Actor object yet.