Jump to content

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


Vo1k
 Share

Recommended Posts

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

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