The latest update added a new engine function to the client:
pfnEngSrc_pfnFilteredClientCmd_t pfnFilteredClientCmd;
Please add it to the SDK along with other missing changes.
Source? I would like to know where are you looking to find that info.
I reverse engineered the Counter-Strike client.dll to see how they fixed the Director Message exploit.
Do you mind sharing the content from "pfnEngSrc_pfnFilteredClientCmd_t pfnFilteredClientCmd;"?
typedef int (*pfnEngSrc_pfnFilteredClientCmd_t)(char *);
It has been added to the end of the engine functions interface.
Thanks - it goes right after pfnVguiWrap2_GetMouseDelta?
And what are the other missing changes?
Yeah it's at the very end so the interface isn't broken for existing games.
Other changes include missing flags to indicate if a cvar is a privileged or cl_filterstuffcmd privileged command, missing bug fixes like the weapon select server crash exploit, possibly others that haven't been merged in.
Hi @SamVanheer, I'm going to co-opt this issue into being a general tracker for getting the SDK updated to include all changes to it that I can find since the last commit in 2014. I may just break it up into several commits as I have time to audit files and include them in the update so I'll make notes here when I update files.
Alright, see also:
Thanks, I鈥檒l close out #2101 first and close #1839 in favour of this one.
Sent with GitHawk
If possible, can support for using VGUI2 be added to the SDK? Mods can use it but the VGUI2 controls library and required interfaces are missing so everything would need to be reverse engineered or adapted from Source.
See #1639 and #1739
A template for making a VGUI2 based HUD like Counter-Strike would be nice to have, since it's still a lot of work otherwise.
See also #1402
Most helpful comment
Hi @SamVanheer, I'm going to co-opt this issue into being a general tracker for getting the SDK updated to include all changes to it that I can find since the last commit in 2014. I may just break it up into several commits as I have time to audit files and include them in the update so I'll make notes here when I update files.