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 to keep my work free.