Nightly Build (Serverside) Causing Server To Crash
I'm trying to run my Forge 1.18.2-40.2.18 (Java 21) server with the nightly build of DH, but it crashes saying "Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER"
I have no clue why it's doing this as I was using the nightly build for 1.20 on a server not too long ago without much issue.
117 Replies
and you're sure you used the latest nightly build from #links-n-downloads ?
pretty sure. This is the link I'm using: https://gitlab.com/distant-horizons-team/distant-horizons/-/jobs/artifacts/main/download?job=build:%20[1.18.2]
ill try for myself in a moment
where in the world do you download the forge server jar
?
i cant find it
reverse help me
isn't it just on the forge website?
Forge Files
Minecraft Forge downloads
Downloads for Minecraft Forge for Minecraft 1.18.2
Recommended: 40.3.0
Latest: 40.3.3
I'm using 40.2.18
oh the installer also gives you the server jar?
pretty sure?
very clear
I think it asks if you want to install client or server
its complaining about not finding the directory after i put in my downloads folder
honestly I don't know anything about setting up a forge server manually. I use Witherhosting for my server
oh it worked now
okay
can confirm, also happens to me
that's weird
is there a version of the nightly build that is actually serverside?
its a bug
that version should work
let me test on another version
mc version
gonna test 1.20.1 rq
k
looks like its working fine on 1.20.1
let me test some more versions
1.19.2 works
1.17.1 crashes
1.16.5 doesnt even want to run without DH
is there a way to access different nightly builds of 1.18.2?
GitLab
Pipelines · Distant-Horizons-Team / Distant Horizons · GitLab
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...
where in there would I download older 1.18.2 2.3 builds? I'm unfamiliar with gitlab
you click on the download button on the right, corresponding to the commit that you want to download
you can download builds from around a week ago
because they get automatically deleted
i do archive them though, if you want to use something older
yeah that's what I was asking for
cause my thought is maybe it's a newer bug
@Puhpine (GMT +2) do you have a version of the 1.18.2 nightly that you know worked at least at some point?
never tried it
so i dont know
alright then do you have some older builds of 1.18.2 2.3?
yes
you need to download them via torrents
DH_Nightly_12-2024:
magnet:?xt=urn:btih:8c28d24b55b56fcb52af502ec58fda945ee5a821&dn=DH_Nightly_12-2024.7z&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce
DH_Nightly_1-2025:
magnet:?xt=urn:btih:b6eeacdcff5a0fb912e68e897f36b9ebe866af7b&dn=DH_Nightly_1-2025.7z&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce
how do I do that?
installing qbittorrent is the first step
then click on the oval/plus in the top left
and paste the link
I got here but now it doesn't really seem to be doing anything

give it a moment
maybe it hasnt found my pc yet
still 0%

i assume thats you
but its not connecting
yeah nothing's happening
are you able to just send the file
well its 8 gb
so not really
thats why its a torrent
and i havent had any problems with people downloading it before
the other DH versions are like 17.5mb
(from the limited people that tried)
why is that one 8gb?
this is a collection of every nightly build from december 2024
ah
could you just send one?
which one?
ill dm it to you i guess
let's say one from early december
sure
okay the max is 10 mb in dm's so ill break our own rules and send it here anyway
thanks, ill try this now
from

it works, I think. At least, the server starts
now I'll have to test if it actually like, functions correctly
well you're using a build that is missing two months of bug fixes...
I believe it's working(?)
it seems to be generating lods just fine
thats good at least
you also put this version on the client i presume?
yes
how do I get the thing where it gives me a little estimate towards the bottom of my screen of how long rendering will take?
that was added after this build
ah
what build was that added?
not sure
could you send a later build then? one from maybe end of december?
from

oh i know why the torrent didnt download
my vpn switched my open port, so i wasnt port forwarded anymore
would that setting be automatically enabled if the version had it?
yes
k, this version also does not have it
did you say I'd be able to download the torrent now?
well suddenly im unable to port forward anymore
and im not sure why
i just asked in the qbittorrent discord, maybe theyll know
alright
would you be able to let me know if you can get it to work? I'd like to go through and test all of these but I don't want to make you send em all individually lol
ill first wait for a response from the qbittorrent discord
if they dont know, i guess ill devote a few hours of my time in seeing what commit broke it
alrighty
oh i know
i forgot about my firewall
yep it works now
try again
im going to bed but ill leave my pc on for like half an hour more
so if you want to download them today, do so now please @Ethonodon
Hi, I’m away from the computer rn but I should be able to get back in about 20 minutes or so
alright, ill leave it on for you
great, they're downloading now
eyy
they've both stalled now
yea im not uploading anymore
im not sure why
that's weird
yea
im not sure what to do about that
it just resumed
oh nice
my whole internet connection broke then lol

so it was a problem on my end
all good, it seems to be proceeding smoothly now
did they download?
they're not uploading anymroe
oh guess not
one of them is downloaded?
yes, the other is almost downloaded too
lets go
i can go to bed now
what does seeding mean?

that you're now sharing the file with other people
but there are no other people who want it
so its not uploading
that sound sad 🥺
Lol
Then you should download it
Not from me though
I'm sleeping now
Me too, goodnight!
thanks, and sorry for keeping you up lol
@Puhpine (GMT +2) just in case it interests you, after some testing it seems that the crashing issue was introduced at this build

thanks, thats very useful when trying to debug the cause of the issue
not sure what the changes are in this
https://gitlab.com/distant-horizons-team/distant-horizons/-/commit/2bf96ea781de0126144407de14d865d8b3dc2ed0
GitLab
Update core (2bf96ea7) · Commits · Distant-Horizons-Team / Distant ...
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...
@Puhpine (GMT +2) do you know if there's a way to check the LOD generation progress in the versions before they added the little estimate at the bottom of the screen?
like a command or anything?
Not precisely, but you can look at the F3 menu and look for a line with "world gen tasks..."
is that something that should still be visible with the serverside fork?
I would assume that'd be one of these, right?

I guess it will be
World Gen/Pull Chunk Tasks: 239/0 (in progress 20)
alright
it is definitely generating new lods, just wanted to see if I could see that in like numerical form anywhere
yea, if it says zero it has finished generating
@Puhpine (GMT +2) do you know why this would happen? LOD detail not increasing as I get closer

Was an issue with n-sized generation, which is now very recently off by default
So make sure it's off for you as well
what is that and how do I turn it off?
I'm not qualified enough to explain it, and I don't know the config location, but I believe it was in a tab called experiments
client config or server?
Not sure
is it this?

No
this?

It was changed very recently, and I've not interacted with it before. That's why I don't know
Seems like it?
Maybe
so would I just change that to true
Not sure
If that's enough
what>
?
I don't know
do you know of someone who might?
A dev, probably. So you might need to wait for one to read this
James or pshsh, maybe jckf
should I maybe just make another thread asking about how to disable n-sized generation?
Yea or ask it in #beta-testing