Maybe the offsets are invalid/obsolete, you could try 2 things:

- The first one being getting them through IDA if you know how to do that.

- The second would be to fork the GitHub project you mentioned and apply a
few changes so that it loads the engine and server binaries from the repo
instead of AlliedModders's servers. This is what I've done for Zombie
Panic! Source 3.0 to support SourceMod. Check my fork if needed.

Joël

Le ven. 31 août 2018 23:29, Tom Schumann <schumann....@gmail.com> a écrit :

> I've created a plugin and it's loading fine in Half-Life 2 Deathmatch -
> now I'm looking to use methods on a CBaseEntity from a bot edict_t *
> I've used https://wiki.alliedmods.net/Virtual_Offsets_(Source_Mods) as a
> guide but in my equivalent of void *func = vtable[m_Off_GetDataDescMap]; I
> get an access violation. I can see in the debugger that the vtable variable
> is an address in server.dll and I used https://asherkin.github.io/vtable/ to
> get the offset into the vtable.
> I'm running the game with the following command line parameters: -window
> -dev -insecure -allowdebug
>
> Am I doing something wrong? I used roughly the same code in Zeno Clash and
> it worked fine (though not using bots).
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Reply via email to