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.

How to LUA program only to kill a specific number of mobs then possible log out / close game

Featured Replies

hey all,

I want to create a customer profile to kill some mobs, but i want to kill only a specific number of mobs and for a limit time (if possible) then log out / exit bot or game.

I have create a custom profile to kill the mobs, but i dont know how to update .cs file to kill only a specific number of mobs.

Can anyone help please ? :)

Regards,

NvD

TheCreepingMist.cs

Hello, you can get number of mob kills in "wManager.Statistics.Kills".

The better way is to create plugin. But you can add this code in your custom profile:

            int maxKill = 10;
            if (wManager.Statistics.Kills >= maxKill &&
                Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause &&
                !Conditions.IsAttackedAndCannotIgnore)
            {
                try
                {
                    Memory.WowMemory.Memory.GetProcess().Kill(); // if you want close game
                }
                catch {}
                robotManager.Products.Products.ProductStop();
            }

 

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.