Author
|
|
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
|
Plugin ID:
|
7417
|
Plugin Version:
|
2.1
|
Plugin Category:
|
Technical/Development
|
Plugin Game:
|
Any
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Logs entity types when the total number of entities on the map exceeds a pre-prefined maximum
|
|
|
12-13-2020
, 15:51
[DEV] Entity Limits Logger
|
#1
|
Description:When the total number of networked entities become > 2048* (depends on your game),
server receive crash
This plugin can help you with manual searching for a reason of entities leaking by logging all entities once per map whenever the total number of networked entities become > MAX, defined by you.
List of info that is to be logged: - Time
- Map name
- Delta report since the latest snapshot (it is a difference between entities, spawned when map started and entities at the moment of a leak detection )
- Weapon names per each slot per each player
- Player names and their teams
- total entities
- total networked entities
- per each entity:
> class name
> target name
> model name
> origin (position)
> is within Saferoom (L4D only)
> HammerId
Log location: /addons/sourcemod/ logs/entity_limit_<date-time>.log
ConVars (Settings):Located at cfg/sourcemod/sm_entity_limit.cfg
- sm_entity_limit_unsafe_left - def.: 150 - Plugin creates report when the number of free entities is less than this ConVar
- sm_entity_limit_delay - def.: 10.0 - Delay to be used after map start to create entities snapshot for calculating the entities delta when a leak happens
Commands: - sm_entlog - instantly creates the entities report
- sm_entsnap - creates entities snapshot which is to be used for calculating the entities delta (when leak happens or sm_entlog used)
- sm_entcrash - (available if only you enable DEBUG 1) - creates new 300 dummy entities to imitate the crash
Installation: - copy .smx to addons/sourcemod/plugins
Example of a log:
Related plugins: - [ANY] Security entity limit
- [Any] Crash Helper / Log A Lot
DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
__________________
Last edited by Dragokas; 05-12-2021 at 19:29.
|
|
|
|