-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SourceMod 1.12 Migration #164
Conversation
Alienmario
commented
Oct 25, 2024
•
edited
Loading
edited
- updated CI + Readme
- moved gpGlobals variable to main plugin space (unused warning)
- fixed macros (CONF_*, assert)
- replaced entindex-enthandle conversion stocks with natives
- removed CookieCompat in addon_earbleed
- replaced Cookie utils with new methodmap accessors
- with that done, addon_killsounds will not store the default value in cookies anymore
- turned addon_scoring into a placeholder for new implementation
- removed obsolete timer returns
Investigating crashing on linux: https://crash.limetech.org/7afrqsdsuw4y. |
There is a regression that occurs when hooking UTIL_GetLocalPlayer on Linux. SourceCoop/scripting/include/srccoop/entitypatch.inc Lines 136 to 159 in 698862d
Returning "MRES_Ignored" makes the original function crash nearby accessing of gpGlobals->maxClients .Superceding with DHookSetReturn(hReturn, -1); return MRES_Supercede; instead does not crash.
|
Minimal example test case: lp_test.games.txt
lp_test.sp
|
While sm devs are looking into the issue, we can target 1.12 7163, which has all the features minus the updated hooking library. |
We'll need to update the install scripts to install the specific version of SourceMod required rather than the latest version temporarily until the hooking library is fixed. |
Looks good to me! |
Alright then, when you're ready, please merge this and update the scripts. Hardcoding the links should be fine. |