While seeing the hook time warnings, you can try the following debug plugin to see if the hook calls are concentrated to specific areas. Most likely, they are happening at large or complex player industrial systems that you can disable to fix the performance issue.
https://github.com/WheteThunger/DebugHookCalls
Calling 'OnEntitySpawned' on 'StackSizeController v4.1.1' took average 1611msSolved
Ok cool. Thx!
Thank you, will give this a try! And probably limit the player built industrial stuff.
Edit: just run the first command and got this:
Merged post
Turned the power off in that base and its fixed.
Was a massive green house with a giant sorting system.
Thank you WhiteThunder π
I just switched Plugins and the issue was fixed. I liked Stack Size Controller and all but when that issue came about and it took like a month or so with no word, I had already switched. I am glad there's Devs out there that help when they can because we deff need that within the Rust Community to make it stronger etc. So yes, Thx White Thunder!!
Well doing the switch to another plugin wasn't a solution for me either coz server started lagging without any stack size plugins. And i prefer this one over all other ones, because it adds new items itself, self-maintaining kinda unless rust changes something major :)
Anyway did a bug report on rusts discord. They need to look into the industrial io stuff, and maybe as well add limitations similar to the waterpipe system.
Yeah maybe. I just ended up going with the paid version of Stack Modifier. Sweet as a mofo lol. Does the same. Auto adds items etc. Same as this plugin basically but at that time I needed a fix asap and that's how I was able to obtain that fix. I deff love this plugin no doubt tho
had to switch to different stack plugin.Β Got rid of most of the problem.Β Β Hunting up the remaining tiny lag spikes -- though we're down from nearly 3 minute lag bursts to a few seconds at a time.Β Not that i like the alternative stack size plugin, but at least it is working.Β Weirdly, the plugin that seems to be causing the last bit of problems looks like Restoreupondeath.
provokatze23
Β04:27[Debug Hook Calls] 507072 calls at approximate location (1600.0, 0.0, -400.0)04:27[Debug Hook Calls] 883 calls at approximate location (-300.0, 0.0, 900.0)04:27[Debug Hook Calls] 188 calls at approximate location (1600.0, 0.0, -300.0)04:27[Debug Hook Calls] 120 calls at approximate location (100.0, 0.0, -1500.0)04:27[Debug Hook Calls] 92 calls at approximate location (-800.0, 0.0, -200.0)
This is a huge issue.Β Anything over 10,000 is an issue. How we fixed this on our server was changing the buffer of the Conveyor to 1000 for everything they were trying to move.Β (Everything on our server stacks to 30,000) and this brought the problem base back to compliance and the lag and rubberbanding ceased to exist.Β
Now, everytime I have a lag issue, whether or not I get an error from StackModifier Plugin, I check and find, solve and correct by doing that step.Β The script to use to find this troubled base is
debughookcalls.start CanAcceptItem 10 and debughookcalls.start CanStackItem 10.
Β
You get this info by running these script lines in RCON
debughookcalls.start CanAcceptItem 10
debughookcalls.start CanStackItem 10
Yeah I ended up just buying the paid Version of Stack Modifier anyways. I've been solved the prior issue haha.
- 1
- 2