Jump to content

Weird scientist entity count

Pending 1.3.1

Sephisticate
Sephisticate

Posted

So for reference this is a performance monitor snapshot from a few days ago before the force wipe. The server had about ~90k entities and the npcs made up maybe ~150: https://pastebin.com/MqRCsvVC

Now after force wipe on a new fresh map and nothing has changed. For some reason now I am getting ~800 scientist_heavy entities active: https://pastebin.com/mzS0h4ps

It's actually a smaller map too. Not sure if this is normal behaviour or maybe I have no idea what I am talking about just was concerned and wanted clarification, thanks!

Jbird

Posted

7 hours ago, Sephisticate said:

So for reference this is a performance monitor snapshot from a few days ago before the force wipe. The server had about ~90k entities and the npcs made up maybe ~150: https://pastebin.com/MqRCsvVC

Now after force wipe on a new fresh map and nothing has changed. For some reason now I am getting ~800 scientist_heavy entities active: https://pastebin.com/mzS0h4ps

It's actually a smaller map too. Not sure if this is normal behaviour or maybe I have no idea what I am talking about just was concerned and wanted clarification, thanks!

Yeah I do see an increase of just over 800 heavy scientists in the two screenshots. Some things to consider in this change.

Ensure that the heavy scientist is your base NPC in the NpcSpawn configuration file. It likely is.

If it is, the one thing that could greatly affect this is going to be which files you have enabled, and what changed in the maps. Perhaps the other map had less monuments, so this map having more monuments or more viable locations to spawn in general has led to this.

One other thing to consider would be the timing. If perhaps one event or more were active at the time, certain events may produce a lot of NPCs in a small amount of time that could also contribute to what you saw in that snapshot.

Check the numbers more periodically, let us know if you are having performance issues that you think are a result of this, and any other information you can collect and notice.

Sephisticate

Posted (edited)

Well after some more testing I haven't been able to link the increase in bots to any performance issues thus far. I am on a very low pop server with very minimal plugins on good hardware so It's hard to properly gauge. I did however regenerate a new custom map as maybe it was the map causing issues itself. The entity counts didn't change but after further looking into it I mean things add up according to ShowAllNpc. The discrepancy was weird from prior to the force wipe which was my original cause for concern. Also does the hook time for NpcSpawn being quite high seem normal too considering all that its doing? (4.4s)

ShowAllNpc: https://pastebin.com/dy7gxuSw

Latest PerfMonitor Report: https://pastebin.com/8BssSXAU

Edited by Sephisticate
Jbird

Posted

On 4/4/2025 at 11:25 PM, Sephisticate said:

Well after some more testing I haven't been able to link the increase in bots to any performance issues thus far. I am on a very low pop server with very minimal plugins on good hardware so It's hard to properly gauge. I did however regenerate a new custom map as maybe it was the map causing issues itself. The entity counts didn't change but after further looking into it I mean things add up according to ShowAllNpc. The discrepancy was weird from prior to the force wipe which was my original cause for concern. Also does the hook time for NpcSpawn being quite high seem normal too considering all that its doing? (4.4s)

ShowAllNpc: https://pastebin.com/dy7gxuSw

Latest PerfMonitor Report: https://pastebin.com/8BssSXAU

Thank you for your diligence in testing and observing this.

And yes depending on the time that this is being observed, NpcSpawn is used in many plugins and BetterNpc alone does check many NPCs at any given time. As long as you are not noticing performance issues that you think are a cause, then it is normal and not a concern.

  • Like 1
1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.4k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.