forked from Tr0n/client
Removed security & anti-cheat measures
This commit is contained in:
@ -14,12 +14,6 @@
|
||||
#include "../CWebBrowser/CWebBrowser.h"
|
||||
#include "../eterBase/CPostIt.h"
|
||||
|
||||
#include "CheckLatestFiles.h"
|
||||
|
||||
#include "Hackshield.h"
|
||||
#include "NProtectGameGuard.h"
|
||||
#include "WiseLogicXTrap.h"
|
||||
|
||||
extern "C" {
|
||||
extern int _fltused;
|
||||
volatile int _AVOID_FLOATING_POINT_LIBRARY_BUG = _fltused;
|
||||
@ -388,10 +382,6 @@ bool RunMainScript(CPythonLauncher& pyLauncher, const char* lpCmdLine)
|
||||
|
||||
if (stVec.size() != 0 && "--pause-before-create-window" == stVec[0])
|
||||
{
|
||||
#ifdef XTRAP_CLIENT_ENABLE
|
||||
if (!XTrap_CheckInit())
|
||||
return false;
|
||||
#endif
|
||||
system("pause");
|
||||
}
|
||||
if (!pyLauncher.RunFile("system.py"))
|
||||
@ -574,26 +564,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
||||
LocaleService_LoadConfig("locale.cfg");
|
||||
SetDefaultCodePage(LocaleService_GetCodePage());
|
||||
|
||||
#ifdef XTRAP_CLIENT_ENABLE
|
||||
if (!XTrap_Init())
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
#ifdef USE_AHNLAB_HACKSHIELD
|
||||
if (!HackShield_Init())
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
#ifdef USE_NPROTECT_GAMEGUARD
|
||||
if (!GameGuard_Init())
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
#if defined(CHECK_LATEST_DATA_FILES)
|
||||
if (!CheckLatestFiles())
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
bool bQuit = false;
|
||||
bool bAuthKeyChecked = false; //OpenID <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ű<EFBFBD><C5B0> <20><><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD> <20>˱<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
int nArgc = 0;
|
||||
@ -717,10 +687,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
||||
|
||||
Main(hInstance, lpCmdLine);
|
||||
|
||||
#ifdef USE_NPROTECT_GAMEGUARD
|
||||
GameGuard_NoticeMessage();
|
||||
#endif
|
||||
|
||||
WebBrowser_Cleanup();
|
||||
|
||||
::CoUninitialize();
|
||||
@ -729,9 +695,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
||||
MessageBox(NULL, gs_szErrorString, ApplicationStringTable_GetStringz(IDS_APP_NAME, "APP_NAME"), MB_ICONSTOP);
|
||||
|
||||
Clean:
|
||||
#ifdef USE_AHNLAB_HACKSHIELD
|
||||
HackShield_Shutdown();
|
||||
#endif
|
||||
SAFE_FREE_GLOBAL(szArgv);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user