September 29, 20187 yr wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid); Lua.LuaDoString("GossipTitleButton1:Click();"); Lua.LuaDoString("ClassTrainerSkill1:Click();"); run this as RunCode
September 30, 20187 yr Author 12 hours ago, naviomg said: wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid); Lua.LuaDoString("GossipTitleButton1:Click();"); Lua.LuaDoString("ClassTrainerSkill1:Click();"); run this as RunCode Thank you, with this code he learn all skills from trainer right?
October 1, 20187 yr Author On 9/30/2018 at 1:08 AM, naviomg said: wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid); Lua.LuaDoString("GossipTitleButton1:Click();"); Lua.LuaDoString("ClassTrainerSkill1:Click();"); run this as RunCode dont work wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(-8796.12f, 613.003f, 96.77357f,11867); Lua.LuaDoString("GossipTitleButton1:Click();"); Lua.LuaDoString("ClassTrainerSkill1:Click();");
October 1, 20187 yr if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new robotManager.Helpful.Vector3(-1150.26, 52.8149, 144.8369), 7089)) // replace 1, 2, 3 by position, and 12345 by npc entry id { wManager.Wow.Helpers.Usefuls.SelectGossipOption(wManager.Wow.Enums.GossipOptionsType.trainer); wManager.Wow.Helpers.Trainer.TrainingSpell(); } use this change cords and npc id
October 1, 20187 yr Author 1 minute ago, Jensen- said: if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new robotManager.Helpful.Vector3(-1150.26, 52.8149, 144.8369), 7089)) // replace 1, 2, 3 by position, and 12345 by npc entry id { wManager.Wow.Helpers.Usefuls.SelectGossipOption(wManager.Wow.Enums.GossipOptionsType.trainer); wManager.Wow.Helpers.Trainer.TrainingSpell(); } use this change cords and npc id As Runcode? I use easy quest editor
October 3, 20187 yr This was my code i used in my Gnome profile. It basically spams the train button, as there is usually 3-4 things that need training on some classes. What your seeing is a Double Redundancy. The bot will go to Position, click trainer, spam the staticpopupbutton1 4x. Then he will redo it using a different code. I found this to be more efficient, in case the bot skips a step. <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 10 && ObjectManager.Me.Level <=13 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Stormwind City")" /> <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(-8796.12f, 613.003f, 96.77357f); int npcEntryId = 11867; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8796.12f, 613.003f, 96.77357f), 11867);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("ClassTrainerTrainButton:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="EndIf" NameClass="" /> Edited October 3, 20187 yr by Andoido
October 4, 20187 yr Author 15 hours ago, Andoido said: This was my code i used in my Gnome profile. It basically spams the train button, as there is usually 3-4 things that need training on some classes. What your seeing is a Double Redundancy. The bot will go to Position, click trainer, spam the staticpopupbutton1 4x. Then he will redo it using a different code. I found this to be more efficient, in case the bot skips a step. <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 10 && ObjectManager.Me.Level <=13 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Stormwind City")" /> <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(-8796.12f, 613.003f, 96.77357f); int npcEntryId = 11867; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8796.12f, 613.003f, 96.77357f), 11867);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("ClassTrainerTrainButton:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup1Button1:Click();");" /> <QuestsSorted Action="EndIf" NameClass="" /> thanks, if 1 button crossbow, 2 button swords i need only swords, then Lua.LuaDoString("StaticPopup1Button2:Click(); ?
October 4, 20187 yr This actually looks more correct.. staticpopup 2, button 1 =- train button. <QuestsSorted Action="If" NameClass="ObjectManager.Me.Level >= 10 && ObjectManager.Me.Level <=13 && (wManager.Wow.Helpers.Usefuls.MapZoneName == "Stormwind City")" /> <QuestsSorted Action="RunCode" NameClass="var position = new Vector3(-8796.12f, 613.003f, 96.77357f); int npcEntryId = 11867; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup2Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup2Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup2Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup2Button1:Click();");" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8796.12f, 613.003f, 96.77357f), 11867);" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("GossipTitleButton1:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("ClassTrainerTrainButton:Click();");" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunCode" NameClass="Lua.LuaDoString("StaticPopup2Button1:Click();");" /> Edited October 4, 20187 yr by Andoido
Create an account or sign in to comment