Jump to content

how to stop bot when Game master Mind Vision check ?


Vo1k
 Share

Recommended Posts

  • 1 month later...

hello help me.  what me to do with this code ??   Mind Vision check  its serius danger to get banned !!   

If (ObjectManager.Me.HaveBuff("Mind Vision"))
    Products.InPause = true;

Link to comment
Share on other sites

Hello, this should work as a plugin .cs file.

using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.ObjectManager;
using System.Threading;
public class Main : IPlugin
{
	bool running;

	public void Initialize()
	{
		running = true;

		if(ObjectManager.Me.HaveBuff("Mind Vision"))
		{
			Products.InPause = true;
		}
		Thread.Sleep(500);
	}

	public void Dispose()
	{
		running = false;
	}

	public void Settings()
	{
		
	}
}

 

Link to comment
Share on other sites

  • 4 weeks later...

i get another plugin  and  modify him     working !! 

using System;
using System.Threading;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using Timer = robotManager.Helpful.Timer;

public class Main : IPlugin
{
    private bool _isLaunched;

    public void Initialize()
    {
        _isLaunched = true;
        var t = new Timer(1000 * 1); // 1 sec
        while (_isLaunched && Products.IsStarted)
        {
            try
            {
                if (t.IsReady &&
                    Conditions.InGameAndConnectedAndProductStartedNotInPause)
                {
                    t.Reset();
                    if(ObjectManager.Me.HaveBuff("Mind Vision"))
                    {
                        Products.ProductStop(); // or close: Environment.Exit(0);
                        Logging.Write("Mind vision.");
                    }
                }
            }
            catch (Exception e)
            {
                Logging.WriteError("[Mind vision]: " + e);
            }
            Thread.Sleep(150);
        }
    }

    public void Dispose()
    {
        _isLaunched = false;
    }

    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...