AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY]Security entity limit (0.5.4v) (https://forums.alliedmods.net/showthread.php?t=265902)

Benoist3012 07-15-2015 03:07

Re: [ANY]Security entity limit
 
Quote:

Originally Posted by zeroibis (Post 2319769)
Very interesting, can this be used in combination with Create Edict Fixer.

Yes you can. The plugin is having some leaks so this can be really usefull.

Creampuffyness 07-22-2015 17:27

Re: [ANY]Security entity limit
 
Any feedback with the beta? I am still seeing "No free edict" crashes on my WarioWare server.

Benoist3012 07-25-2015 08:11

Re: [ANY]Security entity limit
 
Update Security Entity Limit 0.5.1_5vBeta
Changelog in first post.

Benoist3012 07-25-2015 09:27

Re: [ANY]Security entity limit
 
Quote:

Originally Posted by Creampuffyness (Post 2323274)
Any feedback with the beta? I am still seeing "No free edict" crashes on my WarioWare server.

I see a error in my code and that why maybe the plugin got some leaks, you can download the last beta version 0.5.1_8 on the first post.

Benoist3012 07-26-2015 05:21

Re: [ANY]Security entity limit
 
Update Security Entity Limit 0.5.1_9vBeta
Changelog in first post.

Last beta version.

Benoist3012 08-17-2015 05:23

Re: [ANY]Security entity limit
 
Quote:

Originally Posted by InvexByte (Post 2318418)
Could this remove an entity a player is interacting with?

To come back on this question yes it can remove entity that player is interecting with it, but it happen only if you server is near the limit. So 90% of time it shouldn't happen.

Benoist3012 08-18-2015 09:34

Re: [ANY]Security entity limit (0.5.2v)
 
Update Security Entity Limit 0.5.2v
Changelog in first post.

kadet.89 09-10-2015 11:49

Re: [ANY]Security entity limit (0.5.2v)
 
This plugin uses AcceptEntityInput Kill. This function only creates an event for the next gameframe, so it doesn't always prevent crashes.
If we take for instance ze_SURVIVORS_b5, during loading, in the first gameframe the server creates 2048+ entities, what leads to the crash before the function AcceptEntityInput Kill actually fires.
This plugin only helps if the crash happens after a round initialisation (not in the first few frames), what is a very rare case.
In the cases, whan the plugin works, we can use these cvars:
sv_lowedict_action "4"
sv_lowedict_threshold "100"
As changelevel event fires in the "next" gameframe, 100 entities buffer ensures that the event fires before the limit is reached

Benoist3012 09-12-2015 07:39

Re: [ANY]Security entity limit (0.5.2v)
 
Quote:

Originally Posted by kadet.89 (Post 2341516)
This plugin uses AcceptEntityInput Kill. This function only creates an event for the next gameframe, so it doesn't always prevent crashes.
If we take for instance ze_SURVIVORS_b5, during loading, in the first gameframe the server creates 2048+ entities, what leads to the crash before the function AcceptEntityInput Kill actually fires.
This plugin only helps if the crash happens after a round initialisation (not in the first few frames), what is a very rare case.
In the cases, whan the plugin works, we can use these cvars:
sv_lowedict_action "4"
sv_lowedict_threshold "100"
As changelevel event fires in the "next" gameframe, 100 entities buffer ensures that the event fires before the limit is reached

AcceptEntityInput is actually the safest way to remove a entity from a map. In your case 2048 entities are created in less than 1 second, my plugin already helped a lot of servers not to crash, if a server crashed it's easy for the creator to find what is wrong with the map with the log I added. I can't make it more faster, if you server crash instantly with 2000 entities created in less than 1 sec, it's probably(100% sure) the crash came from a plugin.
This plugin wasn't created to prevent crash from bad plugins with a endless entities creating loop.

Benoist3012 11-04-2015 07:57

Re: [ANY]Security entity limit (0.5.2v)
 
Update Security Entity Limit 0.5.3v
-Removed beta version from 1st page and uploaded right one.


All times are GMT -4. The time now is 05:07.

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