This commit is contained in:
huoji
2023-10-20 20:19:22 +08:00
parent 56cd154f31
commit 4a5a37ba95
14 changed files with 235 additions and 22 deletions

View File

@@ -35,9 +35,9 @@ auto init(void* ctx) -> bool {
serverHandle = reinterpret_cast<uint64_t>(GetModuleHandleA("server.dll"));
localizeHandle = reinterpret_cast<uint64_t>(GetModuleHandleA("localize.dll"));
Sleep(200);
Sleep(100);
}
global::isMetaModInit = (GetModuleHandleA("metamod.2.cs2.dll") != nullptr);
global::IsMetaModInit = (GetModuleHandleA("metamod.2.cs2.dll") != nullptr);
if (Offset::Init() == false) {
LOG("Offset::Init() == false !\n");
return false;