11111
This commit is contained in:
@@ -42,8 +42,10 @@ void LenheartThread()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//初始化入口
|
||||
void Init() {
|
||||
|
||||
//是否加载百级UI
|
||||
FILE* file = fopen("ImagePacks2/!HUD_Yosin百级UI.NPK", "rb");
|
||||
if (file)
|
||||
@@ -51,12 +53,13 @@ void Init() {
|
||||
HookHudUi();
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
//是否开启控制台
|
||||
FILE* file2 = fopen("ip.txt", "rb");
|
||||
if (file2)
|
||||
{
|
||||
AllocConsole();
|
||||
SetConsoleTitleA("Rindro_Console");
|
||||
SetConsoleTitle(L"Rindro_Console");
|
||||
SetConsoleOutputCP(65001);
|
||||
freopen(("CONOUT$"), ("w"), stdout);
|
||||
freopen(("CONOUT$"), ("w"), stderr);
|
||||
@@ -78,9 +81,13 @@ void Init() {
|
||||
//注册HOOK
|
||||
RegisterHook();
|
||||
|
||||
#ifdef SELL
|
||||
//多线程验证
|
||||
DWORD threadID;
|
||||
HANDLE Thand = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)LenheartThread, NULL, 0, &threadID);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user