Jump to content

[Solved] My Mod Works for Me But Not For A Friend


Magthidon

Recommended Posts

Hello Everyone!

 

I've been working on a mod for Minecraft and I just got to the point where I wanted to share it with my friend.  I emailed him the .jar file.  He starts up Minecraft just fine, but when he goes to single player, his game gives him a "Cannot connect to Server" error.  I tested the mod by putting it into my own Minecraft installation and it played just fine for me.

 

What is going on here?

Link to comment
Share on other sites

Well, I know he has the right version of forge, the lastest 1.7.10 build, and that's the version I used to test it in my own Minecraft version.

 

I'm not sure which version of Java he has on his computer, I can ask him later when he gets up.

 

I don't have time to upload it to Dropbox at the moment, but I can do that when I get home from class.

Link to comment
Share on other sites

I went through his logs and the only thing I could see that really stood out (besides the errors generated from missing textures):

 

[19:44:07] [server thread/INFO]: fastdesigns lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}

 

Here's a link to the logs:

https://www.dropbox.com/s/hzgmu96fgzp76ym/Forge%20Logs.zip?dl=0

Link to comment
Share on other sites

This looks like it's the issue:

 

java.lang.NoSuchMethodError: java.util.Map.replace(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at com.tetra.skyrimmod.entity.player.extended.ExtendedPlayer.loadNBTData(ExtendedPlayer.java:179) ~[ExtendedPlayer.class:?]
at com.tetra.skyrimmod.network.messages.MessageSyncPlayerProps$Handler.onMessage(MessageSyncPlayerProps.java:47) ~[MessageSyncPlayerProps$Handler.class:?]
        at com.tetra.skyrimmod.network.messages.MessageSyncPlayerProps$Handler.onMessage(MessageSyncPlayerProps.java:40) ~[MessageSyncPlayerProps$Handler.class:?]

 

Something about your packets and ExtendedPlayer is screwy.  You should post the relevant classes.

Link to comment
Share on other sites

This looks like it's the issue:

 

java.lang.NoSuchMethodError: java.util.Map.replace(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
at com.tetra.skyrimmod.entity.player.extended.ExtendedPlayer.loadNBTData(ExtendedPlayer.java:179) ~[ExtendedPlayer.class:?]
at com.tetra.skyrimmod.network.messages.MessageSyncPlayerProps$Handler.onMessage(MessageSyncPlayerProps.java:47) ~[MessageSyncPlayerProps$Handler.class:?]
        at com.tetra.skyrimmod.network.messages.MessageSyncPlayerProps$Handler.onMessage(MessageSyncPlayerProps.java:40) ~[MessageSyncPlayerProps$Handler.class:?]

 

Something about your packets and ExtendedPlayer is screwy.  You should post the relevant classes.

 

Haha, I missed that one.  Thanks!  It didn't like the way I was handling the Player NBT Tag.  That error should be fixed up now.  I have to check back with my friend now.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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