What settings control how much/far/fast my server will send to a new client.

If I pregen or explore on my server and then delete the DB on my client, once I rejoin my server I don't load everything back. I would like for a new client, that hasn't been anywhere, to load everything that has been generated so far. Is that possible? What settings on the server/client could I adjust to change this behavior? I have looked around the settings, tweaked some things, and thought I understood but what I expected hasn't been happening.
18 Replies
Miki_P98
Miki_P98•3mo ago
You can edit the DH RD on the client so that it covers everything that is already generated If you want the clients to download everything instead of only what is inside the DH RD, just send the players a download link with the server side DB
TrashyđŸ—‘Strolling
Just tested stuff out with these settings lodChunkRenderDistanceRadius = 4096 realTimeUpdateDistanceRadiusInChunks = 4096 maxSyncOnLoadRequestDistance = 4096 maxGenerationRequestDistance = 4096 synchronizeOnLoad = true maxDataTransferSpeed = 800000 enableRealTimeUpdates = true distantGeneratorMode = "PRE_EXISTING_ONLY" enableDistantGeneration = true After loading in and waiting I could see ~500 blocks. I went 2,000 blocks in 1 direction. Everything was loaded and could see 2,000 blocks generated. I teleport back to 0 and leave. I delete the client DB and when I load back in all I get is the original ~500 blocks. I can't see any of the previously explored area. After testing and getting those results I left the client loaded and just noticed that some more had come in but barely past where I could already see. Maybe it will load the rest but very very slowly. What could I change to have this load in as much as possible as quickly as possible? Everybody will be on LAN and with a quick enough PC.
Miki_P98
Miki_P98•3mo ago
What are the client side settings? Try (on the client): - increasing the transfer speed / bandwidth limit - increase the CPU load - make sure the DH RD covers the already generated terrain Also DH measures everything in chunks, the pregen is in chunks, the settings are also in chunks
Arcaryx
Arcaryx•2mo ago
I believe I'm observing similar behavior, but with a dedicated server. Pregen is done with 2k chunk radius (with INTERNAL_SERVER, and I am 100% sure the LoDs are generated on the server). Player connects or teleports and they only get <50 chunks around their position before nothing is requested/sent. If the player has "I Paid For the Whole CPU", when they disconnect and rejoin they are sent the remaining chunks up to the server configured 256 limit. If they do not have this setting, they are only sent a few more chunks before it stops sending again. I feel like the expected behavior here is for the client to request all the chunks needed immediately, and that the client's CPU load setting shouldn't create an arbitrary maximum number of chunks requested.
Arcaryx
Arcaryx•2mo ago
No description
No description
No description
No description
Arcaryx
Arcaryx•2mo ago
Are there any settings to tweak to resolve this?
Helmsby
Helmsby•2mo ago
Im having the same Problem rn, after like 4/5, min after joining the server the Import tasks just stop
Jckf
Jckf•2mo ago
The client will absolutely not request everything immediately, and the data received from the server still needs processing The default concurrency limit for requests is 20 Depending on the CPU preset on the client and the performance of your CPU, DH might end up pausing requests while processing the data it has already received But also; I am pretty sure that there is some scenario where DH pauses seemingly without any reason. In my experience it will resume again after a few minutes.
Arcaryx
Arcaryx•2mo ago
afaik, it pauses indefinitely
Helmsby
Helmsby•2mo ago
I will have the game open in the background for a few hours to test it, but yea i think it pauses until rejoin.. ok just tested, it does continue. the first pause was like 10min, then 2min, fluctuating between. Just leave the game open for a while @Arcaryx
Arcaryx
Arcaryx•2mo ago
I'll have to give it another test, might not have waited longer than 10 minutes. Just seems like really weird behavior so I assumed misconfiguration or bug.
Helmsby
Helmsby•2mo ago
yea i just got confused because literally everything here stops fully. i wouldve expected to see the processing happening in some way
No description
Jckf
Jckf•2mo ago
I've mentioned this to @BackSun before, but I don't think we have any theories about why it happens đŸ¤”
BackSun
BackSun•2mo ago
It says there are 11 world gen tasks in progress, so that tells me DH is waiting on the server to send up more data. Maybe something broke so DH thinks it’s waiting on something but that something never arrives or arrives and is never handled?
Helmsby
Helmsby•2mo ago
oh this screenshot isnt from the pause its from when it picked back up everythings 0/completed if it freezes the same as if everythings finished
Jckf
Jckf•2mo ago
This is my experience as well And it doesn't appear to matter if the server is using the mod or the plugin. Users of both are having the issue.
Helmsby
Helmsby•2mo ago
this is how it looks when it pauses. File Handler and Update propagator can become active for like a splitsecond sometimes but thats about it
No description
Helmsby
Helmsby•2mo ago
after 2-10min it just starts going again

Did you find this page helpful?