plarsootje Posted December 20, 2012 Posted December 20, 2012 Hello, I have some SMP issues but i can't get it fixed I'm making a mod and i want to run it on my server to i have installed forge on both on my client everythings works when i run my server i get no error the mod is loaded but when i try to connect i get a screen on my client with nothing only on the buttom a "done" button i can't find a error report only on my server console it says "end.of.stream" Can someone help Maby i'm doing something whrong in my code Here is my code Please can someone help i'm trying to fix it already 4 days:( mod_runescape.class package net.runescape; import net.minecraft.block.Block; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid="Runescape", name="Runescape", version="v1.0") @NetworkMod(clientSideRequired=true, serverSideRequired=false) public class mod_runescape { public static Block DragonStone; @Instance("mod_runescape") public static mod_runescape instance; @SidedProxy(clientSide="net.runescape.ClientProxy", serverSide="net.runescape.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { } @Init public void load(FMLInitializationEvent event) { proxy.registerRenderers(); DragonStone =(new DragonStoneBlock(3000,0)).setBlockName("DragonStoneBlock").setHardness(1F).setResistance(5F); GameRegistry.registerBlock(DragonStone); LanguageRegistry.addName(DragonStone, "DragonStone"); } @PostInit public void postInit(FMLPostInitializationEvent event) { } } CommonProxy.class package net.runescape; public class CommonProxy { public static String BLOCK_PNG = "/mod/blocks.png"; public void registerRenderers() { } } ClientProxy.class package net.runescape; import net.minecraftforge.client.MinecraftForgeClient; public class ClientProxy extends CommonProxy { @Override public void registerRenderers() { MinecraftForgeClient.preloadTexture(BLOCK_PNG); } } Quote
keepcalm Posted December 20, 2012 Posted December 20, 2012 Server logs? Quote Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
plarsootje Posted December 20, 2012 Author Posted December 20, 2012 That's what my Minecraft_Server.jar says [iNFO] Starting minecraft server version 1.4.5 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar" [iNFO] Loading properties [iNFO] Default game type: SURVIVAL [iNFO] Generating keypair [iNFO] Starting Minecraft server on *:25565 [iNFO] Preparing level "world" [iNFO] Preparing start region for level 0 [iNFO] Preparing spawn area: 87% [iNFO] Done (1,420s)! For help, type "help" or "?" [iNFO] User plarsootje connecting with mods [Runescape] [iNFO] plarsootje[/127.0.0.1:58983] logged in with entity id 309 at (51.5, 67.62000000476837, 252.5) [iNFO] plarsootje lost connection: disconnect.endOfStream Quote
plarsootje Posted December 20, 2012 Author Posted December 20, 2012 Yeah i got it to work thanks Quote
Recommended Posts
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.