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.

Add Events in WRobot code

  • Version: All
  • Product: Developers
  • Type: Suggestion
  • Status: Added

Add Events and cancelable Events in WRobot code to give more opportunity to the plugin (to hook existing WRobot method).

User Feedback

Recommended Comments

BetterSister

Elite user

Any plans on this? Especially i'm in need of event system for handling death differently

Hello,

I have start to add events, now you can hook fight class like:

        wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
        {
            if (!unit.IsValid)
                return;
            if (unit.GetDistance2D - unit.CombatReach < 10 && unit.GetDistance - unit.CombatReach < 15)
            {
                if (unit.IsStunned || unit.Root || unit.Confused || unit.HaveBuff("Concussive Shot"))
                    Move.Backward(Move.MoveAction.PressKey, 1000 * 3);
            }
        };

(you need to wait next update).

If you need events/hooks for specific WRobot method, do not hesitate to tell me.

camelot10

Elite user
4 hours ago, Droidz said:

Hello,

I have start to add events, now you can hook fight class like:


        wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) =>
        {
            if (!unit.IsValid)
                return;
            if (unit.GetDistance2D - unit.CombatReach < 10 && unit.GetDistance - unit.CombatReach < 15)
            {
                if (unit.IsStunned || unit.Root || unit.Confused || unit.HaveBuff("Concussive Shot"))
                    Move.Backward(Move.MoveAction.PressKey, 1000 * 3);
            }
        };

(you need to wait next update).

If you need events/hooks for specific WRobot method, do not hesitate to tell me.

can i use this code in quester? events cleared when bot start/stop ? or i should unsubscribe ?

can you give some advice how manage aoe effects? move outside 

19 hours ago, camelot10 said:

can i use this code in quester? events cleared when bot start/stop ? or i should unsubscribe ?

can you give some advice how manage aoe effects? move outside 

Yes you can use this in quester, yes events are auto cleared when bot is stopped (to avoid problems). I'll writte small guide after release (with WRobot for wow 7.1).

BetterSister

Elite user

:wub:

This makes me want to return to making profiles

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.