Closed jensewe closed 1 month ago
Any plan/progress on updating KeyValues codes? There're still crashes (KeyValues::RemoveEverything
) on my end about KeyValues extensions.
463d54462061c512b5a09833c9fed70b7b2dce96
I believe this should be what the updated code looks like, but perhaps because of not recompiled SourceMod I'm still getting free()
crashes when deleting KeyValues handles.
Glad if any further information could be provided.
Given that this issue wasn't reported until now, no progress/update has been made. But feel free to open a PR !
I've taken a look at your commit history on your fork, any reason you stopped using Valve's MemAlloc ?
It's simply because the updated binary shows operator new/delete[]
instead of malloc/free
when using Valve's allocator, and I blindly decided to give it a try. Leave it out if it's just wrong.
May I ask for a trigger build at least on SM 1.11? 🤔
Similar to csgo's one: https://github.com/alliedmodders/hl2sdk/blob/c758235e71d85ae43acaadedd237b5e8966d60e9/public/tier1/KeyValues.h#L335-L361
but looks missing an int32 at the end (
a1[10]
).