So i got trainers to work but problem is after i hit the lvl i want i tell it to go to trainer using wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(9517.421f, -6871.368f, 18.61072f), 16275, -1, false);
There is 99% chance it gets attacked while walking there. After it finishes fighting it skips right over the step it just was working on. Copy from logs:
16:40:37 - Level UP! Reload Fight Class.
16:40:38 - [Looting] Loot Plaguebone Pillager
[D] 16:40:40 - [Quester] If[35] (ObjectManager.Me.WowClass == WoWClass.Paladin) | Result: True
[D] 16:40:41 - [Quester] RunCode[36]: wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(9517.421f, -6871.368f, 18.61072f), 16275, -1, false);
16:40:50 - [Fight] Player Attacked by Plaguebone Pillager (lvl 6)
16:41:10 - [ToTown] Go to vendor Vara (Repair)
16:41:38 - [ToTown] Vendor found Vara
16:41:38 - [ToTown] Repair items
16:41:39 - [ToTown] Sell items (try 1)
16:41:47 - [ToTown] Sell items (try 2)
[D] 16:41:56 - [Quester] Wait[37]: 5000 ms
[D] 16:42:01 - [Quester] RunCode[38]: wManager.Wow.Helpers.Lua.RunMacroText("/script SelectGossipOption(1)");
[D] 16:42:01 - [Quester] Wait[39]: 5000 ms
[D] 16:42:06 - [Quester] RunLuaCode[40]: LoadAddOn"Blizzard_TrainerUI" f=ClassTrainerTrainButton f.e = 0 if f:GetScript"OnUpdate" then f:SetScript("OnUpdate", nil)else f:SetScript("OnUpdate", function(f,e) f.e=f.e+e if f.e>.01 then f.e=0 f:Click() end end)end
[D] 16:42:06 - [Quester] Wait[41]: 5000 ms
[D] 16:42:12 - [Quester] New step (43): filler8>Pulse
Edited by betterSister
Recommended Comments
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