Miragex01 0 Posted April 16, 2019 Share Posted April 16, 2019 I apologize if I duplicate, trying to seek help,tell me how to get a character to buy common things from a weapon / armor seller. Is it possible to create checkpoints in the quester profile? of things, if missing # lvl then buy Link to comment https://wrobot.eu/forums/topic/11076-quests-and-buy-equip/ Share on other sites More sharing options...
TheSmokie 242 Posted April 16, 2019 Share Posted April 16, 2019 Hello, use quest type "Override Pulse CSharp Code" with code: var npc = new Npc { Entry = 1247, // Npc ID Position = new Vector3(-5601.6, -531.203, 399.6539), Type = Npc.NpcType.Vendor }; int itemId = 2894; // Item ID if (GoToTask.ToPositionAndIntecractWith(npc)) { Vendor.BuyItem(ItemsManager.GetNameById(itemId), 1); } return true; also for runcode action use this . if (ObjectManager.Me.WowClass == WoWClass.class && ObjectManager.Me.Level <= 0) // change "Class" to what class you are. set level to level you want to get item at. { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NpcID, 1, false); System.Threading.Thread.Sleep(5000); wManager.Wow.Helpers.Vendor.BuyItem("Skinning Knife",1); // change Skinning Knife to what item you want. do not remove "" System.Threading.Thread.Sleep(5000); } if (ItemsManager.HasItemById(3108)) // change 3108 to the item id { ItemsManager.UseItem(3108); // change 3108 to the item id } Miragex01 1 Link to comment https://wrobot.eu/forums/topic/11076-quests-and-buy-equip/#findComment-52843 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