Jump to content

Close WoW and WRobot


M4k5P0w3r

Recommended Posts

Hi, everyone, tell me please, what action type and action parameter you need to write in the quester, so that after the completion of the last quest the bot and the wow window are closed and stop process in the relogger. thanks for the help

Link to comment
Share on other sites

Hello, you cannot detect with relogger if profile is completed or not.

To close bot and game you can run c# code:

try
{
  wManager.Wow.Memory.WowMemory.Memory.GetProcess().Kill();
}
catch { }
wManager.Pulsator.Dispose(true);

but problem, if you close game and/or bot, relogger will relaunch all.

You can try to stop bot and logout wow character like that (to wait end of relogger task):

wManager.Wow.Helpers.Lua.LuaDoString("Logout()");
robotManager.Products.Products.ProductStop();

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...