#bug not letting my friend join my game

20 messages · Page 1 of 1 (latest)

celest yacht
#

so me and my friend have been playing a modpack for a while now and the other week he had to factory reset his computer because certain games were just turning the computer off, since getting it back up and running we have tried playing the pack together again and i made sure we had the same one installed same version and everything but whenever he tries to join he gets this error message. (see image)
im sorry if this is unrelated to you guys im just not sure what to do and i dont want to give up on the world

sonic nexusBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

vocal dewBOT
#

Forge is not the smartest. The criteria it judges 'version differences' on is not just the version number, but also what registry objects (like items and blocks) exist.

This means that when you add custom things with KubeJS, Forge can sometimes show a version mismatch error with the exact same versions shown on both sides.

The simple solution for this is to make sure that the startup_scripts folder is the same on client and server.

rapid kettle
#

Do what is stated there, it's the same cause

celest yacht
#

idk what client and sever is but thank you so much

celest yacht
#

also we are both using curseforge but the pack is listed as fabric so i put that, we are on the same version

mighty junco
#

I wonder if it worked

vocal dewBOT
#

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue!
This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.

Do you have any other questions regarding your issue? Feel free to ask!
Note: You should create a new post for unrelated issues.

mighty junco
#

Hopefully it did

celest yacht
celest yacht
mighty junco
#

This is isn't my expertise

vocal dewBOT
#

Gnome clarifies that "making the startup scripts folder the same on client and server" means ensuring that the entire folder containing your KubeJS JavaScript files (usually located at kubejs/server_scripts for server-side scripts and kubejs/client_scripts for client-side scripts) is identical on both the game client and the server. This ensures that all KubeJS scripts are loaded consistently across both environments, preventing potential desyncs or errors. You would typically achieve this by copying the relevant kubejs subfolders directly from your development environment to both the client's game directory and the server's root directory

mighty junco
celest yacht
celest yacht
vocal dewBOT
#

Gnome understands that further clarification is needed.

To make the startup scripts folder the same:

  1. Locate the kubejs folder: In your Minecraft installation, there should be a kubejs folder. Inside it, you will typically find subfolders like server_scripts and client_scripts.
  2. Ensure identical content: Whatever .js files are inside the kubejs/server_scripts folder on your computer (the host of the game), those exact same files, with the exact same content, must be in the kubejs/server_scripts folder on your friend's computer. The same applies to client_scripts.
  3. How to do it (example):
    • If you are hosting a server: Copy the entire kubejs folder from your game installation to your friend's game installation. This will overwrite their KubeJS scripts with yours, ensuring they are identical.
    • If you are playing a modpack together: Ensure both of you downloaded the exact same version of the modpack from the same source. Modpack launchers (like CurseForge, MultiMC, ATLauncher) usually handle this automatically.
    • Manual sync: If you're manually managing mods, you would literally copy the kubejs folder from one computer to the other.

This is crucial because KubeJS scripts modify game behavior. If the client and server have different scripts, they will disagree on how the game should work, leading to errors and preventing connection

celest yacht
vocal dewBOT
#

Gnome acknowledges

celest yacht