March 21, 20179 yr 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); }
March 21, 20179 yr Author Fixed if (cId == (int) ContinentId.NorthrendBG || cId == (int) ContinentId.IsleofConquest || cId == (int) ContinentId.PVPZone01) // NorthrendBG = StrandoftheAncients
March 22, 20179 yr Author 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"
March 22, 20179 yr 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 }
March 22, 20179 yr Author I will test it asap, thanks, appreciated!By the way I asked for 1 am, isn't "13" = 1 PM?
April 29, 20179 yr 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