Jump to content

Getting some heavy lag on server saves I don't know why

Pending 1.1.1

SlayersRust
SlayersRust

Posted (edited)

Saved 110,665 ents, cache(0.32), write(0.06), disk(0.03), navmesh(0.00).
Saving complete
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4869ms
Calling 'OnPlayerInput' on 'TurretSystem v1.1.1' took average 4870ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5014ms
Calling 'OnPlayerInput' on 'TurretSystem v1.1.1' took average 5015ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5041ms
Calling 'OnPlayerInput' on 'TurretSystem v1.1.1' took average 5041ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4864ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 1ms

This causes server fps to drop under 10 making the server rubber band whenever the server saves. It also happens whenever the players open the console ui for the plugin.

I have attached my config files and also my data files if it helps your investigation. The impact seems to be heaviest for players that have a large amount of turrets when they open and close ui and when they turn on and off all turrets

Here is some more of the spam in console that also seems to be appear anytime someone uses the plugin and not only during server saves

Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4886ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 2ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4900ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 1ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5121ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 1ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5078ms
Calling 'OnPlayerInput' on 'TurretSystem v1.1.1' took average 5079ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5021ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 1ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4970ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 1ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 4829ms
Calling 'OnPlayerInput' on 'TurretSystem v1.1.1' took average 4830ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5122ms
Calling 'OnEntitySpawned' on 'TurretSystem v1.1.1' took average 5123ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took 5068ms
Calling 'ConsoleUi' on 'TurretSystem v1.1.1' took average 2ms

TurretSystem.json TurretSystem (1).json

Edited by SlayersRust

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.2m
Total downloads
Customers
12.3k
Customers served
Files Sold
174.6k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.