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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Bot randomly stops

kodind

Member
Joined
Nov 16, 2015
Messages
63
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 &gt; 21 &amp;&amp; Me.Combat &amp;&amp; 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.
 
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 :(
 
Last edited:
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, &quot;[Kukuruka]: &quot;, System.Windows.Media.Colors.Red, &quot;Pressing release button.&quot;);" />
                 			<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
 
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
 
Last edited:
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 &amp;&amp; Me.Combat &amp;&amp; Me.IsInInstance &amp;&amp; Me.HealthPercent &lt;= 40 &amp;&amp; Me.HealthPercent &gt;= 5 &amp;&amp; Me.EnergyPercent &gt; 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
 
Last edited:
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
View attachment 212468
Probably you should restart HB in that case. You`ve answered your own question:)
 
Back
Top