[ANY] List all entity classnames in-game, and their count.
I'm getting a lot of issues with running out of edicts, so I want to debug this.
Could someone make a plugin that, upon issuing a command, lists all of the current entities that exist in a map by classname, and the number defining the amount of said entity that exists? |
Re: [ANY] List all entity classnames in-game, and their count.
Here you go.
http://forums.alliedmods.net/showthread.php?t=219682 |
Re: [ANY] List all entity classnames in-game, and their count.
If nobody else has gotten to this by the time I'm home, I'll do it - shouldn't take but a minute or two.
|
Re: [ANY] List all entity classnames in-game, and their count.
I made a version based on (only in the roughest sense) chaosxk's plugin.
This one will be faster, provides a more detailed log (whereas the other version doesn't even tell you the count of each entity, which is what you originally wanted) and is generally cleaner. Here it is: PHP Code:
|
Re: [ANY] List all entity classnames in-game, and their count.
Seems to be happening frequently as of late.
|
Re: [ANY] List all entity classnames in-game, and their count.
What does?
|
Re: [ANY] List all entity classnames in-game, and their count.
I put together an entity logging and reporting script to track down edict exhaustion a while ago. The code is at https://github.com/foobarhl/sourcemo...g/srcdsdiag.sp
It will dump out the entities on a map when the entity count exceeds a certain threshold, and adds a "sm_entreport" command to display the current entity count to your chat during run time. It's not great, or even good, but it was invaluable to helping hunt down edict exhaustion issues. |
Re: [ANY] List all entity classnames in-game, and their count.
The script you posted generates 54 warnings, good job.
Yours sincerely Impact |
Re: [ANY] List all entity classnames in-game, and their count.
Quote:
|
Re: [ANY] List all entity classnames in-game, and their count.
...are...what.
|
All times are GMT -4. The time now is 16:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.