Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

        }

       

}

 

Server logs?

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!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

  • Author

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.