Jump to content

Recommended Posts

Posted

Hi everyone,

 

I recently started to code a mod and now I'm starting the part consisting in creating the dialog between the server and the client.

But I was wondering if a mod could be different on the Client and on the Server. Let's imagine that all the dialog between those two should be correct since they register the same channels and the same type data that go through. Would the rest of the mod cause any trouble because it is different? Like, when the player try to log on a the server, will this player be able to do so ?

 

I ask because I know that the list of mod of the server is compared with the client's when this last one attempt to log in.

 

thanks in advance for your help

Posted

Technically, most mods are different client-to-server because of rendering code and other client-side-only code

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

One of my mods (alt paintings) has a bunch of relatively large images that no physical server would ever need. After debugging, I compile it twice, the 2nd after deleting all assets. I give it a different file name and load it onto my server without a hitch.

 

Just don't create sync problems that will jumble reality (like boats did before 1.9)

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

Just don't create sync problems that will jumble reality (like boats did before 1.9)

 

Haha, boats.

 

Wasn't that long ago that I was fooling around in my own mod (1.7.10, dedicated server that was the same machine as my client) and the server's location for me was so far out of synch that the chunk directly under me go unloaded.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.