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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...