• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • GB2Fix

    Discussion in 'Archives' started by arczi19, Mar 19, 2011.

    1. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      Hey

      During the past few days I've been running GB2 in Vashj'ir and I've noticed few bugs that made my bot stuck for no apparent reason. That includes:
      -randomly standing in one place
      -targeting an already killed mob and running back and forth from his body to node
      -getting stuck in caves and underwater plants (sometimes)
      -getting stuck while being in combat and trageting hostile NPC

      I've found out (worth noticing: accidentally) that all of those 'bugs' can be fixed by simply targeting my botting character (except the third thing, I still have to manually click on repair NPC and then on myself to be able to continue, but that might be profile/mesh problem). Made a little plugin overnight that all it does is targeting self except in combat - hopefully that will make the botting in Vashj'ir a little less stressful (might also help in other zones with stuck issues, not sure, havent tried it).

      To-do list:
      -not sure yet, let me know!

      Bugs:
      -none found, let me know!



      CHANGELOG:

      1.0.0.5
      -Target changing is no longer needed - the bots work just as fine without it. Added 2 nifty features:
      1. Every time the bot interacts with a vendor, it will automatically sell all Lifegiving seeds!
      2. If the bot doesn't pick up any loot for a period of time longer then 15 minutes, it will automatically go and Empty Bags (send mails to an alt) - I've noticed that emptying bags gets you out of The Cave, the very same cave where the bot keeps on dancing in circles and doesn't know how to get out. It may also occasionally solve other stuck problems, but that's all up to luck.

      1.0.0.4
      -releasing a lighter version of the plugin - when combined with the latest offcial GB2 fix by raphus, makes farming in Vashjr almost flawless!

      1.0.0.3
      -the latest release of hb introduced another weird bug in Vashjr - basically, the bot will randomly stand in one place doing nothing, usually after combat. The solution to that problem is to simply click space bar and it will continue as normal. The plugin will now press space bar every 5 minutes to avoid standing in one place for more then necessary.

      1.0.0.2 :

      -When stuck in combat, bot will now clear the target after 30s (and picks it up straight after) rather then target itself after 300s - it actually solves another issue in Vashjr when bot sometimes (quite often actually) is unable to target hostile NPC and dies standing in one place.#


      If you appreciate my small bit of work, feel free to donate me :)
      btn_donate_LG.gif
       

      Attached Files:

      Last edited: Nov 14, 2011
      zuabros, corran11 and madman like this.
    2. corran11

      corran11 New Member

      Joined:
      Jan 15, 2010
      Messages:
      125
      Likes Received:
      0
      Trophy Points:
      0
      thats exactly what i was looking for ! thx !
       
    3. madman

      madman New Member

      Joined:
      Jan 15, 2010
      Messages:
      173
      Likes Received:
      0
      Trophy Points:
      0
      Using this with proffbuddy, seems to have fixed the "standing idle on the ground after harvesting" issue i was encountering! thanks a lot!

      +repped!
       
    4. caytchen

      caytchen New Member

      Joined:
      Jan 7, 2011
      Messages:
      9
      Likes Received:
      1
      Trophy Points:
      0
      Does not fix the "standing idle on ground" issue, which is a pretty serious show stopper for GB2. Also, don't use RunMacroText if TargetUnit("player") works just as well.
       
    5. madman

      madman New Member

      Joined:
      Jan 15, 2010
      Messages:
      173
      Likes Received:
      0
      Trophy Points:
      0
      it did for me
       
    6. lofi

      lofi New Member

      Joined:
      Jul 12, 2010
      Messages:
      203
      Likes Received:
      15
      Trophy Points:
      0
      You can add a timer like this:

      Code:
      using System.Diagnostics;
      Code:
      private double CombatTimeout = 300; // in seconds
      private Stopwatch combatTimer = new Stopwatch();
      and then inside your Pulse():

      Code:
      // update combat timer
      if (Me.Combat && !combatTimer.IsRunning)
      {
          combatTimer.Start();
      }
      else
      {
          combatTimer.Reset();
      }
      
      if (combatTimer.Elapsed.TotalSeconds > CombatTimeout)
      {
         // add your self-targeting code
      }
       
      Last edited: Mar 19, 2011
    7. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      Thanks lofi and caytchen, made some changes and updated the plugin!
       
    8. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      Another update, that helps with farming in Vashjr (and any other places where similar problems occur).
       
    9. feveredpanda

      feveredpanda New Member

      Joined:
      Apr 4, 2010
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Great plug-in. Been working wonders for my Vash farmer. +rep
       
    10. theatristformallyknownasG

      theatristformallyknownasG Active Member

      Joined:
      Jan 16, 2010
      Messages:
      3,041
      Likes Received:
      8
      Trophy Points:
      38
      Thanks, I'll give it a whirl.

      DEVs take note please.

      G
       
    11. Tweter

      Tweter New Member

      Joined:
      Jan 19, 2011
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Tyvm, I was just posting about these same symptoms the other day in the mesh thread. trying it out now.
       
    12. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      After some intensive testing I realised that the latest addition to the plugin wasnt working correctly, it is fixed now tho. Plugin reuploaded.
       
    13. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      Updated, should fix another annoying issue.
       
    14. corran11

      corran11 New Member

      Joined:
      Jan 15, 2010
      Messages:
      125
      Likes Received:
      0
      Trophy Points:
      0
      works much better now, i wish it could fix ressing at spirit bug ;/
       
    15. zogu

      zogu New Member

      Joined:
      Mar 29, 2010
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      I love you so much man!
       
    16. lostsk8r

      lostsk8r New Member

      Joined:
      Jan 15, 2010
      Messages:
      879
      Likes Received:
      1
      Trophy Points:
      0
      Should we still use this, given the new release? I dont see anything about the combat clear on the release so I think I will still.
       
    17. arczi19

      arczi19 New Member

      Joined:
      Mar 2, 2010
      Messages:
      156
      Likes Received:
      5
      Trophy Points:
      0
      Yeah, I would strongly recommend using it - I've released a new version now. Been running multiple bots in Vashjr overnight and havent had any issues at all so far, seems like we are getting there :)
       
      BlackPrapor likes this.
    18. lajser

      lajser Member

      Joined:
      Jan 8, 2011
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Thanx arczi19 fixed alot of problems!
       
    19. alfelsi

      alfelsi Member

      Joined:
      Jan 31, 2011
      Messages:
      71
      Likes Received:
      0
      Trophy Points:
      6
      That code fixed it ;o WoW your clever. <3 TY
       
    20. BlackPrapor

      BlackPrapor New Member

      Joined:
      May 7, 2010
      Messages:
      285
      Likes Received:
      1
      Trophy Points:
      0
      Thanks a lot, will try it out.
       

    Share This Page