Forgetest

Results 4 comments of Forgetest

https://github.com/alliedmodders/sourcemod/blob/cb0f8f0eaa8f1edb46888d7f1d797c0493f9f51f/extensions/dhooks/DynamicHooks/hook.cpp#L624-L625 This change has confused me since the day of the safetyhook commit, and I bet it's responsible for the `PassServerEntityFilter[clone]` crash mentioned above.

> If the jump was "wrong" we would also crash on regular function detour but we're not. `PassServerEntityFilter[clone]` is not a regular function, because as written in the gamedata the...

https://github.com/jensewe/sourcemod/commit/078ca8f1c5517ea412e4dddd430bb36a6f229e6b Got a working version for this case, but not carefully tested and no idea regarding improvements on this ugly workaround (I'm kinda noob at C++). Appreciate if anyone could...

> Use this on entity "index" https://sm.alliedmods.net/new-api/halflife/EntIndexToEntRef > > However, if you are handling client "indexes", please use these instead > https://sm.alliedmods.net/new-api/clients/GetClientUserId > https://sm.alliedmods.net/new-api/clients/GetClientOfUserId Thanks, but I was referring to...