May 13, 20205 yr how to stop bot when Game master modify my character speed ? this possible attack vector and very dangerous to get banned !
May 13, 20205 yr Hello, it is hard to check speed (can change with spell or mount) 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.SpeedMoving > 0 && ObjectManager.Me.SpeedMoving < 5) { Products.ProductStop(); // or close: Environment.Exit(0); Logging.Write("Strange speed, stop bot."); } } } catch (Exception e) { Logging.WriteError("[speed change]: " + e); } Thread.Sleep(150); } } public void Dispose() { _isLaunched = false; } public void Settings() { } } Line 26 change your normal speed range.
Create an account or sign in to comment