• 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.

[Tutorial] Login Client Without Launcher

Junior Spellweaver
Joined
Jan 5, 2015
Messages
173
Reaction score
194
Sometimes developers may need to join game without using launcher/binarys and for some reason we cant use studio :glare:

here is the tutorial mode for make game non-launcher acsessable on sometimes

First of all search on Main.cpp

Code:
void r3dInitShaders();

Add below

Code:
bool testmode = false;

Code:
MessageBox(NULL, "Please run WarZ launcher.", g_szApplicationName, MB_OK);

Change the code to

Code:
    win::hWinIcon = ::LoadIcon(win::hInstance, MAKEINTRESOURCE(IDI_WARZ));
    if(strstr(__r3dCmdLine, "-WOUpdatedOK") == NULL && strstr(__r3dCmdLine, "-gna") == NULL && testmode == false) //burakdatlife no-login test
    {
        MessageBox(NULL, "Please run WarZ launcher.", g_szApplicationName, MB_OK);
        ExitProcess(0);
    }

Go to FrontEndWarZ.cpp and search

Code:
r3dError("you should set login as d_login <user> d_password <pwd> in local.ini");

Change

Code:
//#ifndef FINAL_BUILD burakdatlife no-login        if(Login_PassedUser[0] == 0 || Login_PassedPwd[0] == 0)
        {
            r3dscpy(Login_PassedUser, d_login->GetString());
            r3dscpy(Login_PassedPwd, d_password->GetString());
            if(strlen(Login_PassedUser)<2 || strlen(Login_PassedPwd)<2)
            {
                r3dError("you should set login as d_login <user> d_password <pwd> in local.ini");
                // programmers only can do this:
                //r3dError("you should set login as '-login <user> -pwd <pwd> in command line");
            }
        }
//#endif

Search on Main.cpp

Code:
static void DoExecIni( const char* Path )

Change code to

Code:
static void DoExecIni( const char* Path ){
    ExecVarIni( Path );
    // always override game settings ini with "local" ini
    if(strstr(__r3dCmdLine, "-WOUpdatedOK") == NULL && strstr(__r3dCmdLine, "-gna") == NULL && testmode == true) //burakdatlife no-login test
        {
    ExecVarIni( "local.ini" );
    ExecVarIni("voip.ini");
    }
    else
        {
ExecVarIni( "" );
        }


}

Search on Config.cpp

Under
Code:
#undef REG_VAR_C

Change code

Code:
bool testmode = false;    if(testmode == true)
    {
    ExecVarIni( "game.ini" );
    ExecVarIni( "local.ini" );
    }
    else
        {
    ExecVarIni( "1" );
    ExecVarIni( "1" );
    }

Open Vars.h add this code front of page
Code:
REG_VAR( d_login,                    "",            0 );
REG_VAR( d_password,                "",            0 );

delete the old ones on the same file

After this modifications if you are opened testmodes you can join game with game exe , remember add your login information to local.ini
 

AcX

Newbie Spellweaver
Joined
Nov 11, 2015
Messages
24
Reaction score
7
Typical clown show. Much wow!

All what it needs is a shortcut of your .exe file.

D:\Alpha\bin\MiniA.exe -WOUpdatedOk -gna -login AcX@test.dev -pwd your-password :lol:

Same poop for debugging your stuff.
XK1FxEP - [Tutorial] Login Client Without Launcher - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Dec 6, 2016
Messages
18
Reaction score
4
Typical clown show. Much wow!

All what it needs is a shortcut of your .exe file.

D:\Alpha\bin\MiniA.exe -WOUpdatedOk -gna -login AcX@test.dev -pwd your-password :lol:

Same poop for debugging your stuff.
XK1FxEP - [Tutorial] Login Client Without Launcher - RaGEZONE Forums

Thanks> when debug, get this error
NEjYEOE - [Tutorial] Login Client Without Launcher - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Back
Top