Raised This Month: $ Target: $400
 0% 

Edict Overflow Prevention v2.9 (18/12/15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Plugin ID:
4338
Plugin Version:
2.9
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    77 
    Plugin Description:
    Prevents too many edicts from crashing your server (ED_Alloc: no free edicts)
    Old 09-06-2014 , 10:21   Edict Overflow Prevention v2.9 (18/12/15)
    Reply With Quote #1

    Edict Overflow Prevention[v2.9]

    DESCRIPTION:
    Edict Overflow Prevention simply prevents 2048 edicts mark being hit thus stopping the server from crashing, its in no way a fix for this problem, infact its very hacky, so I would recommend using it as a temporary solution.

    CREDITS:
    • Tylerst & Oshizu - Inspiration.
    • Everyone else thats helped me in the scripting forums.
    Servers running this plugin (GameMonitor)
    Servers running this plugin (GameTracker)

    Enjoy!
    Attached Files
    File Type: sp Get Plugin or Get Source (edictoverflowprevention.sp - 2546 views - 1.1 KB)

    Last edited by SM9; 12-18-2015 at 08:17. Reason: Uploaded 2.9
    SM9 is offline
    GsiX
    gee, six eggs
    Join Date: Aug 2012
    Location: Land Below The Wind
    Old 09-06-2014 , 15:12   Re: [ANY] Edict Overflow Fix
    Reply With Quote #2

    Its not wise kill an entity when they are being created..
    requestframe() instead or timer..
    __________________
    If i happen to insulted you unintentionally,
    it was me and Google Translate who did it.
    GsiX is offline
    floube
    SourceMod Donor
    Join Date: Jan 2013
    Location: Austria
    Old 09-06-2014 , 16:57   Re: [ANY] Edict Overflow Fix
    Reply With Quote #3

    Quote:
    Originally Posted by GsiX View Post
    Its not wise kill an entity when they are being created..
    requestframe() instead or timer..
    Or hook SDKHook_Spawn and return Plugin_Stop?
    __________________
    floube is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 09-06-2014 , 20:05   Re: [ANY] Edict Overflow Fix
    Reply With Quote #4

    I'm sorry people, Versions 0.1 - 0.4 were unstable. Please use latest version in main post.

    Last edited by SM9; 09-08-2014 at 08:39. Reason: Again, Changed.
    SM9 is offline
    PCDrivers
    AlliedModders Donor
    Join Date: Feb 2013
    Location: Canary Islands
    Old 09-07-2014 , 03:20   Re: [ANY] Edict Overflow Fix
    Reply With Quote #5

    It's useful, but the best would be to restart the map with a "changelevel".

    Ideally, would be able to reset the identifiers of entities, because using that plugin, the map does not work as it was made.

    Thanks 4 the idea
    __________________

    TrollFortress Spanish Community
    PCDrivers is offline
    TUSK3N1337
    SourceMod Donor
    Join Date: Dec 2013
    Location: Sweden
    Old 09-07-2014 , 10:52   Re: [ANY] Edict Overflow Fix
    Reply With Quote #6

    Can someone explain this in a nooby way? I see that the plugin make it only go up to a certain amount of edicts and it prevents the server from crashing. When is this happening? Why does this happen?

    Is there any downsides of having this plugin?

    Does It help running it on a CSGO Server?
    __________________
    TUSK3N1337 is offline
    Send a message via Skype™ to TUSK3N1337
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 09-07-2014 , 12:32   Re: [ANY] Edict Overflow Fix
    Reply With Quote #7

    I've been running Edict Overflow Fix version 0.2 for over 24 hours. Result = Zero Server Crashes, even after significant stress testing. I'm a bit reluctant to upgrade to version 0.5 since version 0.2 worked flawlessly so far. However, I'll follow your recommendation to upgrade to version 0.5 now.

    Thanks much for a plugin that so far has helped me to avoid what used to be frequent server crashes.

    Edit: After using version 0.5 for 6 hours, the server crashed twice. Is there any chance you could repost an earlier version?

    Last edited by PC Gamer; 09-07-2014 at 18:56.
    PC Gamer is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 09-07-2014 , 13:05   Re: [ANY] Edict Overflow Fix
    Reply With Quote #8

    Quote:
    Originally Posted by TUSK3N1337 View Post
    Can someone explain this in a nooby way? I see that the plugin make it only go up to a certain amount of edicts and it prevents the server from crashing. When is this happening? Why does this happen?

    Is there any downsides of having this plugin?

    Does It help running it on a CSGO Server?
    Hi,

    This issue is caused by server having too many entities on map
    There is limit of 2048 entities with edicts associated.
    Entities like players, weapons, hats, npcs, projectiles etc.
    If it reaches 2048th entity and server will try to spawn 2049th then srcds shall crash

    This issue happens because valve setup entity limit for Team Fortress 2 for 2048 edicts
    Edicts defined as edict_t in engine a la ("entity dictionary") is an interface structure (struct) that allows entities to cross the client/server.
    Edicts are mostly used to synchronize server and client's
    Assuming that it would be possible: If merasmus entity were to suddenly to lose it's edict and server would call later function to change merasmus skin then client's wouldn't be able to see difference cause nothing told client's game that merasmus skin should be different now. Yet if you'd check server-side way merasmus skin then it'd be that one it was changed to server-side way.
    __________________
    ...

    Last edited by Oshizu; 09-07-2014 at 13:15.
    Oshizu is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 09-07-2014 , 21:17   Re: [ANY] Edict Overflow Fix
    Reply With Quote #9

    Quote:
    Originally Posted by PC Gamer View Post
    I've been running Edict Overflow Fix version 0.2 for over 24 hours. Result = Zero Server Crashes, even after significant stress testing. I'm a bit reluctant to upgrade to version 0.5 since version 0.2 worked flawlessly so far. However, I'll follow your recommendation to upgrade to version 0.5 now.

    Thanks much for a plugin that so far has helped me to avoid what used to be frequent server crashes.

    Edit: After using version 0.5 for 6 hours, the server crashed twice. Is there any chance you could repost an earlier version?
    Alright man, Sorry to hear you are having crashes.
    As requested version 0.2 is now attached under edictoverflowfix_advanced.
    SM9 is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 09-07-2014 , 22:19   Re: [ANY] Edict Overflow Fix
    Reply With Quote #10

    Thanks for reposting version 0.2. I'll install it and will report back if anything crashes.
    PC Gamer 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 15:39.


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