Plugin causing server performance dropFixed

Hey Nivex,

As always, thankyou for your work on this plugin!

Unfortunately our server has been experiencing a lot of performance issues with the latest version of the Plugin. We jumped from version 1.5.0 to 1.5.2 which is when we started experienceing the issues. We have dropped back to v1.5.1 and are monitoring.

Issues seen are rubber banding and latency when moving / shooting etc. The server does not seem to be the issue, we have just upgraded to newer Tech and the backend performance stats look fine.

I appreciate there could be something in my config file causing this, we have around 60 ish different bases listed under 4 difficulty categories. Some of the bases are quite large, but only 1 spawns at a time at the moment. The config file is 61KB in size, does this sound right?

 

Keen for your feedback and I'm happy to send you the config file directly to have a look.

do you use a lot of tesla coils? they are a known issue I need to fix
Sadly not, we do have a lot of turrets. We've taken advantage of the fact they dont need to be powered. v1.5.1 is working quite well without lag so far.
ok thanks ill check it out
R3PooC
Sadly not, we do have a lot of turrets. We've taken advantage of the fact they dont need to be powered. v1.5.1 is working quite well without lag so far.

What do you mean turrets dont need to be powered? Is this an option?

turrets have always worked without requiring power
Auto turrets? What am I doing incorrectly then? When my scheduled PVE bases appear the turrets aren't powered unless they have electricity hooked up.
they power on when you enter the raid base
Wow I wish that was written down somewhere :D I guess I never noticed because I'd enter the base vanished to check things out and just see them all off and assume it was because they weren't wired. 

It is, it's in one of the updates from quite some time ago. I'm sure i saw it in a post / update somewhere... but cant remember where.

Hopefully this performance issue will be a quick find.

I'm thinking the performance issue is due to how I'm setting up powered entities now...

do you want to try a possible fix? @R3PooC

otherwise there just really isn't muched changed that could cause this ... mostly just fixes in the past couple versions

https://pastebin.com/LVefRPKR

save as RaidableBases.cs

Thanks, I'll try it tomorrow.

I'm testing the fix as well (same issues as OP)......Well report back....Thx.....

Merged post

Nope that didn't work. We were fine until the last few updates.....Hmmmmm. It starts with no lag and works for a bit and then rubberbands until it's stopped. I did 2 raid bases wihout lag prior, but it kicks in and I have to stop the plugin and everything is fine.
ok, I need to know which version doesn't have this issue @doublee313

Merged post

does 1.5.1 have this issue?
I've not had a chance to update and use your test one yet, but 1.5.1 has no lag issues so far
Locked automatically