• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] StuckHelper - Improved stuck handling

    Discussion in 'Archives' started by lofi, Feb 28, 2011.

    1. lofi

      lofi New Member

      Joined:
      Jul 12, 2010
      Messages:
      203
      Likes Received:
      15
      Trophy Points:
      0
      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.
       

      Attached Files:

      Last edited: Mar 2, 2011
      kaihaider likes this.
    2. Mupp

      Mupp New Member

      Joined:
      May 3, 2010
      Messages:
      613
      Likes Received:
      5
      Trophy Points:
      0
      Cool will try it out asap :)
       
    3. Ripperpt

      Ripperpt New Member

      Joined:
      Jan 12, 2011
      Messages:
      574
      Likes Received:
      4
      Trophy Points:
      0
      Going try iy now m8
       
    4. ltlwinters

      ltlwinters New Member

      Joined:
      May 8, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Does this support tauren de-mounting when there big asses can't fit through a door?
       
    5. Ripperpt

      Ripperpt New Member

      Joined:
      Jan 12, 2011
      Messages:
      574
      Likes Received:
      4
      Trophy Points:
      0
      can you make this a anti drown plug too?? like 2 in 1 ??
       
    6. lofi

      lofi New Member

      Joined:
      Jul 12, 2010
      Messages:
      203
      Likes Received:
      15
      Trophy Points:
      0
      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.

      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.
       
    7. wn2142

      wn2142 Member

      Joined:
      Jan 15, 2010
      Messages:
      142
      Likes Received:
      1
      Trophy Points:
      18
      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
       
    8. lofi

      lofi New Member

      Joined:
      Jul 12, 2010
      Messages:
      203
      Likes Received:
      15
      Trophy Points:
      0
      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.
       
    9. papatoast

      papatoast Member

      Joined:
      Jan 15, 2010
      Messages:
      237
      Likes Received:
      0
      Trophy Points:
      16
      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.
       
    10. derico5

      derico5 New Member

      Joined:
      Jan 15, 2010
      Messages:
      389
      Likes Received:
      1
      Trophy Points:
      0
      doestn work with newest hb-version :(
       
    11. nip

      nip New Member

      Joined:
      Apr 13, 2011
      Messages:
      49
      Likes Received:
      0
      Trophy Points:
      0
      Would love to see this one fixed, seems to solve all the problems i have right now.
       
    12. atg68

      atg68 New Member

      Joined:
      Oct 19, 2010
      Messages:
      933
      Likes Received:
      6
      Trophy Points:
      0
      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'
       
    13. RD808

      RD808 New Member

      Joined:
      Apr 7, 2011
      Messages:
      128
      Likes Received:
      0
      Trophy Points:
      0
      This is a completely necessary plugin for some profiles but does not seem to compile with the new, updated HB.

      Any status on update?
       
    14. Larsken

      Larsken Guest

      Hey i dont really get it what you mean with

      2. Edit configurations on lines 45+ (see code snippet below)?
       
    15. Mr3uk

      Mr3uk Member

      Joined:
      Jan 15, 2010
      Messages:
      79
      Likes Received:
      0
      Trophy Points:
      6
      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.
       
    16. Domo

      Domo New Member

      Joined:
      Aug 5, 2010
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      0
      I'm begging for an update as welll :) devo is probably busy
       
    17. lostsk8r

      lostsk8r New Member

      Joined:
      Jan 15, 2010
      Messages:
      879
      Likes Received:
      1
      Trophy Points:
      0
      pls update :) seems like new hb doesnt have much of a stuck handling now a days..
       
    18. papatoast

      papatoast Member

      Joined:
      Jan 15, 2010
      Messages:
      237
      Likes Received:
      0
      Trophy Points:
      16
      I'm requesting some love on this too, its the most awesome plugin ever!
       
    19. kimaasen

      kimaasen Member

      Joined:
      Apr 26, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      6
      Doesn't look like it's going to be updated anytime soon. Too bad, because I would've needed it =/
       
    20. Jvidia

      Jvidia Member

      Joined:
      Jan 7, 2011
      Messages:
      594
      Likes Received:
      13
      Trophy Points:
      18
      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
       

    Share This Page