May 26, 20196 yr How to talk to Inkeeper to buy an item from me? He has: 1.Make this inn your home 2.Let me browse your goods 3.What can i do at an inn? How to choose 2? and after buy the item
May 26, 20196 yr Author 1 minute ago, The Smokie. said: thanks, but, there is no solution to my problem, he comes into the choice of dialogue and nothing -_-
May 26, 20196 yr { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), 11901, 2, false); // 2 is gosip with the 2nd option, Thread.Sleep(10); Lua.LuaDoString<int>("BuyMerchantItem(ItemID, Amount#)"); }
May 26, 20196 yr you can add conditions. ObjectManager.Me.GetMoneyCopper == 0 // Copper amount ObjectManager.Me.IsIndoors // inside var zone = Lua.LuaDoString<string>("return GetZoneText()"); zone == "Stormwind City" // city / zone area
May 26, 20196 yr Author 4 minutes ago, The Smokie. said: u speak me? he is interact npc and dont buy item because SELCT WINDOW THIS IS NPC 1.Make this inn your home 2.Let me browse your goods 3.What can i do at an inn? if the NPC was the only vendor code worked
May 26, 20196 yr Author 2 minutes ago, The Smokie. said: you can add conditions. ObjectManager.Me.GetMoneyCopper == 0 // Copper amount ObjectManager.Me.IsIndoors // inside var zone = Lua.LuaDoString<string>("return GetZoneText()"); zone == "Stormwind City" // city / zone area u dont speak my problem.... He is dont buy item because hi is npc = INKEEPER!!!!! need code : which after inrtecat will choose: 2.Let me browse your goods
May 26, 20196 yr Author 1 minute ago, The Smokie. said: updated the code up ? sorry in my situation, your code does not work as I need
May 26, 20196 yr Author 1 minute ago, The Smokie. said: What patch you need for? what item you wanna buy? WOTLK, u speak me??? NPC = INKEEPER, after intecat he is gives such a window. Need choise "Let me browse you goods."
May 26, 20196 yr wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NPC, 2, false); Lua.LuaDoString<int>("BuyMerchantItem(1, 1)"); This will work (Tested)
May 26, 20196 yr Author 47 minutes ago, The Smokie. said: wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NPC, 2, false); Lua.LuaDoString<int>("BuyMerchantItem(1, 1)"); This will work (Tested) Thank you so much, very helpful
Create an account or sign in to comment