Arcangelo 105 Posted September 16, 2016 Share Posted September 16, 2016 Hi i want to know how i can get the bot to buy a specific item from a vendor: The vendor: <Npc> <Entry>1247</Entry> <Name>Innkeeper Belm</Name> <Vector3 X="-5601.6" Y="-531.203" Z="399.6539" Type="None" /> <Faction>Alliance</Faction> <Type>None</Type> <ContinentId>Azeroth</ContinentId> </Npc> The item: Rhapsody Malt : 2894 Link to comment https://wrobot.eu/forums/topic/3858-buy-a-specific-item-from-a-specific-vendor/ Share on other sites More sharing options...
Droidz 2738 Posted September 16, 2016 Share Posted September 16, 2016 Hello, use quest type "Override Pulse CSharp Code" with code: var npc = new Npc { Entry = 1247, Position = new Vector3(-5601.6, -531.203, 399.6539), Type = Npc.NpcType.Vendor }; int itemId = 2894; if (GoToTask.ToPositionAndIntecractWith(npc)) { Vendor.BuyItem(ItemsManager.GetNameById(itemId), 1); } return true; Link to comment https://wrobot.eu/forums/topic/3858-buy-a-specific-item-from-a-specific-vendor/#findComment-17999 Share on other sites More sharing options...
Arcangelo 105 Posted September 16, 2016 Author Share Posted September 16, 2016 Will try it out - thanks ! Link to comment https://wrobot.eu/forums/topic/3858-buy-a-specific-item-from-a-specific-vendor/#findComment-18000 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now