DH on server modpack

Crash Report UUID: 1766650b-053f-4f9a-9e0f-b371c5c22f22
FML: 47.2
Forge: net.minecraftforge:47.2.1[22:13:04] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
Oculus (oculus) has failed to load correctly
§7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
]
at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:246) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$20(ModLoader.java:210) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:210) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$13(ModLoader.java:183) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:30) ~[forge-1.20.1-47.2.1-universal.jar%23422!/:?] {re:classloading}
at net.minecraft.server.Main.main(Main.java:125) ~[server-1.20.1-20230612.114412-srg.jar%23417!/:?] {re:mixin,re:classloading,pl:mixin:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:103) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$makeService$0(CommonServerLaunchHandler.java:27) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
[22:13:04] [F-S-S/WARNING] Server is successfully stopped.
Crash Report UUID: 1766650b-053f-4f9a-9e0f-b371c5c22f22
FML: 47.2
Forge: net.minecraftforge:47.2.1[22:13:04] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
Oculus (oculus) has failed to load correctly
§7java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
]
at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:246) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$20(ModLoader.java:210) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:210) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$13(ModLoader.java:183) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[fmlcore-1.20.1-47.2.1.jar%23418!/:?] {}
at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:30) ~[forge-1.20.1-47.2.1-universal.jar%23422!/:?] {re:classloading}
at net.minecraft.server.Main.main(Main.java:125) ~[server-1.20.1-20230612.114412-srg.jar%23417!/:?] {re:mixin,re:classloading,pl:mixin:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:103) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$makeService$0(CommonServerLaunchHandler.java:27) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
[22:13:04] [F-S-S/WARNING] Server is successfully stopped.
77 Replies
StaubundSchatten
server yeets this at me when playing with a DH modpack
Yeshi
Yeshi4mo ago
Are you trying to run DH on the server? If so are you using #Server side fork ?
StaubundSchatten
i have no idea what this is so DH is client side? but if it is how would the client simulate unrendered chunks? since rendering is the servers job
Yeshi
Yeshi4mo ago
Rendering is never done by servers
StaubundSchatten
wait its not?
Yeshi
Yeshi4mo ago
The server only sends chunk data to the clients
StaubundSchatten
but i though the server has to generate the chunks
Yeshi
Yeshi4mo ago
It does yeah
StaubundSchatten
yea i meant generating not rendering
Yeshi
Yeshi4mo ago
Fair enough
StaubundSchatten
so if the server has to generate the chunks but DH is client side how would DH simulate chunks if the server doesnt generate em
Yeshi
Yeshi4mo ago
On multiplayer, LODs are only generated within the max vanilla render distance as specified in the server.properties file. LODs are saved to disk on the client where they can be reloaded in future sessions
StaubundSchatten
so there will only LODs for chuinks that were rendered by the server?
Yeshi
Yeshi4mo ago
Only chunks that the player explores
StaubundSchatten
is there a way i can let the server render chunks that i didnt explore? ore let it simulate chunks?
Yeshi
Yeshi4mo ago
With #Server side fork yes
StaubundSchatten
last time someone was talking about a "chunky" mod this might help?
Yeshi
Yeshi4mo ago
More info about that is in the pinned message inside the thread
StaubundSchatten
again what is that? what is fork
StaubundSchatten
:Frog101:
Yeshi
Yeshi4mo ago
Modified version of DH adding proper server support
StaubundSchatten
okay lemme check it out
Yeshi
Yeshi4mo ago
Read the pinned message in the thread for more info
StaubundSchatten
alr i got the special mod now (i guess i just had to pull out the jar file from the forge ordner and yeet it inmto mods) but does it also need oculus and embeddium on the server? and i have no clue whast this server port stuff is theyr talking about in there also the mod i downloaded via ur link has the exact same name as the DH i tried top use until now
Yeshi
Yeshi4mo ago
Embeddium and oculus shouldn't be put on a server FYI you need to put the server side fork jar on both the server and the client
StaubundSchatten
FYI? yep i deleted old DH mod and exchanged it with the one i downloaded now (hope that was right)
Yeshi
Yeshi4mo ago
"for your information"
StaubundSchatten
oh well okay
Yeshi
Yeshi4mo ago
once you've got the mod on both the server and the client, you should see a few more bits of info on the f3 debug menu
StaubundSchatten
so should i start the server now? what about the port thingy?
Yeshi
Yeshi4mo ago
you need to follow the instructions on forwarding that extra port first
StaubundSchatten
i have no clue what that even is
Yeshi
Yeshi4mo ago
unless you plan on using hamachi or over LAN if you do, no need to port forward
StaubundSchatten
nah normal internet
Yeshi
Yeshi4mo ago
are you paying for a server, or are you hosting from your own computer
StaubundSchatten
i bough one
Yeshi
Yeshi4mo ago
try contacting customer support, and explain that you need to open port 25049 for the serverside fork of DH to work properly
StaubundSchatten
this doesnt help me
No description
Yeshi
Yeshi4mo ago
^ this
StaubundSchatten
customer support of what
Yeshi
Yeshi4mo ago
of the company you bought your minecraft server from
StaubundSchatten
uhhh note sure if i have to i mean i can access literally everything of the server
Yeshi
Yeshi4mo ago
from my understanding you're paying for just a single minecraft server from a company, correct?
StaubundSchatten
but i have no clue what this port stuff even is despite knowing what i have to do well u can use that server for all kinds of games but ye i installed a forge server mods alr on it
Yeshi
Yeshi4mo ago
sounds like you got a VPS. try running the server then using a tool such as https://portchecker.co/ to check whether the port is open
Port Checker - Check Open Ports Online
Port Checker is a simple tool to check for open ports and test port forwarding setup on your router. Verify and diagnose connection errors on your computer.
StaubundSchatten
what is a port :Frog052: if its what i need to access files and stuff i have that yea "Game Port" if thats what i need idk
Yeshi
Yeshi4mo ago
A port is a virtual point where network connections start and end. Ports are software-based and managed by a computer's operating system. Each port is associated with a specific process or service.
StaubundSchatten
5 didgits
Yeshi
Yeshi4mo ago
You need to enter 25049 as the port to check (after starting your Minecraft server)
StaubundSchatten
so i have to start the server first?
Yeshi
Yeshi4mo ago
Yes. Start the server then check the port using this website
StaubundSchatten
okay ohhhkay the consolue is yelling some red text at me
Yeshi
Yeshi4mo ago
What errors are you getting?
StaubundSchatten
i dont really know its rushing through so fast rn but it seems to work anyway it preparing spawn area u usally have some red text yelled at me:Troll06: but the last times it worked anyway :Troll06:
Yeshi
Yeshi4mo ago
Try joining the server and send a screenshot of the f3 screen
StaubundSchatten
on it
Yeshi
Yeshi4mo ago
Nice. It works
No description
StaubundSchatten
okay? and about the prt? what do i have to do now? except to yell at my friend to use the new DH jar file
Yeshi
Yeshi4mo ago
Seems it was already open as the client is connected without any issues
StaubundSchatten
sooo everything is fine and ready to play now?
Yeshi
Yeshi4mo ago
Looks like it yeah
StaubundSchatten
uhh nice
Yeshi
Yeshi4mo ago
Wait for a few minutes to make sure distant generation works
StaubundSchatten
you mean the LODs?
Yeshi
Yeshi4mo ago
Yes
StaubundSchatten
looks like it
StaubundSchatten
i didnt move a bit
Yeshi
Yeshi4mo ago
With the server side fork, distant generation should work the same as it does in single player
StaubundSchatten
yee thats what i wanted very nice
Yeshi
Yeshi4mo ago
All ready to go then
StaubundSchatten
... this mod anyway again big thank you for helping, u guys here have the best support ive ever seen ngl :Frog035:
Yeshi
Yeshi4mo ago
No problem, always glad to help
StaubundSchatten
:Frog011: