[DEV] Entity Limits Logger
1 Attachment(s)
Description:
When the total number of networked entities become > 2048* (depends on your game),List of info that is to be logged: - TimeLog location: /addons/sourcemod/logs/entity_limit_<date-time>.log ConVars (Settings): Located at cfg/sourcemod/sm_entity_limit.cfgCommands: - sm_entlog - instantly creates the entities reportInstallation: - copy .smx to addons/sourcemod/pluginsExample of a log:
Spoiler
Related plugins: - [ANY] Security entity limitDonate Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often: |
Re: [DEV] Entity Limits Logger
Updated to v2.0.
Original version report contained too many entities of each class making the manual analysis of a leak to be quite a non-trivial task. In v2.0, I decided to provide a delta. So, when the map is started, logger creates snapshot of all entities. Next time, when the leak heppens, Entity Logger creates a report for you with a delta: 1) Difference in total number of entities per each class between current moment and a snapshot. 2) Detailed list of all entities MINUS those entities from a snapshot. Thus, you can quite easily detect which identical entities are leaking. See the sample log in 1st post. ChangeLog: Quote:
|
Re: [DEV] Entity Limits Logger
Thanks for this. I'll give it a try.
I'm assuming there is no problem with running this concurrently with the wonderful '[ANY] Security entity limit' written by the talented Benoist3012'? |
Re: [DEV] Entity Limits Logger
They do not conflict, if priorities met. My plugin should be first in detection order. By default - everything OK.
"Security entity limit" has a detection point == 1950 entities. "Entity Limits Logger" has sm_entity_limit_unsafe_left ConVar == 150, means MAX (e.g. 2048 ) - 150 = 1898 entities, which will be detected earlier. |
Re: [DEV] Entity Limits Logger
Updated.
Quote:
|
Re: [DEV] Entity Limits Logger
1 Attachment(s)
This is my Entity Log file. Can somebody explain it to me? i really dont understand this error because it's too much line. :shock:
|
Re: [DEV] Entity Limits Logger
Automatic parser is already provides analysis for you at the very begin of the file:
Quote:
|
Re: [DEV] Entity Limits Logger
may we log entity name as GetEntityNetClass? GetEntityClassname is so hard to identify
|
Re: [DEV] Entity Limits Logger
@NoroHime, can you provide an example, which class?
|
Re: [DEV] Entity Limits Logger
Quote:
|
Re: [DEV] Entity Limits Logger
Don't worry about crashing due to too many entities in the custom map
|
Re: [DEV] Entity Limits Logger
I have been using it now and have had no problems at all. But i have not tested whether this plugin actually works, when there are many players playing a custom map with too many entities. I'll try and test it next time, hoping it works
So anyway, this is a pretty good plugin. I have a lot of respect for people who make bug fixing plugins like this. |
Re: [DEV] Entity Limits Logger
@kayletid201, it's not a bug-fixing plugin. It's just a logger for subsequent manual analysis.
Thanks for feedback. |
| All times are GMT -4. The time now is 22:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.