Running Gameguard on patcher
Hi guys, I've lanning to add gameguard to the client. The game gaurd needs to be run first after patching.
Spoiler:
void CPatchClientApp::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 ); } }
I have not tested this yet, I just want to be sure, and change the line to
Also I want to check if the gameguard size is equal to my desired size, then if the gameguard has been close then also close the neuz.exe
Re: Running Gameguard on patcher
Retail game guard will not work for flyff private servers, hence why everyone compiles with NoGameGuard.
Re: Running Gameguard on patcher
Now I see, thanks. I better fix this on source
Quote:
Originally Posted by
Ketchup
Retail game guard will not work for flyff private servers, hence why everyone compiles with NoGameGuard.
- - - Updated - - -
Now I see, thanks. I better fix this on source
Quote:
Originally Posted by
Ketchup
Retail game guard will not work for flyff private servers, hence why everyone compiles with NoGameGuard.