hackshield and xtrap codes removed

This commit is contained in:
d1str4ught
2025-08-28 19:54:23 +02:00
parent b9783bec79
commit d4a1591a50
23 changed files with 1 additions and 678 deletions

View File

@@ -15,9 +15,7 @@
#include "CheckLatestFiles.h"
#include "Hackshield.h"
#include "NProtectGameGuard.h"
#include "WiseLogicXTrap.h"
extern "C" {
extern int _fltused;
@@ -319,10 +317,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"))
@@ -490,9 +484,6 @@ bool __IsOpenIDTestOption(LPSTR lpCmdLine) //클라이언트에서 로그인이
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
if (strstr(lpCmdLine, "--hackshield") != 0)
return 0;
#ifdef _DEBUG
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_CHECK_CRT_DF | _CRTDBG_LEAK_CHECK_DF );
//_CrtSetBreakAlloc( 110247 );
@@ -503,16 +494,6 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
LocaleService_LoadConfig("config/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;
@@ -654,9 +635,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;