LOD's only rendering 1 chunk ahead

Today I started a multiplayer server with one of my friends and we were planing to use Distant Horizons with Terralith and Tectonic. I got the server up and pre loaded a really big area of I think a total of 3000-6000 chunks (cant remember exactly). At the time I was using Sodium, Iris, Indium, The mod to see your body in first person, not enough animations, eating animations, and presence footsteps. Even after turning off shaders (Bliss) and the mods I realized that no matter what render distance I had I could only see 1 chunk ahead of my actual render distance. My friend on the other hand was able to see 100's of chunks ahead perfectly fine. If it helps, I set the server renderdistance to 256 just to make sure Distant Horizons could go that far in the server. Also the same thing happened when I checked in a singleplayer world. I followed all of the steps in the FAQ section but nothing helped.
34 Replies
Puhpine
Puhpine3w ago
You set the servers render distance to 256? I think it's on fire rn
DobeyOP
DobeyOP3w ago
nah it was working fine
Puhpine
Puhpine3w ago
Huh, maybe it just hard caps at 32 How did you preload it?
DobeyOP
DobeyOP3w ago
using chunky
Puhpine
Puhpine3w ago
You say the same thing happened in singleplayer? What do you mean by that? Do any LODs show up?
DobeyOP
DobeyOP3w ago
literally just 1 chunk ahead of my render distance say I set it to 8 then I'll get 9 chunks even when it is set to 128 chunks in the DH settings
Puhpine
Puhpine3w ago
Let's focus on singleplayer first then, as that should just work. /slowgen /slowgen
YAGPDB.xyz
YAGPDB.xyz3w ago
If it feels like LoD generation with Distant Generator is too slow: Try increasing CPU Load in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU. To see if Distant Generator is really working or not: 1) Check CPU usage while in-game, using Aggressive settings of CPU Load. If CPU usage's hovering around 80-100%, the LoDs are generating in the background. 2) Go to DH settings > Advanced Options > Debug > Wireframe, set Enable Debug Wireframe Rendering and Show World Gen Queue to True. Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)
Puhpine
Puhpine3w ago
Can you try the second part of the second part? To see if it's trying to generate new LODs
DobeyOP
DobeyOP3w ago
It is trying to generate new LODs And actually I think it might be working Yeah it definitely is working in single player now I just added back all of the mods and the shaderpack I was using and everything is working on singleplayer and I just tried on multiplayer but I don't see the visualization of the world gen tasks even with the settings on making me think that its not working
Puhpine
Puhpine3w ago
It won't, on multiplayer. How did you try to preload and how did you try to get those LODs visible on the server?
DobeyOP
DobeyOP3w ago
I preloaded by loading the world and then using the chunky mod to load chunks in a radius of 1000. After that I joined the server and turned on Distant Horizons and it worked but only after I changed by render distance to 8 instead of 24 and Distant Horizons showed the full 24 chunks even though I was at 8 but not the other 104 chunks I had set it to
Puhpine
Puhpine3w ago
You also need to move the SQLite files around /lodstored
YAGPDB.xyz
YAGPDB.xyz3w ago
Single Player: - Overworld: .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite - Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite - End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite Multiplayer: - .minecraft/Distant_Horizons_server_data/SERVER_NAME/
Puhpine
Puhpine3w ago
Replace the servers SQLite file with the one you preloaded Perhaps you can ask your friend how he did it
DobeyOP
DobeyOP3w ago
all he did was redownload his shader and it worked also where do you think I could find the file with the preloaded chunks, because idk where they are
Puhpine
Puhpine3w ago
Here
DobeyOP
DobeyOP3w ago
but like what am I supposed to replace it with because I don't have another SQLite file to preload the Distant Horizons Server file with
Puhpine
Puhpine3w ago
First you delete the multiplayer sqlite file. Can you find that?
DobeyOP
DobeyOP3w ago
yeah the one in my .minecraft/Distant Horizons Server Data right?
Puhpine
Puhpine3w ago
Yep Then you go to .minecraft/saves/WORLD-NAME/data And copy the file there Paste this in the distant horizons server data folder, under the servers name
DobeyOP
DobeyOP3w ago
but the multiplayer world isn't in my .minecraft/saves it is in the folder with all of its data. It does have a data folder but there are no SQLite files in it
Puhpine
Puhpine3w ago
What is "the folder with all of its data"?
DobeyOP
DobeyOP3w ago
here let me send screenshots hold up
DobeyOP
DobeyOP3w ago
No description
No description
No description
DobeyOP
DobeyOP3w ago
This is the server and I show the process of going into the data folder and what is in it
Puhpine
Puhpine3w ago
Ah I see the miscommunication When I mean multiplayer folder, I do not mean the data folder on the server. I mean the .minecraft/Distant_Horizons_server_data folder located on the client. You need to copy the SQLite from .minecraft/saves/WORLDNAME/data to .minecraft/Distant_Horizons_server_data/SERVERNAME
DobeyOP
DobeyOP3w ago
I dont have the world saved in my .minecraft folder I used commands on the command prompt to load chunks in advance for the server, not on a single player world
Puhpine
Puhpine3w ago
I see, that is not how you should pregenerate a world and I have no idea how in the world that worked for your friend
DobeyOP
DobeyOP3w ago
a lot of people said that chunky worked for them
Puhpine
Puhpine3w ago
Yes, but it has some extra steps you missed
DobeyOP
DobeyOP3w ago
oh
Puhpine
Puhpine3w ago
You will need to make a new singleplayer world with the same seed, then replace the world with the world on the server, then join that world (in singleplayer still), afk until all chunks are loaded, and then do what I told you previously. Alternatively, you could use the #Server side fork (pinned for install). But that can be very buggy/laggy/crash your server. It is not done yet. The serverside fork will let the server be able to generate LODs and then send those to the client.
DobeyOP
DobeyOP3w ago
oh okay I think I see what you are saying, I'll try that now