AlexEzz21 Posted January 23, 2021 Share Posted January 23, 2021 I updated this code but it is still crashing can someone tell me what is outdated? void Util::CaptureInterfaces() { I::Client = Util::CaptureInterface<IBaseClientDll>("client.dll", "VClient018"); I::ClientMode = **(IClientModeShared***)((*(DWORD**)I::Client)[10] + 0x5); I::ClientEntList = Util::CaptureInterface<IClientEntityList>("client.dll", "VClientEntityList003"); I::Cvar = Util::CaptureInterface<ICVar>("vstdlib.dll", "VEngineCvar007"); I::Engine = Util::CaptureInterface<IEngineClient>("engine.dll", "VEngineClient014"); I::EngineTrace = Util::CaptureInterface<IEngineTrace>("engine.dll", "EngineTraceClient004"); I::InputSystem = Util::CaptureInterface<IInputSystem>("inputsystem.dll", "InputSystemVersion001"); I::Globals = **(IGlobalVarsBase***)((*(DWORD**)I::Client)[0] + 0x53); I::Surface = Util::CaptureInterface<ISurface>("vguimatsurface.dll", "VGUI_Surface031"); I::VPanel = Util::CaptureInterface<IVPanel>("vgui2.dll", "VGUI_Panel009"); } Quote Link to comment Share on other sites More sharing options...
unuall Posted January 23, 2021 Share Posted January 23, 2021 That C style casting is making me wanna die, check your classes and I'm not sure about the globals. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.