HB randomly stops doing nothing and just dies (and never releases corpse) or logs out being alive. Im using my own questing profile for dungeon trash farming; at first i thought that could be a problem of <While> endless cycles which i use for AOEing packs and stuff, i.e. Code: <While Condition="Me.EnergyPercent > 21 && Me.Combat && Me.IsAlive" > <CustomBehavior File="Misc\RunLua" Lua=" CastSpellByID(51723); " /> </While> But then i catched him standing still outside dungeon, which in that palce of profile code there are not any <While> line, only cast vanish and reset dungeon: Code: <CustomBehavior File="Misc\RunLua" Lua=" CastSpellByID(1856); " /> <CustomBehavior File="RunMacro" Macro="/script ResetInstances()" /> I've lost which log file was that, i can upload future 'dying, doing nothing and log out' cases in this thread, but here is today's log where he died and never released corpse and thus logged out: he got Path distances request failed on map: Firelands1, Location: <-361.8625, 131.632, 55.48322> error in this case View attachment 31292 2016-09-22 01.51.zip Also i could upload the profile i use so you could see where such problem might occure, its just i dont want to give it to public so i only can give it personally.
Just catched same bot, he continued writing to same log file, i zip'ed whole file View attachment 31292 2016-09-22 01.51.zip And another one from different hb folder View attachment 21380 2016-09-22 09.52.zip These two just died and never released. PMing you the profile.. The profile is sent.
Here is another one, character fell off a cliff and corpse was floating in air with 'Resurrect \ Show death log' buttons when i found him afk View attachment 30396 2016-09-22 18.57.txt
I even wondered mb there was a way to hook some actions when this happens, like if he dies then press resurrection button, go out and reset instance, but then it would go to a place in the profile where it died and thus didnt start reading profile from start but from that place, which is bad
Caught the one standing outside, he went afk and logged out like one did as i told before: View attachment 36696 2016-09-23 04.26.zip there actually is a <While> thing - he goes there and back through dungeon entrance till he gets inside using MyCTM behavior which used to work fine before (and it does in 9 cases of 10) but sometimes it just doesnt even move, goes afk and logs out etc etc... Though even if there was not any condition then the bot wouldnt move and a toon would go afk anyway, so.. smth about not being able to reach a coordinate sometimes i guess
Just wanted to test if a DoWhen hook will help in case bot doesnt release: Code: <CustomBehavior File="Hooks\DoWhen" ActivityName="CustomDeathHook" TreeHookName="Death_Main" AllowUseDuringCombat="True" AllowExecutionWhileNotAlive="True" UseWhen="Me.IsDead" > <CustomBehavior File="RunCode" Code="Bots.Professionbuddy.PBLog.Log(System.Windows.Media.Colors.DeepSkyBlue, "[Kukuruka]: ", System.Windows.Media.Colors.Red, "Pressing release button.");" /> <CustomBehavior File="Misc\RunLua" Lua=" RepopMe(); " /> </CustomBehavior> Though bot handled death and released by himself (which he does fine in 9 cases of 10); i never saw hook text message neither. But then suddenly toon released at graveyard being alive, not in spirit form (sometimes that hapens too, toons release not at dungeon enreance inside but at graveyard ouside). At this place bot tries to get to a coord which was inside dungeon which leads him to stuck in mountains with errors like MoveTo failed to move to the location: <-389.2993, 206.3086, 51.07077> Here is the log View attachment 16264 2016-09-25 05.19.zip
here is another bunch of errors for you to investigate idk what caused those, i just found toon dead and doing nothing as always View attachment 40964 2016-09-24 08.35.zip
Still getting them caught dead and not releasing today's one floating in air with Code: [09:46:38.354 N] Path distances request failed on map: Firelands1, Location: <-493.0205, 260.917, 28.12951> [09:46:39.157 D] We died, Clearing current POI [09:46:40.533 N] Path distances request failed on map: Firelands1, Location: <-470.9839, 237.6706, -102.7727> errors: View attachment 7072 2016-09-30 12.38.txt he flew till inactivity timer was triggered and restarted hb after 20 minutes which after that he released and started profile normally ... caught another one doing same just as i posted this: View attachment 7064 2016-09-30 11.21.zip
Just updated to 861 build, started and caught one running on mount and dying of mobs attaking him. the weird thing is neither he released after death nor the healing DoWhen hook worked (though usually it works fine) Code: <If Condition="Me.Class == WoWClass.Rogue" > <CustomBehavior File="Hooks\DoWhen" ActivityName="UseSpellAt40Health" AllowUseDuringCombat="True" AllowUseWhileMounted="True" UseWhen="Me.IsAlive && Me.Combat && Me.IsInInstance && Me.HealthPercent <= 40 && Me.HealthPercent >= 5 && Me.EnergyPercent > 99" > <CustomBehavior File="Misc\RunLua" Lua=" CastSpellByID(51723); " /> </CustomBehavior> </If> As usually in this error case, he did nothing after he died, the log: View attachment 10564 2016-10-13 00.52.txt
Caught one outside, they never even stop-start manually in that case, only if i relaunch hb they start fine, so i deleted logs folder and started it so as to give clean log with the errors View attachment 4964 2016-10-13 15.45.txt Edit: switching to MyCTM behavior in that profile place let me start it fine