Raised This Month: $7 Target: $400
 1% 

Create Edict Fixer.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 06-04-2012 , 10:11   Create Edict Fixer.
Reply With Quote #1

THIS IS PROBABLY UNSTABLE. IF YOU'RE HAVING 'RANDOM' CRASHING ISSUES WITH IT, DON'T USE IT.

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 MM:S Plugin. This Plugin has saved me, and I wish someone found this out earlier.

Installation
Pick your engine and throw it into a CEF folder under addons. Then throw the CEF.vdf file into your metamod folder. Or change the CEF.vdf file and do whatever you want with it, it's up to you.

I've only included a build for Linux Source 2009. If you build for another game, let me know and I'll update the OP to your post.

Thanks to
Dr!fter - Being helpful as always.
Zephyrus - Showing how to use SourceHook with the SM Extension.

128 views
Attached Files
File Type: gz cef.tar.gz (14.5 KB, 5457 views)

Last edited by KyleS; 06-30-2012 at 12:54.
KyleS is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 06-04-2012 , 12:48   Re: Create Edict Fixer.
Reply With Quote #2

Will this have a benefit to a non-developer, as a server owner?
FudgePoly is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 06-04-2012 , 13:09   Re: Create Edict Fixer.
Reply With Quote #3

Quote:
Originally Posted by FudgePoly View Post
Will this have a benefit to a non-developer, as a server owner?
yes.
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 06-04-2012 , 14:44   Re: Create Edict Fixer.
Reply With Quote #4

Care to expand...
FudgePoly is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-04-2012 , 16:08   Re: Create Edict Fixer.
Reply With Quote #5

Quote:
Originally Posted by FudgePoly View Post
Care to expand...
Quote:
Originally Posted by KyleS View Post
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 MM:S Plugin. This Plugin has saved me, and I wish someone found this out earlier.
To expand on it further, the game server crashes when it runs out of edict/entity indexes. This plugin tries to prevent that.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 06-04-2012 , 16:12   Re: Create Edict Fixer.
Reply With Quote #6

builds for all the other games so we can try please
Visual77 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 06-04-2012 , 16:46   Re: Create Edict Fixer.
Reply With Quote #7

windows for losers? okay.
Leonardo is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 06-04-2012 , 17:32   Re: Create Edict Fixer.
Reply With Quote #8

Quote:
Originally Posted by Leonardo View Post
windows for losers? okay.

https://forums.alliedmods.net/showpo...70&postcount=2
__________________
Fearts is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 06-04-2012 , 17:34   Re: Create Edict Fixer.
Reply With Quote #9

Quote:
Originally Posted by Powerlord View Post
To expand on it further, the game server crashes when it runs out of edict/entity indexes. This plugin tries to prevent that.
That's more like it, thanks!
FudgePoly is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 06-04-2012 , 21:56   Re: Create Edict Fixer.
Reply With Quote #10

1.1.2 is up. I highly suggest everyone updates as I introduced two bugs in the previous build thinking I was being intelligent at the time.

Included a Windows build for OrangeBox Valve (Source 2009) and L4D2 Windows, thanks to Dr!fter.

Last edited by KyleS; 06-04-2012 at 21:56.
KyleS is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode