Jump to content

source Need help lol


AlexEzz21
 Share

Recommended Posts

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 comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...