• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Mr.GearBuyer

    Discussion in 'PVP' started by CodenameG, Sep 12, 2012.

    1. windster

      windster New Member

      Joined:
      Mar 7, 2014
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      Fix

      I actually figured it out on my own and fixed it.
      It seems that you need to add ( // ) to the 3 codes.


      Copy this and replace what you have, should fix it.

      -AdamHandler

      if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
      {
      // Slog("HonorPoints and Justice Points are Capped! Logging out!");
      // InactivityDetector.ForceLogout(true);
      // return;
      }
      if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750)
      {
      // Slog("Honor Points Are Capped. Logging Out!");
      // InactivityDetector.ForceLogout(true);
      // return;
      }
      if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
      {
      // Slog("Justice Points are Capped! Logging out!");
      // InactivityDetector.ForceLogout(true);
      // return;
       
    2. jearl31

      jearl31 New Member

      Joined:
      Nov 6, 2010
      Messages:
      15
      Likes Received:
      1
      Trophy Points:
      3
      tried that and plugin still wont show up
       
    3. Boatswain

      Boatswain Member

      Joined:
      Jan 2, 2014
      Messages:
      201
      Likes Received:
      0
      Trophy Points:
      16
    4. Archaion

      Archaion Member

      Joined:
      Mar 28, 2012
      Messages:
      129
      Likes Received:
      1
      Trophy Points:
      18
      This still work?
       
    5. Nightcrawler12

      Nightcrawler12 New Member

      Joined:
      Mar 18, 2012
      Messages:
      765
      Likes Received:
      11
      Trophy Points:
      0
      I'm keen for an update, I've tried all of the methods and I can't get them to work.
       
    6. bambam922

      bambam922 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      6,071
      Likes Received:
      28
      Trophy Points:
      48
      Updated to use Lua.DoString("Logout()");

      UPDATE VIA SVN
       
    7. SmokegoodESG

      SmokegoodESG New Member

      Joined:
      Jun 6, 2013
      Messages:
      68
      Likes Received:
      0
      Trophy Points:
      0
      I've updated from the SVN and done the methods above and it still wont show up in my plugin list.
       
    8. Boatswain

      Boatswain Member

      Joined:
      Jan 2, 2014
      Messages:
      201
      Likes Received:
      0
      Trophy Points:
      16
      awesome thnx
       
    9. HB4328F49

      HB4328F49 New Member

      Joined:
      May 26, 2011
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      Using with 5.4.7 getting this compiler error message, using the latest from the SVN.

      Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(146,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
      Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(152,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
      Compiler Error: d:\Program Files (x86)\Honor Buddy\Plugins\MrGearBuyer\MrGearBuyer.cs(158,36) : error CS0117: 'Styx.CommonBot.InactivityDetector' does not contain a definition for 'ForceLogout'
       
    10. Fryz

      Fryz New Member

      Joined:
      Apr 22, 2013
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      I am having the same issue as well.




       
    11. P2K

      P2K New Member

      Joined:
      Feb 21, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Same issue here.

       
    12. meks1337

      meks1337 New Member

      Joined:
      Dec 12, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      FIX FOR ERROR / NOT SHOWING UP IN LIST

      Go into the mr.gearbuyer folder in plugins. Open it with Note pad then use Ctrl F and type in ForceLogout to find the 3 scripts

      if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
      {
      // Slog("HonorPoints and Justice Points are Capped! Logging out!");
      // InactivityDetector.ForceLogout(true);
      // return;
      }
      if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Hono rPoints).Amount > 3750)
      {
      // Slog("Honor Points Are Capped. Logging Out!");
      // InactivityDetector.ForceLogout(true);
      // return;
      }
      if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.Just icePoints).Amount > 3750)
      {
      // Slog("Justice Points are Capped! Logging out!");
      // InactivityDetector.ForceLogout(true);
      // return;


      now all you do it add // before each line like shown above, no need to add spacesess or delete a space just add // click recompile all on plugins, re open plugins and its fixed.
       
    13. hartkoowr

      hartkoowr Member

      Joined:
      Jul 12, 2010
      Messages:
      75
      Likes Received:
      0
      Trophy Points:
      6
      Does this go from pandaria to stormwind/orgrimmar to get the JP-HP conversion and then back to pandaria to buy the gear?
       
    14. Penunce

      Penunce New Member

      Joined:
      Nov 16, 2012
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      1
      Working for anyone yet?

      Edit: did thing guy 2 posts above me said, worked. Thanks
       
    15. Billdozer

      Billdozer New Member

      Joined:
      Dec 9, 2013
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Worked for me, thank you!
       
    16. Klikster

      Klikster Member

      Joined:
      Mar 8, 2010
      Messages:
      141
      Likes Received:
      1
      Trophy Points:
      18
      Fix worked for me, you're a gentleman and a scholar sir.
       
    17. JackDaniel

      JackDaniel New Member

      Joined:
      Mar 13, 2014
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Not Working...

      This plugin isnt showing up in my "Plugins" option on Honorbuddy... Help...
       
    18. Feola

      Feola New Member

      Joined:
      Nov 25, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      1
      Same error


      Help us please :D

      **EDIT**

      Compiler Error: error CS1508: Resource identifier 'MGBConfig.resources' has already been used in this assembly
       
    19. tehuser

      tehuser Member

      Joined:
      Aug 23, 2012
      Messages:
      151
      Likes Received:
      0
      Trophy Points:
      16
      working great for me, and i just installed it, you took the svn version ?
       
    20. martinwa

      martinwa New Member

      Joined:
      Apr 5, 2011
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Is there anyway i can make this plugin buy Hypnotic dust everytime i reach justice point cap?
       

    Share This Page