viktor-ferenczi / multigrid-projector

Multigrid Projector plugin for the Space Engineers game.
MIT License
23 stars 6 forks source link

Block weld check whitelist suggestion #41

Open OwendB1 opened 2 years ago

OwendB1 commented 2 years ago

We're experiencing some really bad lag whenever a singular block gets welded on any grid on our server. Talking about a .6 simspeed drop when using the plugin and negligible simspeed drop when we don't use it.

Would it be possible to make a whitelist for only running the multigrid projector logic when a piston, rotor or hinge gets welded?

viktor-ferenczi commented 2 years ago

Is the slowdown reproducible while welding the same blueprint in a world save from the server in single player? (Load the server's world save in single player.)

Is the slowdown reproducible while welding the same blueprint in an empty world in single player? (With the mods required if the blueprint depends on any mod.)

Could you please send me the blueprint causing the slowdown and point out the problem block? If the problem happens only with the server's world save or mod(s) loaded, then I need those as well.

It is not possible to have such a "whitelist", because the Multigrid Projector replaces the whole welding logic.

OwendB1 commented 2 years ago

Could it be that the worse your connection is the worse the slowdown is on the server? The slowdown is reproducable on any blocks I weld on the grid in question and also is reproducable on any other grids but is more significant the more subgrids/size the grid has (on the server).

OwendB1 commented 2 years ago

The slowdown is reproducible when welding the same grid in the single player version of the world. Slowdown seems to get progressively worse the more of the grid gets welded up.

viktor-ferenczi commented 2 years ago

Please join the SE Mods Discord and send me a world save (without the Backup folder) in private chat. Thanks!

OwendB1 commented 2 years ago

I'll get you a world copy tomorrow :)

viktor-ferenczi commented 1 year ago

@OwendB1 Is this issue still happening?

OwendB1 commented 1 year ago

As far as I am aware it still does, I'll go and test it now.

viktor-ferenczi commented 1 year ago

Just send me a world save where it happens via SE Mods if it would still happen. Also the blueprint welded and instructions where to look in the world for the projector involved.

OwendB1 commented 1 year ago

Any world with a 15k blocks grid that has a few subgrids will quickly see performance degradation after only welding a couple hundred blocks or so. I used this grid as a test in particular: https://steamcommunity.com/sharedfiles/filedetails/?id=2550111332