Jump to content

[HELP] Server doesn't work: very strange...


FrancescoTG

Recommended Posts

Hi guys!

 

I've got an issue with my Mod:

when I start the test server with eclipse, I can join it only with eclipse's test client.

In fact, if I install my mod onto the normal Minecraft, I can't access the server.

Debugging the client, I saw this:

2013-02-08 14:37:21 [iNFO] [sTDOUT] Connecting to localhost, 25565

2013-02-08 14:37:22 [FINE] [ForgeModLoader] The server has compatibility level 2

2013-02-08 14:37:22 [FINE] [ForgeModLoader] The difference set is not equal: value differences={1=(Item 1, Type net.minecraft.block.BlockStone, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 1, Type aml, owned by Minecraft, ordinal 0, name null, claimedModId null), 2=(Item 2, Type net.minecraft.block.BlockGrass, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 2, Type akj, owned by Minecraft, ordinal 0, name null, claimedModId null),

[...]

2013-02-08 14:37:22 [sEVERE] [ForgeModLoader] FML has detected item discrepancies

2013-02-08 14:37:22 [sEVERE] [ForgeModLoader] Missing items : {}

2013-02-08 14:37:22 [sEVERE] [ForgeModLoader] Mismatched items : {1=(Item 1, Type net.minecraft.block.BlockStone, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 1, Type aml, owned by Minecraft, ordinal 0, name null, claimedModId null), 2=(Item 2, Type net.minecraft.block.BlockGrass, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 2, Type akj, owned by Minecraft, ordinal 0, name null, claimedModId null), 3=(Item 3, Type net.minecraft.block.BlockDirt, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 3, Type ajv, owned by Minecraft, ordinal 0, name null, claimedModId null), 4=(Item 4, Type net.minecraft.block.Block, owned by Minecraft, ordinal 0, name null, claimedModId null, Item 4, Type amq, owned by Minecraft, ordinal 0, name null, claimedModId null), 5=(Item 5, Type net.minecraft.item.ItemMultiTextureTile, owned by Minecraft, ordinal 1, name null, claimedModId null, Item 5, Type ux, owned by Minecraft, ordinal 1, name null, claimedModId null), 6=(Item 6, Type net.minecraft.item.ItemMultiTextureTile, owned

[...]

 

Can anyone help me with this problem?

 

Thanks in advance.

Link to comment
Share on other sites

  • 2 weeks later...

I have the same problem with my mods. I have a dedicated server running on Linux, but develop on Windows. I can run single-player in Eclipse with all my mods. I can install my mods in Minecraft and run the client in single-player, with any or all my mods. I can install any one of my mods on the server. However, if I install more than one mod on the server, I get item discrepencies. Just to be clear, I wrote my mods to require both client and server modification, so installed mods have to match. But again, if I have more than one installed, I get item discrepencies as soon as I try to connect to the server.

 

I've recompiled and re-obfuscated many times. Mods to the client and server are from the same .zip files, so they are identical. Following instructions, mods are injected into the mincraft.jar file on client, but not into the miencraft_server.jar file on the server. The .zip files are copied to the "mods" folder on the server. The server is started by running 'java -jar minecraftforge.jar".

 

I tested with the MCP test server, run within Eclipse. All my mods worked together.

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.