Space Engineers

Space Engineers

View Stats:
This topic has been locked
4 player server, major lag and rubberbanding .. is it scripts fault??
We have rented a server where we are 4 friends playing. All of us have build bases, vehicles and ships with different scripts in mind. Now, even with SETool cleanup ( there are NO other grids except the ones owned by one of us ), the server is lagging, spazzing out, rubberbanding like there are no tomorrow... I have to restart the server many many times a day to be able to play on it...

I talked to our server provider regarding this, and I am told to make sure the server is cleaned up ( already done with SETools ) and try to turn off scripts to make it stable...

Now ... I actually went and deleted every programmable block to test this ( all will get theirs back ofc )..

Can't a MP server handle some scripts??

The scripts we are using is:

Isy's Solar Alignment
Isy's Refuler
Isy's Inventory Manager
Mmaster's Automated LCD 2
1wsx10's Vector Thrust 2.0

Biggest problem now is that all build ( bases, small and large ships ) are build around using the scripts .. and therefor will need a major rebuild if not using the scripts.

Can anyone shed a light on how this usually will affect a server?? Is it the scripts to blame for all the rubberbanding, rotors spazzing out, lag issues and so forth?
Is it anyone that play on an MP server, using scripts that doesn't have any issues??

We are running with 2 mods only, Renewable Planet ( no uranium on erathlike ) and No respawnships ( only planetary lander is in )
< >
Showing 1-15 of 20 comments
DiabloDBS Apr 24, 2018 @ 2:17pm 
Well with an update last year they brought this nice tool displaying which components on a server might cause performance issues, was it shift+F1?.
For me some scripts throw warnings like every few minutes when they handle something biggr but overall they're not a problem and i am running around 20 scripts while i wrote most myself and tried to opt them to be low demanding (running at as slow frequency as possible to do the job).

I know that MALCD sometimes appears in my warning list but on my server that isn't an issue. Isy's i haven't used in ages so i can't say anything about. Vector Thrust will probably take some CPU since it has to run at a high rate but still .. i don't see why your server should be off that bad just running a hand full of scripts

My first question would be what server you're running as i had a lot of bad xp with any kind of virtual server setups. To be honest even running a gameserver on my home PC (while also running a client) worked better on a LAN but is no option due to my narrow bandwidth.
But i haven't used VServers in ages due to all kind of shenanigans ..

What you could try would be to set the scripts to update less often. If the scrips don't use timer then look for something like:

Runtime.UpdateFrequency = UpdateFrequency.Update100;
If it is 100 then it should be ok if not you need to decide if it needs to run more often than every 100ths tick

And if a script currently uses a timer you could also change it to the above setup by just adding that inside the Program() method. You might need to add the whole Method if not there:
public Program() { Runtime.UpdateFrequency = UpdateFrequency.Update100; } ... public void Main(string argument) { ....

While some scripts depend on running often so usually if a script already has it like that the update rate probably is intentional and changing it might cause issues. (Vector Thrusters will probably react a bit slow if only triggered every 100ths tick especially with speed mods.)
Midnightxrush Apr 24, 2018 @ 2:18pm 
So basicaly Space engineers net code is ♥♥♥♥ even with no mods playing in server the multiplayer code is outdated as ♥♥♥♥. and everyone just lags horrible trying to sync to server and everyone else. Only thing you can do is set server to high on cpu and run torch. unless you are running this from same mechine your playing from then you pc is prob just poop. but till this patch comes out everyone has this issue with mods or no mods.
Last edited by Midnightxrush; Apr 24, 2018 @ 2:18pm
Sgt.Morrigahngaming Apr 25, 2018 @ 12:01am 
I noticed that whenever anyone set up a script for anything, it would lag the server for everyone .. everything more or less stopped for 5-10 seconds, before a small rubberbanding, and then settled again.. and this happen everytime someone was adding a new script or updated a script in the programmable block..
Atm, I'm running tests with no scripts on the server to see if it's more stable... gotta start at one side no matter what.

Aslo .. when it come to the server itself .. I'm renting it from ServerBlend.com .. I honestly can't tell how the system is set up ( if it's dedi drive/partition to every customer renting, or one drive with VS set for each customer and so on ) .. so I can't help with info there. Over the course of years I've been renting all kinds of servers there, I really haven't had issues like this before ( but then again, back in the day before planets, we didn't have all these scripts )
Stollie Apr 25, 2018 @ 2:38am 
I have a friend who was running ISY's Inventory reporting the exact same issue, he grinded down the PB set up a new one with the script and it went away O.o
ohh ... gotta test that :D thanks
DiabloDBS Apr 25, 2018 @ 2:13pm 
Mmh Server Blend actually looks like it might work well. At least if you did a custom server. 22£ isn't too bad for an 7700k with 64GB ram.

Hope that the issue will resolve itself with just installing a new PB with isy's on it. If not figuring out what puts load on the system might be a good idea next.
Well .. that didn't work .. I replaced ALL PB on all bases, vehicles, ships .. but still lags out...
We all removed the PB for the solar script... and it seem more stable... but still to much at times. But, atleast the solar panels are not spazzing out like they are playing helicopters anymore when there is no rotors there lol
More testing to do..
hawley.kevin Apr 27, 2018 @ 5:04am 
turn off shadows completely
DiabloDBS Apr 27, 2018 @ 11:00am 
Any news? Would really like to know if the provider might be the issue .. 22£ / month sounds like something i could recommend to others if the servers have no issues :-X

Originally posted by hawley.kevin:
turn off shadows completely

Well that would certainly help with FPS problems. But as the Simspeed most probably is a server side issue i doubt this will have any effect at all for the server side.
Stollie Apr 28, 2018 @ 5:06am 
Dont use rotors or pisons on MP servers, they almost inevitably kill sim speed so does running scripts.

A lot of stable MP servers disable projectors, PB's, pistons and rotors. Sucks I know but price you pay until MP is fixed.
Wygos Apr 29, 2018 @ 12:19am 
Originally posted by Stollie:
Dont use rotors or pisons on MP servers, they almost inevitably kill sim speed so does running scripts.

A lot of stable MP servers disable projectors, PB's, pistons and rotors. Sucks I know but price you pay until MP is fixed.
Until?.....dreamer.
DiabloDBS Apr 29, 2018 @ 6:28am 
Originally posted by Purple Chapter:
Until?.....dreamer.

Dream Big! But expect the worst. And you'll be prepared for anything.
Galon007 Jun 15, 2020 @ 2:43am 
MP is cool but laggy as hell no matter on what server you want to play its total lagfest. I dont think they gonna fix it any soon.
Rox Jun 15, 2020 @ 3:25am 
pointless necro post is pointless >.<
Galon007 Jun 15, 2020 @ 3:33am 
Originally posted by Rox:
pointless necro post is pointless >.<

I agree with you, next time write something more pointless.
< >
Showing 1-15 of 20 comments
Per page: 1530 50

Date Posted: Apr 24, 2018 @ 1:42pm
Posts: 20