From 56a4e148c240fffda86431079c41ded91b92c31e Mon Sep 17 00:00:00 2001 From: huoji Date: Mon, 9 Oct 2023 20:31:59 +0800 Subject: [PATCH] fix IVEngineCvar --- csgo2/offset.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csgo2/offset.cpp b/csgo2/offset.cpp index b84f50d..a288b19 100644 --- a/csgo2/offset.cpp +++ b/csgo2/offset.cpp @@ -54,6 +54,7 @@ auto Init() -> bool { CModule schemasystem("schemasystem.dll"); CModule engine("engine2.dll"); CModule localize("localize.dll"); + CModule tier0("tier0.dll"); // engine.dll engine.FindPattern(pattern_MaxPlayerNumsPtr) @@ -89,7 +90,7 @@ auto Init() -> bool { InterFaces::ILocalize = reinterpret_cast( localize.FindInterface("Localize_001").Get()); InterFaces::IVEngineCvar = reinterpret_cast( - engine.FindInterface("VEngineCvar007").Get()); + tier0.FindInterface("VEngineCvar007").Get()); InterFaces::GameResourceServiceServer = reinterpret_cast(