Hello, I have the following Problem´and only when i mine Fire Crystals and Shards? After i Start the bot and go afk. I return and see that my character was killed, even thought there is no Monster near my area wo would attack me. Now i want to know if there is a stealth plugin or a System for reviving and returning to the map of current work??
add: <RunCode Name="Dismount" /> <WaitTimer WaitTime="3" /> <RunCode Name="UseStealth" /> <WaitTimer WaitTime="3" /> <RunCode Name="DisableMount" />
As kagamihiiragi17 said, that alone isn't enough, you need to have the CodeChunk too. But also, remove those unnecessary WaitTimers too, they can be added to the UseStealth CodeChunk. Like this: Code: <RunCode Name="UseStealth"/> <RunCode Name="DisableMount"/> Using these CodeChunks: Code: <CodeChunk Name="UseStealth"> <![CDATA[ if(Core.Player.IsMounted) { ff14bot.Managers.Actionmanager.Dismount(); await Buddy.Coroutines.Coroutine.Sleep(1500); } SpellData data; if (!Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me)) { Actionmanager.DoAction("Stealth", Core.Me); await Buddy.Coroutines.Coroutine.Sleep(500); } ]]> </CodeChunk> Code: <CodeChunk Name="DisableMount"> <![CDATA[ ff14bot.Settings.CharacterSettings.Instance.UseMount = false; await Buddy.Coroutines.Coroutine.Sleep(500); ]]> </CodeChunk>