I have found several occasions where Profession-Buddy's BuyItem method buys random stuff, or buys nothing at all. In this specific profile, it is supposed to buy inks at the ink vendor, with below input - where ink is a variable starting at 0, and NeededGlyphs is a dictionary. Code: Log("Amount of Glyph({0}) ink: {1}", NeededGlyphs.ElementAt(ink).Value.InkId, NeededGlyphs.ElementAt(ink).Value.Amount*3); This is what i get logged: Logged: Amount of Glyph(43126) ink: 6 And what it ends up buying is this: Plain Wooden Staff - Item - World of Warcraft
Thanks for the report. Proffesion buddy is still in development. Include the actual log file though, please.
Addition: I saw that BuyItem had been updated. It still doesn't buy the right thing though. Now it buys the first item the vendor has. At least in my case. Log : View attachment 5128 2012-09-22 16.13.txt I have made several logs in this log, which writes down which itemID it should be buying.
if your still having problems you could open the vender frame manualy and use an Lua dostring to buy the item Code: Lua.DoString("BuyMerchantItem(" + Index + ")"); replace index with the itemslot you want to buy __________ | slot | slot| | 1 | 2 | ----------- |slot | slot| | 3 | 4 | ----------- and so on.