View Single Post
Author Message
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 06-03-2012 , 04:15   'Proper' CreateEdict.
Reply With Quote #1

THIS IS DEPRECATED. DO NOT USE THIS EXTENSION. USE THIS INSTEAD.


What is this?
This replaces CreateEdict on your server with a 'Custom' implementation ensuring no edicts are left unused before going into the higher indexes. This bug (of running out of edicts when you have 1000 free) is present in every Source 2009 game, CS: Global Offensive does something similar to this extension. This extension has saved me, and I wish someone found this out earlier.

THIS IS HORRIBLE, USE SOURCEHOOK INSTEAD OF CDETOUR!
No problem! Show me how I'd go about doing it and I'll swap Until then, here's GameData.

You need an AutoLoad file, Linux (Source 2009) is the only supported platform. Use SourceMod 1.5.

Thanks to Dr!fter for assisting me with some rather obvious C++ issues.

If anyone's interested in the rather lame journey I took, it's here.

Have fun.

EDIT: As always, if you run into any issues, do let me know. I can think of one, but I'm not sure if it's even a problem.
Attached Files
File Type: zip eaf.zip (34.2 KB, 484 views)
File Type: so eaf.ext.so (21.2 KB, 482 views)
File Type: txt CreateEdictFixer.txt (166 Bytes, 539 views)

Last edited by KyleS; 06-04-2012 at 18:01. Reason: Typography.
KyleS is offline