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.

Change skillname (Rename) Fishing Bot

Featured Replies

In vanilla the previous plugin will not work.

You can try :
 

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

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        Logging.Write("CastSpellByName to /cast plugin loaded.");
        robotManager.Events.Events.OnCustomEvent += OnEventsOnOnCustomEvent;
    }

    private void OnEventsOnOnCustomEvent(string name, object[] args, System.ComponentModel.CancelEventArgs cancelable)
    {
        if (name.StartsWith("Spell.Launch") &&
            args.Length >= 1 &&
            args[0] is Spell)
        {
            Spell spellName = args[0] as Spell;

            if (spellName != null){
                
                string luaUnit = null;
                bool stopMove = false;
                bool waitIsCast = false;
                if (args.Length >= 5 &&
                    args[4] is string &&
                    args[2] is bool &&
                    args[1] is bool)
                {
                    stopMove = (bool)args[1];
                    waitIsCast = (bool)args[2];
                    luaUnit = args[4] as string;
                }

                cancelable.Cancel = true;

                if (stopMove)
                {
                    if (ObjectManager.Me.GetMove)
                        MovementManager.StopMoveTo(true, 1000);
                    if (ObjectManager.Me.GetMove)
                        Thread.Sleep(10);
                }
                
                if (!string.IsNullOrWhiteSpace(luaUnit) && luaUnit != "player" && luaUnit != "none")
                {
                    Logging.WriteDebug("Casting " + spellName + " on " + luaUnit + " with macro /cast");
                    wManager.Wow.Helpers.Lua.RunMacroText("/cast [@" + luaUnit + "] " + spellName);
                }
                else
                {
                    Logging.WriteDebug("Casting " + spellName + " with macro /cast");
                    wManager.Wow.Helpers.Lua.RunMacroText("/cast " + spellName);
                }
                
                
                if (waitIsCast)
                    Thread.Sleep((int)(Usefuls.Latency * 0.9));
                else
                    Thread.Sleep(10);

                while (waitIsCast && ObjectManager.Me.IsCast)
                {
                    Thread.Sleep(1);
                }
            }
        }
    }

    public void Dispose()
    {
        robotManager.Events.Events.OnCustomEvent -= OnEventsOnOnCustomEvent;
    }

    public void Settings()
    {
    }
}

 

Main.cs

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.