Jump to content

Ressurection - Why the instant release to ghost?


Recommended Posts

Why does my bot always wanting to release the instant it dies. To make this more "human" like, there should be an option where you can chose when it should release (Like in fishing, when the bot recast fishing again, since otherwise you know something is up).

Is there already a profile for this or a plug in, let me know. Would appreciate it!

Link to comment
Share on other sites

Hello,

Use this plugin: ResurrectDelay.cs

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        robotManager.Events.FiniteStateMachineEvents.OnRunState +=
            delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable)
            {
                if (state is wManager.Wow.Bot.States.Resurrect)
                {
                    System.Threading.Thread.Sleep(robotManager.Helpful.Others.Random(1000, 10000));
                }
            };
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...