February 3, 20179 yr So i made a big profile to farm a dungeon. It works great till my character dies at some point of the dungeon, then character is at the start of the dungeon. But bot wont reset to 1st step, but instead will try to go to lets say step 10 path, and will run into the wall, since its a big dungeon. Any idea how to make him reset the profile to step 1 if he dies? Log for ex, after death he continues with next step, what i want is him to start from step 1 instead, same thing when he disconnects and reconnect. [D] 08:57:25 - [Quester] RunCode[46]: xxx [F] 08:57:28 - [Spell] Cast (onself) Swiftmend (Swiftmend) 08:57:28 - [Fight] Player Attacked by [F] 08:57:29 - [Spell] Cast Bear Form (Bear Form) [F] 08:57:32 - [Spell] Cast Thrash (Thrash) [F] 08:57:34 - [Spell] Cast (onself) Rejuvenation (Rejuvenation) [F] 08:57:35 - [Spell] Cast (onself) Regrowth (Regrowth) [F] 08:57:37 - [Spell] Cast Bear Form (Bear Form) [D] 08:57:38 - [Fight] Fight stopped 08:57:38 - [Resurrect] Player dead [F] 08:57:38 - [Spell] Cast Cat Form (Cat Form) [F] 08:57:40 - [Spell] Cast (onself) Rejuvenation (Rejuvenation) [F] 08:57:42 - [Spell] Cast Cat Form (Cat Form) 08:57:46 - [Resurrect] Player retrieve corpse [D] 08:57:49 - [Quester] If[47] [D] 08:57:49 - [Quester] RunCode[51]: [D] 08:57:53 - [Quester] New step (52): GoTo10th>Pulse Since my profile is in a big while true loop, i thought maybe its possible to do smth like this: <QuestsSorted Action="While" NameClass="Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause" /> Is it possible? But i would need "else go to step 1" i think? and there is no else action avalible? @Droidz
February 3, 20179 yr Hello, I cannot help you without your profile, but you can try to run this code when your profile start (one time): robotManager.Events.LoggingEvents.OnAddLog += delegate(robotManager.Helpful.Logging.Log log) { if (log != null && log.Text.Contains("[Resurrect] Player retrieve corpse")) { new System.Threading.Thread(() => robotManager.Products.Products.ProductRestart()).Start(); } }; (this code stop/start quester when you retrieve your corpse)
December 25, 20196 yr Or: EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == wManager.Wow.Enums.LuaEventsId.PLAYER_DEAD) { Lua.LuaDoString("StaticPopup1Button1:Click();"); robotManager.Products.Products.ProductRestart(); } };
Create an account or sign in to comment