[help] patcher probelems

Results 1 to 3 of 3
  1. #1
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    [help] patcher probelems

    hello.

    im having a bit of trouble.
    i followed the guide http://forum.ragezone.com/f724/make-...h-list-676563/

    the patch client opens with no errors. my website shows and everything. but when i click start it just closes and nothing happens. something else i noticed, i put 4 .res files in the resclient folder in the root of my site. but it does not look like its installing the patches, does not say 1/4 patches complete or anything.
    and ideas as to what i can do?

    thanx.


  2. #2
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Re: [help] patcher probelems

    If you changed neuz.exe name, make sure you change it everywhere (in the patcher too). Another possible error you could have made (or not) is having two different strings that summon the window out (the "sunkist" thing).

    To check if these are correct: (If you're using source. If not, sorry, I can't help you):
    1. Go to your source folder
    2. Open PatchClient folder (thats the patcher source)
    3. Open BetaPatchClient.cpp and look for this:
    Code:
    void CBetaPatchClientApp::RunClient()
    {
    	PROCESS_INFORMATION pi;
    	STARTUPINFO si;
    	memset( &si, 0, sizeof( STARTUPINFO ) );
    	si.cb = sizeof( STARTUPINFO );
    
    	TCHAR szBuffer[2048];
    	int nCount = _snprintf( szBuffer, 2047, "Neuz.exe %s", "sunkist" );
    	if( nCount <= 0 )
    		return;
    
    	if( CreateProcess( NULL, szBuffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ) )
    	{
    		if( AfxGetMainWnd() )
    			AfxGetMainWnd()->PostMessage( WM_CLOSE );
    	}
    	else
    	{
    		char szError[256];
    		wsprintf( szError, "ErrorNumber: %d Neuz.exe Run Error", GetLastError() );
    		AfxMessageBox( szError );
    	}				
    }
    4. I've highlighted the name of client's executable in red and the sunkist string in blue. If your client executable has a different name, you can change it now.

    5. Go back to the source main folder and go to the Neuz folder.
    6. Open NeuzMsgProc.cpp and look for this:
    Code:
    #else //__LINK_PORTAL
    	if( strcmpi( szArg1, "sunkist" ) )
    		return FALSE;
    #endif //__LINK_PORTAL
    #else //LANG_KOR
    	if( strcmpi( szArg1, "sunkist" ) )
    		return FALSE;
    #endif //LANG_KOR
    #endif //__INTERNALSERVER
    */
    #ifndef __MAINSERVER
    	g_Neuz.m_bEncryptPWD	= TRUE;
    #else	// __INTERNALSERVER
    	if( strcmpi( szArg1, "sunkist" ) )
    		return FALSE;
    	if( ::GetLanguage() == LANG_KOR )
    	{
    		if( strcmpi( szArg2, "localhost" ) )
    			g_Neuz.m_bEncryptPWD	= TRUE;
    		else
    			g_Neuz.m_bEncryptPWD	= FALSE;
    	}
    6. If the parts in blue in this file are different than in BetaPatchClient.cpp, change them and make sure they're all the same.

  3. #3
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    Re: [help] patcher probelems

    thanx. i will have a look as soon as i can.

    thanx a million



Advertisement