ishowme888 1 Posted April 17, 2019 Share Posted April 17, 2019 I recorded a mission mode dungeon script. The first time I followed my recording to find a way, the second time I didn't follow my recording path. Restarting wrobot can solve this problem, I want to know where I am wrong. Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/ Share on other sites More sharing options...
Droidz 2738 Posted April 17, 2019 Share Posted April 17, 2019 Hello, use step type reset (to reset your follow path quest before to run it again) Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-52856 Share on other sites More sharing options...
ishowme888 1 Posted April 17, 2019 Author Share Posted April 17, 2019 7分钟前,Droidz说: 您好,使用步骤类型重置(重置之前重置您的跟随路径任务) Thank you for your reply. I am a novice. How should I reset it? Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-52858 Share on other sites More sharing options...
ishowme888 1 Posted April 17, 2019 Author Share Posted April 17, 2019 Already done, thank you Droidz 1 Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-52861 Share on other sites More sharing options...
79135 4 Posted February 26, 2020 Share Posted February 26, 2020 On 4/17/2019 at 4:33 PM, Droidz said: Hello, use step type reset (to reset your follow path quest before to run it again) How can i callout the command with C#? Write the code please. Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56920 Share on other sites More sharing options...
Droidz 2738 Posted February 27, 2020 Share Posted February 27, 2020 call method Reset() of the quest class Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56928 Share on other sites More sharing options...
79135 4 Posted March 3, 2020 Share Posted March 3, 2020 On 2/27/2020 at 3:12 PM, Droidz said: call method Reset() of the quest class I badly understand, plaese write it IN DETAIL like: var p = Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile; if (p != null) { for (int i = 0; i < p.QuestsSorted.Count; i++) { if (p.QuestsSorted.Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted.NameClass == stepName) { Quest.QuesterCurrentContext.CurrentStep = i; break; } } } I've the step TEST type Follow Path. In the Steps, Action list: [0] Pulse > TEST [1] RunCode > here need the code for reset TEST step Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56980 Share on other sites More sharing options...
Droidz 2738 Posted March 3, 2020 Share Posted March 3, 2020 use code like wManager.Wow.Class.QuestClass quest; var r = wManager.Wow.Helpers.Quest.QuesterCurrentContext.QuestsClasses.TryGetValue("TEST", out quest); if (r && quest != null) { quest.Reset(); } (replace TEST by name of you quest) But it is more easy to use "Reset" in quest order editor Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56982 Share on other sites More sharing options...
79135 4 Posted March 3, 2020 Share Posted March 3, 2020 5 hours ago, Droidz said: use code like wManager.Wow.Class.QuestClass quest; var r = wManager.Wow.Helpers.Quest.QuesterCurrentContext.QuestsClasses.TryGetValue("TEST", out quest); if (r && quest != null) { quest.Reset(); } (replace TEST by name of you quest) But it is more easy to use "Reset" in quest order editor Thanks. I think what the code help to me, but dont.. I use it: EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == wManager.Wow.Enums.LuaEventsId.PLAYER_DEAD) robotManager.Products.Products.ProductRestart(); }; Sometimes happens next: [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it I tried use next code: robotManager.Events.LoggingEvents.OnAddLog += delegate(robotManager.Helpful.Logging.Log log) { if (log != null) { if (log.Text.Contains("[FSM] State wManager.Wow.Bot.States.Idle already launched, ignore i")) Lua.LuaDoString("ForceQuit()");//close wow } }; But dont help. How to restart a bot if this error appears? Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56987 Share on other sites More sharing options...
Droidz 2738 Posted March 3, 2020 Share Posted March 3, 2020 To close wow process use wManager.Wow.Memory.WowMemory.Memory.GetProcess().Kill(); Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56988 Share on other sites More sharing options...
79135 4 Posted March 3, 2020 Share Posted March 3, 2020 I mean How will bot to know what happens this: [D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.MovementLoop already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Grinding already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.[D] 15:59:29.555 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it the main thing here is to clarify to the bot that this error occurred and after that close the game Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-56989 Share on other sites More sharing options...
lynx9999 0 Posted May 27, 2023 Share Posted May 27, 2023 On 4/17/2019 at 11:02 PM, ishowme888 said: Already done, thank you Hi there, it has been so many years, I don't trust hope that you might still see this reply, but how did you fix it? I have the exactly same problem, using gatherer profile. what action code did you put in the last line to reset the waypoints? thx Link to comment https://wrobot.eu/forums/topic/11081-dungeon-path-finding-problem/#findComment-68295 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