Check http://www.buddyforum.de/showthread.php?8548-eBuy-3.0-Buys-food-drinks-completly-automatically for the new version. What is eBuy? It is a plugin for honor buddy that will buy food and ammo for you. Yes that means no more buying ammo. How to make it work: simply open it up and add this line below the example: Code: new ItemToBuy("Vendor Name",xLocation,yLocation,zLocation,"itemName",stacktobuyat,numbertohave,item#invendor,stacksizesold), replacing of course everything like below Code: new ItemToBuy("Vikki Lonsav",-1272.656,-2533.512,21.38472,"Solid Shot",1000,1200,12, 200), item#invendor is the "index number". For example we have below the vendor where each number is the item (also the index number) _________ | 1 | 2 | | 3 | 4 | | 5 | 6 | | 7 | 8 | fairly easy to understand. You can use it for as many items as you want. YOU MUST make sure the mesh can get to the vendor. If not bad things happen. Be warned - don't over use it (like buying food every 10 minutes). It can get stuck and do nothing. I suggest only using it for things that you can't bot without (ammo). To Do: [li]Add support for multiple vendors selling the same item[/li] [li]Make it so it never gets stuck[/li] Change Log: Code: v2.0 - Released May 2, 2010 - Updated for HB 2.0 v1.1 - Released January 15, 2010 - Will now check to see if you can walk to the vendor before trying - Will no longer get stuck and simply stand there v1.0 - Released December 25, 2009 - Initial Release
Thanks for this! im guessing this question is abit trivial but....how do you get the co'rods of the npc? do you have an updated version with some vendors in it?
To get the vendor location simply select the vendor in game and select it, go to navigation tab in HB and click current target. Then on the navigator log stuff will appear telling you the vendor's location etc.
ok so once i have that i fill out the xml will hb make its way to the buy npc? or does the mesh need to know how to path to it?
You need to modify the .cs file as specified in the post. The mesh also needs to know how to get to the vendor.
so if i was using the 60 - 70 human file that wouldnt find the npc? how do you edit an exsisting mesh file?
First of all, thanks for this nice bit of code. Is there a way to make an xml of some sort called Food.xml to make a list with vendors and the food they have available and let the script choose the closest vendor and buy the appropriate level food and set HonorBuddy's food to that specific one?
Yes it is quite possible - I think I am going to start developing it more once I'm done with what I'm currently working on.
Yeah, i am using Faction Discount addon (it's awesomesauce) .. And i always set it up so when i speak to an innkeeper or just a regular vendor it buys me stuff that i've told it to. My biggest concern is that HB doesn't know when food/water/ammo is running low and it doesn't make use of the different food-vendors specified in the profile.
Can we add multiple lines of vendors? Or will this only work with 1 vendor? If we can add multiple do I just add a new one on each line? Will HB know to use the correct vendor for whatever mesh I'm currently leveling with?
Yes you can use multiple vendors but it will attempt to go to all of the vendors you add... eBuy is on my to-do list.
Could you add some Gossip handle too ? Some Innkeepers dont show the vendor page but you must choose what ... here ebuy doesnt work.
One thing it could do is, by giving just the food name, it would check in a database (wowhead) to see where it can buy that specific food/water, in the same zone. If there wasnt one like that, it would just find another one available in the zone, within the same level range. Ofc the profile would need to have this vendor too.
Problem with eBuy This seems like a great tool, however I cannot get it to work properly. I have tried all the standard recommendation (remove all addons/plugins, reinstall HB, clear WoW cache, etc). I have read everything I can on the forums regarding this plugin, searched for similar issues in other plugins and scanned my log files extensively, but cannot find a solution. I did add the following line to eBuy.cs, as per the instructions. new ItemToBuy("Caregiver Poallu",3003.715,4052.131,26.36842, "Fillet of Icefin",10,100,5, 5), but it keeps throwing an exception on line 40. Please help.