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.

Adding Alterac Valley to ignored Battleground (leavebg.cs)

Featured Replies

As title says, I don't know much about C language (or what is supposed to be), what string should I modify to include Alterac Valley to blacklisted bg? I get massreported everytime because the bot keep ressing in front of the zerg zone, giving free points to the opposite faction (with multiboxer, premades..), so yea I don't want this battleground anymore, just like SoTa and IoC.

Here is where to modifiy, I think:

 

 if (cId == (int) ContinentId.NorthrendBG || cId == (int) ContinentId.IsleofConquest) // NorthrendBG = StrandoftheAncients 
                    {
                        Lua.LuaDoString("LeaveBattlefield()");
                        Thread.Sleep(150);
                    }

 

  • Author

Fixed

 

 if (cId == (int) ContinentId.NorthrendBG || cId == (int) ContinentId.IsleofConquest || cId == (int) 

ContinentId.PVPZone01) // NorthrendBG = StrandoftheAncients 

 

2 hours ago, scripterx said:

Ok now I really need your help, is it possible to add a timer? I mean:

"if time (clock) is past 10 am and before 1 am > then> leave alterac valley"

Not tested:

            if (DateTime.Now.Hour > 10 || DateTime.Now.Hour < 13)
            {
                // Leave
            }

 

  • 1 month later...
  • Author

I just had a better idea: is it possible to create (or implement in leave sota-ioc.cs) a function that automatically leaves alterac valley when our resources are 200 less than other team? (means they already killed the mini boss+they are farming us, multiboxer, premades..and so on)

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.