Jump to content

how to stop bot when Game master teleport my character to another place in curent location ?


Vo1k

Recommended Posts

how to stop bot when Game master teleport my character to another place in curent location ?

it's serious danger to get banned(

 

Link to comment
Share on other sites

when game master teleport my character i get load or reload screen
maybe possible detect this and stop bot ? 

it's serious danger to get banned(

 

unnamed -.png

Link to comment
Share on other sites

If you have loading screen it is not few yards teleport, WRobot will detect and close bot (if option is not disabled by you or profile and if you use recent wrobot version)

Link to comment
Share on other sites

found plugin by Droidz.   few yards teleport protection.  its the best !

but i don't understand how propertly configure   this very strange parameter - private const double MaxYardPerSecond = 200;

using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using Timer = robotManager.Helpful.Timer;

public class Main : wManager.Plugin.IPlugin
{
    private const double MaxYardPerSecond = 200;
    private const int PauseTimeSecond = 5560 * 3;
    private bool _running;

    public void Initialize()
    {
        Logging.Write("[TPpause] Loadded.");
        _running = true;
        var lastPos = ObjectManager.Me.Position;
        var t = new Stopwatch();
        t.Start();

        while (_running && Products.IsStarted)
        {
            try
            {
                if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause &&
                    !Conditions.IsAttackedAndCannotIgnore)
                {
                    if (ObjectManager.Me.Position.DistanceTo(lastPos) >
                        MaxYardPerSecond * ((double)t.ElapsedMilliseconds / 1000))
                    {
                        try
                        {
                            Products.InPause = true;
                            Logging.Write("[TPpause] TP detected, pause bot for " + PauseTimeSecond + " seconds.");
                            var pauseTimer = new Timer(PauseTimeSecond * 1000);
                            while (Conditions.InGameAndConnectedAndProductStarted)
                            {
                                if (pauseTimer.IsReady)
                                    break;

                                if (Conditions.IsAttackedAndCannotIgnore)
                                    break;

                                Thread.Sleep(50);
                            }
                        }
                        catch { }
                        finally
                        {
                            Products.InPause = false;
                        }
                    }
                }
                lastPos = ObjectManager.Me.Position;
                t.Restart();
            }
            catch {}
            Thread.Sleep(20);
        }

    }

    public void Dispose()
    {
        _running = false;
        Logging.Write("[TPpause] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[TPpause] No settings for this plugin.");
    }
}

 

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