DH server does not work for other players
I have a Fabric server on 1.21.4 using the same DH installation on both server and client. Works just fine for me as the host, but when my friend joins he doesn't see any LOD. He has the same mods as me and it works when he plays single player. The server says DH is running properly and distant generation is enabled. Our config files are default except high settings, 4096 kb upload and 30/60 requests per second.
What's going on?
80 Replies
for the record, my client and server folders are merged as such:

I see there's LOD files in both the
world
folder and the Distant_Horizons_server_data
folder. Both LOD folders are receiving updates while playing. Idk if there's anything wrong with my folder structure, but I would assume not.does it say "server has full DH support" in the f3 menu of the client?
Yes
can you send a screenshot of the f3 menu of the client?
It is probably important to say that Puhpine most likely asks if the line is present on the client for which DH does not work
Same for the SS
Just a clarification though, idk if needed
waiting for my friend to come online to take a screenshot
How do you scroll down on the F3 debug screen?
You can't, if any part of the F3 screen is cut out, you need to reduce the GUI scale in vanilla MC settings
ah
this is my debug screen, my friend will post his when he's online

this is my friend's who's experiencing the issues

this is what his horizon looks like (he's not seeing anything beyond the 32 chunk render distance, and ofc he sees less if I turn render distance down)

@Ran my friend isn't online right now, but seeing as DH works for him in single-player and the only config setting he touched is the fog setting, I don't see what he could've disabled to make it not work. It must be something else.
Anything he could've disabled that stops it from rendering any LOD should also break the mod in single-player, no?
It couldn't be a conflict with c2me could it? I figured you'd have said so already
no c2me is fine
@YAGPDB.xyz
/lodstored
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/
Server Mod
- Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite
- Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite
- End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Server Plugin
All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite
maybe he should delete the
.minecraft/Distant_Horizons_server_data/SERVER_NAME/
file if it exists?DH won't be able to generate LODs for chunks outside the vanilla render distance unless DH is installed on the server (DH 2.3.0+). Instead, as you travel around the world, LODs will be generated for areas you've visited.
If DH is installed on the server, it will work just like in singleplayer, gradually pregenerating chunks around the player. The server also has access to the
/dh pregen start <dimension> <origin> <chunkRadius>
command, useful when you want to pregen without anyone online.
For more information about serverside support, click hereGitLab
Server Owners · Wiki · Distant-Horizons-Team / Distant Horizons ...
This is a mod that adds a Level Of Detail (LOD) system to Minecraft. This implementation renders simplified chunks outside of the normal render distance allowing for an...
I'll tell him when he's online and get back to you
fwiw I have a fairly savvy/experienced player telling me the same thing
Three seperate DH clients were generating themselves for about a year
We just moved to 2.3 last night to try server side
my gal and I on LAN have no problem. Looks stunning, absolutely incredible, like the viral videos you see on socials
Her brother is across town and claims all the LOD's are blank
Claimed he deleted the .toml and .sqlite already, I was going to head over later today and verify
What does blank mean
My friend and I just tested it, he deleted the LOD files and it still doesn't work. They were over 4 GB, really weird
@Ran (UTC+11) any other ideas?
Okay send logs to see if there's any clue there
/logstored
You should send your
latest.log
file to provide additional useful information.
Logs are usually located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.this is his log
this is the server's log
Try without shaders?
I don't see how shaders could interfere
Ye they do sildurs for example disables dh lods
So maybe try without shaders and see if there still is an issue
It works in single player but not when he joins the server
hmmm
full suuport and the chunks are getting transfered weird issue
did you use the latest nigtly build on the client AND the server
both are using whichever version that modrinth gives you when you click download and select 1.21.4 and fabric
check #links-n-downloads and take the latest of of there and try again
these are "unstable" builds but most of the time they work great
we'll try it out in our next session
funny, we wait for him to come online all day and then he's too busy tending to his farm in the game for 6 hours before deciding it's time to try your suggestions
he's a farmer IRL and then he comes home and plays with his farm in minecraft xD
whahaha
funny
but does dh work when YOU connect to the server?
Yes
hmm
sure your friend has the latest?
he has the exact same installation as me
hmmmm shaders?
same
he only turned off bloom in the shader settings, everything else is identical
what now its extra weird
I read something about port forwarding some port for DH, tried it but it didn't work
no normaly its just the mc port
ye it did seem odd to me
what protocol is the port forwarded? UDP or TCP?
and what port is it? 25565? in AND out?
TCP
yeah
port?
25565
hmmmm hmmm
idk man maybe its a his thing and dh isnt supported on his pc
did you try conneccting from outside ur network?
again, dh works in single player for him and his debug page says the server supports DH
ye ye mb
I did ask another friend about how much he could see, it sounded like DH doesn't work for him on the server either but his answer was a bit vague...
can i maybe connect and see if the same issue occurs
dm me then? ONLY if its ok for you
sure, one sec
i will do nothing i promise


WDP found that it worked for him after he gave it a few minutes to initialize
I somehow missed the DH icon in the options menu, will check if my friend has rendering enabled in there. But he has replaced his config file with mine like 3 times and it's enabled for me, so I don't see why it would be disabled for him.
👍
Where tou able to test it with ur friend @Argonil
we checked the menu, rendering was enabled. Then we disabled and enabled it again, didn't work
then we tried the latest nightly build, didn't work
Did you wait a bit to see if they generate and you can check with spectator mode to see it more clearly
O let ur friend try with JUST dh and see if they generate
Tried, didn't work
What did you try, all of it ?
Yes.
Ye buddy I have to call in extra help I think
@Puhpine (GMT +1) really need help for this one, tldr: weird issue
Nothing interesting in here unfortunately, apart from the ip of the server...
(and the name of the server, lol)
Weird issue right?
I tested it on his server and my lods generated perfectly fine
Using whitelist anyway...
Would still advise you to upload it to mclo.gs next time
Why could I joint then
Sure it’s working?
Don’t forget to enable it in server.properties
Can you let your friend send you a screenshot of his mc with a normal render distance of 2? See if any terrain shows up at all
Think I'll ask him to reinstall everything. He already reinstalled DH but idk what else to try...
Ok keep us update
I disabled it for you
Ok np
I don't think it'll show anything, but yes
If that is indeed the case, let him delete the config file
/config
To edit the config, press the button next to the FOV slider to edit the config.
The config file found in .minecraft/config/DistantHorizons.toml
Just saw this in the changelog for Complementary Reimagined shaders:

That's the shader pack we're using, and my friend has an AMD GPU whereas I have Nvidia. Gonna see if it works now when he gets online
O ok nice work
Keep us updated and mark yours as a solution if that worked