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.
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
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);
Logged: Amount of Glyph(43126) ink: 6
And what it ends up buying is this: Plain Wooden Staff - Item - World of Warcraft