• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Binding Main.exe to Launcher

Newbie Spellweaver
Joined
Feb 29, 2016
Messages
17
Reaction score
1
Good day.

Guys, tell me how to make main.exe run only through the launcher??

I have files Muemu season6 up-13
Launcher p4f

But I tried other launchers and it didn’t help!

Does anyone have any ideas??
 
Joined
Oct 8, 2006
Messages
740
Reaction score
289
Depending on your server files, you can attach a launcher to the main in the MAIN_INFO config generator.

Example of launcher type in LouisEMU S6 free server files.
PHP:
LauncherType = 0
LauncherName = LauncherWindowName


Here, if LauncherType is 1, the client is checking if the launcher window is opened by finding the window named in "LauncherName" variable.
C++:
void CProtect::CheckLauncher()
{
    if((this->m_MainInfo.LauncherType & 1) == 0)
    {
        return;
    }

    if (FindWindow(0, gProtect.m_MainInfo.LauncherName) == 0)
    {
        ExitProcess(0);
    }
}

Search in your server files if you can do that.
 
Upvote 0
Back
Top