AlexEzz21 6 Posted January 23 Share Posted January 23 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"); } Link to post Share on other sites
unuall 0 Posted January 23 Share Posted January 23 That C style casting is making me wanna die, check your classes and I'm not sure about the globals. Link to post Share on other sites
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.