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!

[Plugin] StuckHelper - Improved stuck handling

lofi

New Member
Joined
Jul 12, 2010
Messages
203
StuckHelper v1.0.1

StuckHelper detects when the bot is stuck in various conditions and tries to unstick the bot by either dismounting or jumping. If all else fails, the bot base is re-started. These features were separated from CombatHelper so that they can be used independently.

Features: (Designed for Honorbuddy 2.0.0.4129)
* - Detects when stuck and performs unstuck routine
* - Restarts bot when stuck or at intervals (stability fix)
* - Fixes stuck in air being attacked for ArchaeologyBuddy
* - Fixes stuck in shallow water for PoolFisher bot
* - Dismounts when navigation is stuck

Installation:
1. Download StuckHelper.cs to your Plugins folder.
2. Modify parameters (optional - see Configuration)
3. Click "Recompile All" under Plugins tab in Honorbuddy.
4. Select "StuckHelper" and check the "Enabled" checkbox.

Configuration:
1. Open StuckHelper.cs in your Plugins folder using any text editor (Notepad will do).
2. Edit configurations on lines 45+ (see code snippet below)
3. Save the file and click "Recompile All" in the Plugins tab.
4. Select "StucktHelper" and make sure it is enabled.
Code:
// User configurations
RestartInterval = 0; // Restart bot ever x mins, 0 to disable
StopStartTime = 10; // Seconds to wait between stop and start during re-start
StuckDistance = 10; // Reset standing still timer after moving this distance
RestartStuckMinutes = 3.5; // Restart bot after standing still this long, 0 to disable
UnstuckRoutineMinutes = 2.0; // Perform unstuck after standing still this long, 0 to disable
ArchBuddyFixMinutes = 0.3; // Dismounts after flying still and being attacked, 0 to disable
PoolFisherFixMinutes = 0.3; // Perform unstuck after swimming still this long, 0 to disable
MountFixMinutes = 0.3; // Perform dismount after mounted still this long, 0 to disable

Known Issues:
- Restart may cause some bots to crash. Recommend using it only when stuck.

Please post any bugs, suggestions or feedback.
 

Attachments

Last edited:
Does this support tauren de-mounting when there big asses can't fit through a door?
The plugin will auto dismout after not moving StuckDistance in MountFixMinutes. This should help with Tauren/Troll mounted size problems and other stuck scenarios. If someone has a suggestion on how to improve this detection, or better default configurations, please post them here.

can you make this a anti drown plug too?? like 2 in 1 ??
It already has this protection. If you are swimming for more than PoolFisherFixMinutes without moving StuckDistance it will invoke the unstuck routine which does various jumps that will bring you to the surface. If it is not working correctly or if you have an idea on how to improve anti-drown/stuck in water detection, please let me know.
 
How about fatigue protection.. HB sent me (flying mount) from one part of the continent to the other using shortest distance between two points - over water and void space, invoking the fatigue bar
 
How about fatigue protection.. HB sent me (flying mount) from one part of the continent to the other using shortest distance between two points - over water and void space, invoking the fatigue bar
There is already a plugin for this. Also, I believe most the issues are fixed in next release. See ABFix by cowdude.

Added minor update which should dismount faster when its stuck on mount.
 
Thanks for this. I'm surprised more people don't use it. I'm going to give it a shot while i run archaeology - I find on some sites it gets stuck on the most mundane of ground spawn items, and it'll run forwards and backwards unendingly until I hit stop and restart.
 
Would love to see this one fixed, seems to solve all the problems i have right now.
 
Plugin from C:\Users\xxx\Desktop\Honorbuddy\Plugins\StuckHelper.cs could not be compiled! Compiler errors:
File: StuckHelper.cs Line: 303 Error: 'Styx.Logic.Pathing.Navigator' does not contain a definition for 'StuckHandler'
 
This is a completely necessary plugin for some profiles but does not seem to compile with the new, updated HB.

Any status on update?
 
Hey i dont really get it what you mean with

2. Edit configurations on lines 45+ (see code snippet below)?
 
Any chance of an updated version of this? My Archbuddy seems to be really attracted to the trees in STV and spends most of the night flying into them and doing very little to fix itself.
 
pls update :) seems like new hb doesnt have much of a stuck handling now a days..
 
Doesn't look like it's going to be updated anytime soon. Too bad, because I would've needed it =/
 
I tried fixing the problem guys but i had totally remove part of the code so i'll let the pro's deal with it
 
Back
Top