slk 19 Posted Thursday at 07:54 PM Share Posted Thursday at 07:54 PM Hello guys! Is it possible to config battlegrounder / relogger for: closing wow client after Battleground finish and then re-launch wow, log back in again and q for the next one? i'm stuck at the closing wow client after finishing battleground. and i dont see any triggers i could stick to for this. ready to pay if someone has the solution lol Link to comment https://wrobot.eu/forums/topic/16225-auto-reconnect-after-finishing-bg-335a/ Share on other sites More sharing options...
Pudge 25 Posted Friday at 08:06 AM Share Posted Friday at 08:06 AM Can you do this through a relogger? u can use plugin like this: using System; using System.Threading; using robotManager.Helpful; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { private bool _isLaunched; public void Initialize() { _isLaunched = true; Logging.Write("Waiting for Battleground"); while (!Battleground.IsInBattleground()) { Thread.Sleep(1000); } Logging.Write("Join Battleground, wait for the end"); while (Battleground.IsInBattleground()) { Thread.Sleep(1000); } Logging.Write("end of battleground - kill wow"); for (int i = 10; i >= 1; i--) { Logging.Write(i.ToString()); Thread.Sleep(1000); } Logging.Write("kill wow"); wManager.Wow.Memory.WowMemory.Memory.GetProcess().Kill(); } public void Dispose() { _isLaunched = false; // Code to run when the bot is stopped } public void Settings() { // Code to run when someone clicks the plugin settings button } } after killing wow relogger will automaticly relauch your wow and bot slk 1 Link to comment https://wrobot.eu/forums/topic/16225-auto-reconnect-after-finishing-bg-335a/#findComment-70903 Share on other sites More sharing options...
slk 19 Posted Friday at 02:11 PM Author Share Posted Friday at 02:11 PM 5 hours ago, Pudge said: Can you do this through a relogger? u can use plugin like this: using System; using System.Threading; using robotManager.Helpful; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { private bool _isLaunched; public void Initialize() { _isLaunched = true; Logging.Write("Waiting for Battleground"); while (!Battleground.IsInBattleground()) { Thread.Sleep(1000); } Logging.Write("Join Battleground, wait for the end"); while (Battleground.IsInBattleground()) { Thread.Sleep(1000); } Logging.Write("end of battleground - kill wow"); for (int i = 10; i >= 1; i--) { Logging.Write(i.ToString()); Thread.Sleep(1000); } Logging.Write("kill wow"); wManager.Wow.Memory.WowMemory.Memory.GetProcess().Kill(); } public void Dispose() { _isLaunched = false; // Code to run when the bot is stopped } public void Settings() { // Code to run when someone clicks the plugin settings button } } after killing wow relogger will automaticly relauch your wow and bot Exactly with the relogger! 1. So this plugin is to be used in WRobot right? 2. How does WRobot detects end of the battleground? Link to comment https://wrobot.eu/forums/topic/16225-auto-reconnect-after-finishing-bg-335a/#findComment-70904 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now