Nosferatuepic 2 Posted September 28, 2018 Share Posted September 28, 2018 Sup Boyz, how i can training sword skills in quest profile? Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/ Share on other sites More sharing options...
naviomg 4 Posted September 29, 2018 Share Posted September 29, 2018 wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcid); Lua.LuaDoString("GossipTitleButton1:Click();"); Lua.LuaDoString("ClassTrainerSkill1:Click();"); run this as RunCode Matenia 1 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48086 Share on other sites More sharing options...
Nosferatuepic 2 Posted September 30, 2018 Author Share Posted September 30, 2018 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? Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48094 Share on other sites More sharing options...
Nosferatuepic 2 Posted October 1, 2018 Author Share Posted October 1, 2018 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();"); Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48132 Share on other sites More sharing options...
Jensen- 25 Posted October 1, 2018 Share Posted October 1, 2018 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 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48134 Share on other sites More sharing options...
Nosferatuepic 2 Posted October 1, 2018 Author Share Posted October 1, 2018 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 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48135 Share on other sites More sharing options...
Andoido 75 Posted October 3, 2018 Share Posted October 3, 2018 (edited) 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, 2018 by Andoido Nosferatuepic and Matenia 2 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48227 Share on other sites More sharing options...
Nosferatuepic 2 Posted October 4, 2018 Author Share Posted October 4, 2018 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(); ? Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48246 Share on other sites More sharing options...
Andoido 75 Posted October 4, 2018 Share Posted October 4, 2018 Yes this looks correct. Nosferatuepic 1 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48248 Share on other sites More sharing options...
Andoido 75 Posted October 4, 2018 Share Posted October 4, 2018 (edited) 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, 2018 by Andoido Nosferatuepic 1 Link to comment https://wrobot.eu/forums/topic/10184-traning-weapon/#findComment-48250 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