Sync

Sync

12M Downloads

Shell Constructor Performance | Chunk Load

Sir-Will opened this issue ยท 4 comments

commented

hey,

the shells create much lag if there are many of them as they allways load the chunk and don't stop to load if the player is offline.
Would it be possible to change it so that the shells don't load chunks if it is empty and only load the chunk if owner of the clone is online? As this is a blocker it would be great if that get changed.

http://i.imgur.com/WkJ4fyH.png

We have over 500 shells on the server which check nonstop for a treadmill or RF power because they are allways force loaded. If there would be no chunk loading it would solve the performance issue and players can no longer abuse them to load the base 24/7.

It is possible to disable the chunk load in the config but then you don't respawn in your shell if you are not in your base or in a other world (chunk not loaded) so it is no solution.

commented

Sync already allows the option to disable chunkloading.

gameplay {
# Added by request, mod is made to chunkload shells. Untested, unsupported.
# Could crash your world fatally.
# Disable at own risk.
#
# Min: 0
# Max: 1
I:allowChunkLoading=1

commented

You haven't read my post completely. Read my last sentence!

commented

How do you expect to spawn in an unloaded chunk? For that to work the chunk MUST be loaded. Your current options are to descrease the number of shells (ie chunk loaders): create "zones" where players must place shells in order to vastly lower the number of loaded chunks (this is up to you to enforce), restrict players in the numbers of shells they can have at any time (again must be enforced by you however ichun could possibly implement a limit), or tell players to clean up any and all unused shells (see previous notes). 500 simultaneous chunk loaders is quite, extreme. Any server will be brought to a stand still if it has to keep that many chunks loaded, plus players, plus spawn, plus any other dimensions, etc.

commented

Load the chunk of the shell only if there is a clone in it and the owner of the clone is online or the idea from @kihira to save the shells in a map and search for shells in this map and load the specific chunk for the moment of the respawn.

It is already limited to 1 shell per player but there are 5504 player files.