Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Request Plugin] close bot/client after X minutes when character can't reach corpse

Featured Replies

Hey there , someone can give me a favor and write a plugin that close game/bot after a few minutes that bot can't reach to corpse ? for 3.3.5

Hello,

using System.Threading;
using robotManager.Helpful;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : wManager.Plugin.IPlugin
{
    private bool _isStarted;
    public void Initialize()
    {
        _isStarted = true;
        var stopWatch = new System.Diagnostics.Stopwatch();
        while (_isStarted)
        {
            if (Conditions.InGameAndConnectedAndProductStartedNotInPause)
            {
                if (ObjectManager.Me.IsDeadMe && stopWatch.Elapsed.TotalMinutes > 5)
                {
                    Logging.Write("Bot is dead for more than 5 minutes, closing game.");
                    wManager.Wow.Memory.WowMemory.CloseHookedProcess();
                    _isStarted = false;
                }
                else if (ObjectManager.Me.IsDeadMe)
                {
                    stopWatch.Start();
                }
                else
                {
                    stopWatch.Reset();
                }
            }
            Thread.Sleep(500);
        }
    }

    public void Dispose()
    {
        _isStarted = false;
    }

    public void Settings()
    {
    }
}

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.