Jump to content

Recommended Posts

Posted

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);

        }

       

}

 

Posted

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

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Thanks, I've now installed a slightly newer version and the server is at least starting up now.
    • i have the same issue. Found 1 Create mod class dependency(ies) in createdeco-1.3.3-1.19.2.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Found 11 Create mod class dependency(ies) in createaddition-fabric+1.19.2-20230723a.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Detailed walkthrough of mods which rely on missing Create mod classes: Mod: createaddition-fabric+1.19.2-20230723a.jar Missing classes of create: com/simibubi/create/compat/jei/category/sequencedAssembly/JeiSequencedAssemblySubCategory com/simibubi/create/compat/recipeViewerCommon/SequencedAssemblySubCategoryType com/simibubi/create/compat/rei/CreateREI com/simibubi/create/compat/rei/EmptyBackground com/simibubi/create/compat/rei/ItemIcon com/simibubi/create/compat/rei/category/CreateRecipeCategory com/simibubi/create/compat/rei/category/WidgetUtil com/simibubi/create/compat/rei/category/animations/AnimatedBlazeBurner com/simibubi/create/compat/rei/category/animations/AnimatedKinetics com/simibubi/create/compat/rei/category/sequencedAssembly/ReiSequencedAssemblySubCategory com/simibubi/create/compat/rei/display/CreateDisplay Mod: createdeco-1.3.3-1.19.2.jar Missing classes of create: com/simibubi/create/content/kinetics/fan/SplashingRecipe
    • The crash points to moonlight lib - try other builds or make a test without this mod and the mods requiring it
    • Do you have shaders enabled? There is an issue with the mod simpleclouds - remove this mod or disable shaders, if enabled  
    • Maybe you need to create file in assets/<modid>/items/<itemname>.json with content like this:   { "model": { "type": "minecraft:model", "model": "modname:item/itemname" } }  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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