sowelu 1 Posted October 25, 2017 Share Posted October 25, 2017 Is there possible somehow force disconnect and then login again? I googled for a while, network classes is too complicated for me unfortunately Link to comment https://wrobot.eu/forums/topic/7480-avoid-logout-by-disconnect/ Share on other sites More sharing options...
Matenia 628 Posted October 25, 2017 Share Posted October 25, 2017 Lua.LuaDoString("Logout();"); Thread.Sleep(3 * 60 * 1000); Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape); Maybe that works. I guess it should. Might have to call Keyboard.PressKey on new thread. Such as private static async void TurnSpiritRezzOff() { await Task.Delay(30000); await Task.Run(() => { Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape); }); } Link to comment https://wrobot.eu/forums/topic/7480-avoid-logout-by-disconnect/#findComment-34111 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