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

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

    1. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      Mr.GearBuyer - A Plugin that Buys Gear From Point Vendors
      12/29/13 - Version 3.3.1 - I Was Alive

      What is this?
      This is a plugin that will buy gear with using from vendors that sell gear for special currency such as Honor and Justice Points. Add the gear you want to buy to the buy list and Mr.GearBuyer will buy the items as you get enough currency to buy them.

      How do i use this?
      to install the plugin extract the zip file to your plugins directory, your directory tree should look like this when its done, Honorbuddy/plugins/MrGearBuyer/MrGearBuyer.cs
      then once in game, head to Stormwind or Orgrimmar and talk to the venders that have the gear you want to buy, and open the plugins configuration, and while talking to the vender click "fetch items" this will populate the vender list so you can then select what items you want and add them to the buy list. then start PVPing. as you gain Honor or JP, the plugin will go and buy the items on your buy list, from top down.

      Special Thanks
      to raphus without whom i would of never been able to complete this plugin
      Change Log:
      Code:
      Version 1.0 - initial Release.
      Version 1.1 - Made a Logic Change to prevent the plugin from buying Justice Points when already at, or near cap for Red Text Error "You have to many of that item".
      Version 1.2 - Fixed logic error in that would of prevented it from capping out.
      Version 1.3 - Added Timer to prevent Spammed Buying of items from the buy list. Changed Me.Continent to Me.BattleGrounds and Me.IsInInstance to prevent it from trying to find venders inside of battlegrounds and inside of instances.
      Version 1.4 - Made Changes to the way German Lanaguage Clients pull Currency Type.
      Version 1.6- dont know what happend to 1.5, i guess i changed it without realising then updated it again for this new fix. whatever just roll with it. added code to check if the vender is blacklisted and if it is, then clear the blacklist. before trying to force it to buy.
      Version 1.7 - Made a modification to how it identify costtype, it should fix issues with not getting items. also fixed an alignment issue in the ui, mesh issues has been fixed. there should be no problems in old town anymore. (it was a mesh issue)
      Version 1.8 - hopefully fixed null errors:System.NullReferenceException: Object reference not set to an instance of an object. at MrGearBuyer.MrGearBuyer.Pulse() in \HB\Plugins\MrGearBuyer\MrGe arBuyer.cs:line 156 at Styx.Plugins.PluginWrapper.Pulse() ---- due to not having justice points or not having honorpoints.
      Version 1.9 - Fixed an issue with a null error, this was due to code added before to fix when a vendor becomes blacklisted. there is now a button in the ui that allows you to flush the blacklist of the vendor does get blacklisted. target the vendor and click the button, if its in the list it will clear it.
      Version 2.0 - Added back in blacklisting support, now if the vendor it should clear it automatically again without tossing errors. if this doesn't fix the issue then more code will be needed in order to fix the issue.
      Version 2.1 - updated for new Honorbuddy and WoW MoP 5.0.4+ -Compatibility only
      Version 2.2 - Fixed HonorPoint and Justice Point Items Returning As (null) they will now internaly use the proper human names.
      Version 2.3 - Converted Fetching system to use Lua, when pulling items instead of honorbuddys merchant logic. items now pull correctly.
      Version 2.4 - Rewrote buy routine to get past honorbuddys weirdness in relation to buying goods from vendors with hidden items.
      Version 2.5 - Made Automatic Justice / Honor Point Conversion take into account location, - should only work while in stormwind or orgrimmar. - Updated for Season 12!
      Version 2.6 - Added AutoStop if it detects your character is moving after the first pulse of it getting out of a battleground.
      Version 2.7 - Updated to work with the latest version of Honorbuddy with Fixed Vendor API, used enhanced some code provided by RichieSams, Added a New Feature HomePoints. allows you to set a location for your bot to idle at, when it needs to go repair or buy some gear it will go take care of it, and run back to the homepoint to idle. you can set your HomePoint location by clicking the new "Set Current HomePoint Button" once your homepoint is set. this will also stop honorbuddy from running off after coming out of a battleground.
      Version 2.8 - Fixed an oversight in item checking that caused the plugin to keep trying to buy items without the proper amount of currency. fixed some bugs in the Home Point System that allowed it to pulse while inside of a battleground. fixed some other bugs related to how homepoint movement was processed. Added the an option to Equip Main Pieces of Gear after it buys them, adding a entire SET to your buy list and walking away while it does battlegrounds and equips gear as it goes is now a reality. [B]MAKE SURE YOU SET YOUR HOMEPOINT LOCATION AGAIN. EVEN IF IT WAS SET PREVIOUSLY.[/B]​
      Version 2.9 - Re-Arranged the UI, settings are in a completely different tab now. Added more settings including the ability to mount when running to your home point. added 2 new checks for logging out if you ONLY wanted to Logout for HP or JP Caps. Changed how Gear Equipping works, it will now it uses the same code as Auto Equip so its more reliable, Mounting can be turned off in the settings tab if you have issues with it.
      Version 3.0 - Changed HomePoint Coordinates Variables to Floats, this should prevent errors from converting to doubles. changed some of the error messages and logging to make more sense.
      Version 3.1 - Added more fixes for homepoint usage, should work properly after restarting. added flying to homepoint usage, so it will fly to your homepoint if its not able to navigate.
      Added Prefered Repair Vendor, this feature lets you set a repair vendor to use and when honorbuddy needs to repair it will swap whatever one it picks with ours. (not the repair vendor and the homepoint and gear vendor should all be able to path to one another. Added an Internal Vendor Database to keep track and deal with vendors that honrobuddy might not know about. currently it has all Alliance Point Vendors.
      Version 3.2 - Rolled in cultural fixes, added adjustment for honor/justice point conversion, and updated for latest graymagic fix.
      Version 3.3 - Fixed not removing items from the list after buying (bambam922)
      Version 3.3.1 Updated to use Lua.DoString("Logout()");
      
      SVN - bamsdev - Revision 175: /trunk/MrGearBuyer


      Lots of Work goes into making the projects you
      enjoy, please
      [​IMG] to keep my work free.
       

      Attached Files:

      Last edited by a moderator: Mar 23, 2014
      kravitz, Cisem and Ericane like this.
    2. buzzerbeater

      buzzerbeater Well-Known Member

      Joined:
      Mar 21, 2011
      Messages:
      5,419
      Likes Received:
      28
      Trophy Points:
      48
      Good job. ;)

      Lets test again.
       
    3. muffey

      muffey New Member

      Joined:
      Mar 26, 2012
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      When fetching vendor items, all ItemNames are "(null)", making it impossible to see what specific item it is.
      Happens with all vendors.
       
    4. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      you gotta be kidding me?
      can you please post a full log as an attachment please.
       
    5. muffey

      muffey New Member

      Joined:
      Mar 26, 2012
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      I'm unsure how you want me to post a log when I haven't pressed the Start-button on the bot itself yet, only trying to "set up" the Plugin. I hope you understand what I mean.
      If I try setting up the Plugin while the bot is running, HB crashes.
       
    6. muffey

      muffey New Member

      Joined:
      Mar 26, 2012
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Looks like there is a log even though I didn't even press the Start-button, I had no idea.
       

      Attached Files:

    7. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      ill take a look later tonight, or after i wake up, or whatever, uninstall the plugin till a new version comes out.
       
    8. Coldfish

      Coldfish New Member

      Joined:
      Dec 19, 2010
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      1
      When pressing the fetch vender items button, crashes HB. When not having a vendor frame up it displays message as intended thou :) .

      Added a log, thou nothing really intresting there :(
       

      Attached Files:

    9. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      Looking forward to a working update!! :D
       
    10. Harmacintyre

      Harmacintyre New Member

      Joined:
      Aug 21, 2012
      Messages:
      1,092
      Likes Received:
      1
      Trophy Points:
      0
      Any news on this?
       
    11. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      i love the amount of people who downloaded, just to download, and know it doesn't work, but hasn't said shit.
       
    12. Harmacintyre

      Harmacintyre New Member

      Joined:
      Aug 21, 2012
      Messages:
      1,092
      Likes Received:
      1
      Trophy Points:
      0
      was this directed at the people who made a post?
       
    13. Crowley

      Crowley Member

      Joined:
      Jan 15, 2010
      Messages:
      967
      Likes Received:
      20
      Trophy Points:
      18
      If you know it's broke why not just remove the attachment until it's fixed. Then they can't d/l and you don't get pissed off.
       
    14. raptor88

      raptor88 New Member

      Joined:
      Mar 19, 2012
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      0
      Last edited: Sep 13, 2012
    15. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      I believe he means that people who are encountering an issue need to post logs which do help at display the errors, I know that after I view a log it pinpoints where problems are and in-turn I can then proceed to resolve the issue(s), a coder shouldn't be expected to have it fully working out of the box as soon as it's released... you should also be more forthcoming as it's a new patch and plugins are expected to have problems in which the people using the plugin can contribute by posting logs.
       
      Last edited: Sep 13, 2012
    16. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      no, its just i need logs, 90 people have downloaded and i have 3 logs. so ether everyone who downloaded it isn't using it, or they are using it fine without issue (obviously that isnt the case)
       
    17. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      Updated to 2.2 - Turns out honorbuddy needed a fix for item fetching, so that should work now, i havent tested buying, but i dont see why it would be a problem.
      i also fixed the item name on fetching to turn items with the name "(null)" to what they should be, so "honor points" or "Justice Points". if you update honorbuddy and still have 2.1 installed you DONT need to update, and it should work the same.
       
    18. happydado

      happydado New Member

      Joined:
      Mar 20, 2012
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      0
      I have try new version i have fetching item but when bot have buy have buy wrong item.
      The problem is that when my mage open the seller game open only the mage tab and the bot buy wrong item.
       
    19. kennybo15

      kennybo15 Member

      Joined:
      Jul 6, 2011
      Messages:
      91
      Likes Received:
      0
      Trophy Points:
      6
      one thing that i see its doing is the price of items on honor points is wrong so its going to the vendor trying to buy it an cant but in Hb says that it did buy it an removes it from list
       
    20. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      what venders are you going to, and can i get a log from when you fetched the items and added them to your buy list.
       

    Share This Page