• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Temp fix for ArchaeologyBuddy navigation stuck issues

    Discussion in 'Archives' started by cowdude, Feb 26, 2011.

    1. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Just coded a quite dirty workaround to allow running AB being AFK (I want my Zin'rohk too).

      What it does:
      It will check your toon's location periodically.
      There are three detections mechanics that will only trigger if you're not dead/fighting/in BG:
      1. Your toon is stuck at the same location while flying (fast detection)
      2. Your toon is stuck at the same location while not mounted (~1min to detect it due to some AB bugs and/or navmesh loading)
      3. Your toon tried to mount A LOT in 30 seconds (I really hate that one...)

      If any of those happens, it will:
      1. Stop HB
      2. Fly to the nearest known safe location using a defined safe path, or if no such safe location found:
      3. Land and dismount
      4. Use hearthstone (or The Innkeeper's Daughter - Item - World of Warcraft)
      5. Eventually restart botting in both cases.

      Quick howto guide:
      1. Install the plugin. Duh.
      2. Recompile your plugins or restart HB.
      3. Enable the temp fix plugin.
      4. Bind your hearthstone on the same continent you're botting. Location doesn't matter, just be sure AB can manage to fly to a digsite from this place.
      5. Start botting.

      Known and 'fixed' stuck locations (that should not happen anymore, but it will handle them, just in case, you know...):
      - Small islands between Twilight Highlands and Arathi (-2324.421, -4383.512, 545.1072)
      - Some other stuff in EK, see comments in the plugin code

      Releases:
      1.2
      HB compatibility fix
      Added ground stuck fix
      Added endless mount loop fix
      Disabled stuck checks in battlegrounds
      Had to add an awfully hardcoded list of mounts to detect mount spells....yay.​

      1.1
      Added new stuck locations
      Fixed an error when it can't find ground level (mostly after the fatigue wall). Will just dismount and fall in water (or die.)
      Added support for The Innkeeper's Daughter - Item - World of Warcraft
      1.0
      Initial release​

      Notes:
      You can test it by pushing the 'force unstuck NOW' button on the plugins tab. It will mostly use its hearthstone unless you're near to a known stuck location.
      Feel free to report any issues here, or drop a dollar or two on my paypal account if it helped (hard times happens, how sweet).
       

      Attached Files:

      Last edited: Mar 13, 2011
      kaihaider, m0rf0 and mickstjohn like this.
    2. mickstjohn

      mickstjohn New Member

      Joined:
      May 9, 2010
      Messages:
      72
      Likes Received:
      0
      Trophy Points:
      0
      OH YEAH MAN. THANK YOU. WAITING FOR THAT. WILL TEST IT FOR YA :cool:
       
    3. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      Haven't had to chance to test it yet, but sounds like pure brilliance. Any chance of adding support to deathgate or hearthstone based upon location of digsites around Stormwind, or Eastern Plaguelands. If not that's great, because this should fix all the problems by Alliance setting their hearthstone at Dun Modir(at the bottle neck between wetlands and Arathi Highlands.) Thanks again for your work.
       
    4. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Bind your toon in the Blasted Lands if you're botting in EK. You can then walk through the Dark Portal and take a SW/Org portal on the other side.
       
    5. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      I'm meaning for while afk :p.
       
    6. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Ah, I see.

      It would be interesting to use class teleport spells + hearthstone to spare some time flying over the WHOLE continent to get a freaking useless dwarf digsite, indeed. But this isn't related to this fix, even though the stop bot/teleport/restart process looks the same.
       
    7. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      I would love that type of plugin, but the Situation I envision is of this All digsites are above the Wetlands/Arathi border, and the last one was at Dunwald ruins(Twilight Highlands). The bot gets stuck and hearthstones with your marvelous plugin, however would immediatley(after flying upwards) get stuck again (thus bot stops) unless your hearth was above the border. Say that you did actually have your hearthstone above the border and continues collecting all the digsites, but the last was at Dun Modir (just north of the water between IF/wetlands and Hilsbrad) and the next site is Scalding Pools (inside Searing Gorge) This would get the bot stuck again without enough time elapsing to cool down the hearthstone(without the guild perk.) Just thinking about higher productivity :p.
       
      Last edited: Feb 26, 2011
    8. Technik

      Technik New Member

      Joined:
      Oct 31, 2010
      Messages:
      163
      Likes Received:
      1
      Trophy Points:
      0
      Testing now, will report back, hopefully with some nice logs :}
       
    9. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Ok, I see what you mean.

      I can make it move to the nearest safe location if you can provide me a list of such points. I'll add one in EK on the bridge between Arathi and the Wetlands (flying hotspot, of course...).
       
    10. margorach

      margorach Member

      Joined:
      Feb 8, 2011
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      16
      NOW THAT would solve all the problems :D

      there are 2 in EK ive seen so far 1 is like the earlier poster said and the other in ek above the sea east of the burning steppes
       
    11. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      I can only think of two others, but have only had experience with one. Duskwallow marsh going north, and the one off the coast of Desolace, I think (hearthstone should fix both of these). HOWEVER, if you add a safe location above the bridge that should solve ALL EK troubles.
       
    12. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      And many on other continents too...

      Please provide me the following if you get accross a stuck issue:
      1. Current stuck location
      2. Safe location where it should move (MUST be in line of sight)

      How to find the safe location:
      1. Get one of those stuck issues
      (2. Get your current location)
      3. Stop the bot, move your toon nearby
      4. Start the bot. If the stuck issue is solved, you just found it!
       
    13. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      As long as you can fly in a straight line to the bridge safe point, aye... I can't use the flying navigator, trivial...
       
    14. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      OK, so you are looking for safe spots for each of the possible stuck zones ? I'll try to compile a list when I get a chance. Thanks again for your work.
       
    15. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      Stuck Location:<Hotspot X="-2384.309" Y="-4428.557" Z="488.6512" /> (Twilight highlands to Jintha Alor, or EPL)
      Path to follow to get unstuck:
      <Hotspot X="-2986.996" Y="-4586.475" Z="276.0405" />(Humbolt Conflagration)
      <Hotspot X="-3091.373" Y="-3816.136" Z="330.6706" />(Vermillion Redoubt)
      <Hotspot X="-2948.328" Y="-2565.082" Z="246.1965" />(South of Dun Modr)

      Tried to end in a spot that would make it possible to get to all others
       
      Last edited: Feb 26, 2011
    16. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Here we go, second and hopefully last routine version.

      Please redownload. :)

      I've added the twilight highlands->arathi stuck issue. It will move the bot to the arathi south bridge if you're getting stuck there (flying over small islands).

      I've kept the hearthstone logic just in case people would like to use it on other continents or are too lazy to give me new stuck locations.
       
    17. Ripperpt

      Ripperpt New Member

      Joined:
      Jan 12, 2011
      Messages:
      574
      Likes Received:
      4
      Trophy Points:
      0
      Nice plug m8.
      Going test it, and if find any stuck place i will report :D
       
    18. Meatyfrog

      Meatyfrog Member

      Joined:
      Jan 31, 2010
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      Testing, and will see if i can get the Stuck between Hillsbrad, going south.
       
    19. Cheesybean

      Cheesybean New Member

      Joined:
      Jan 4, 2011
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      0
      Excellent fix, thanks for the quick code man =D Made my day!
       
    20. cowdude

      cowdude Active Member

      Joined:
      Feb 17, 2010
      Messages:
      337
      Likes Received:
      27
      Trophy Points:
      28
      Updated again. Please re-redownload if you wish to.

      It should now take no more than 15 seconds to detect a stuck issue instead of 5-10 minutes. The previous version was working fine but the toon often died exhausted before the plugin detected a stuck issue.

      It won't check ground stuck issues anymore, as AB handles them pretty well.
       

    Share This Page