Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[SMP Mods] ModLoaderMp Modding [31/05/11]


  • Please log in to reply
556 replies to this topic

#541

GnRSlashSP

Posted 04 August 2012 - 10:24 PM

This is my mods, it is not the correct order, i need to find why more pistons is desapearing, but all other are working very well.
Posted Image
Posted Image
GnR Slash  -  Can one man truly make a difference?

Register or log in to remove.

#542

JRucker81
  • Location: A planet called earth (Strange name.)
  • Minecraft: jrucker81

Posted 05 August 2012 - 11:09 AM

View PostPayDay, on 26 July 2012 - 03:31 PM, said:

I followed your steps, all recompiles fine but I got this error if i start the server:

[SEVERE] Unexpected exception
java.lang.RuntimeException: ModLoader
at net.minecraft.src.ModLoader.throwException(ModLoader.java:1730)
at net.minecraft.src.ModLoader.initialize(ModLoader.java:1795)
at net.minecraft.server.MinecraftServer.startServer(MinecraftServer.java:158)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
Caused by: java.lang.NoSuchMethodException: net.minecraft.src.EntityPlayerMP.getNextWidowId()
at java.lang.Class.getDeclaredMethod(Class.java:1954)
at net.minecraft.src.ModLoader.initialize(ModLoader.java:1770)
... 3 more

Please help me fix it!

whats this
getNextWidowId()
lol
Posted Image
Support More Uses for Pumpkins!! The people on my Planet Love this Mod.

#543

skinmaker loly

Posted 07 August 2012 - 12:33 AM

How can I change the modloader.addName(item "name") to work for modloadermp?
Posted Image

#544

playeromeg

Posted 08 August 2012 - 12:48 AM

you are the best modmaker ever, you deserve this: ...........
...................__
............./´¯/'...'/´¯¯`·¸
........../'/.../..../......./¨¯\
........('(...´...´.... ¯~/'...')
.........\.................'...../
..........''...\.......... _.·´
............\..............(
BROFIST ...........

#545

Jiang_Panda

Posted 08 August 2012 - 12:58 PM

WAIT, is this how to install mod loader to your server? or what? Because i clicked how to install to server and it took me here and id don't understand it.
IT's NEW AND RPG GAME TYPE!
Posted Image

#546

TasteEpic
  • Location: Home

Posted 08 August 2012 - 04:19 PM

package net.minecraft.src;

import java.util.Map;
import java.io.File;

public class mod_JaimeLannister extends BaseModMp
{

		@Override
		public String getVersion() {
				return "1.3.1";
		}

		public void addRenderer(Map map)   
		{		 
		 map.put(EntityJaimeLannister.class, new RenderJaimeLannister(new ModelJaimeLannister(), 0.5F));
		}
	  
		@Override
		public void load()
		{
				ModLoader.RegisterEntityID(EntityClass.class, "JaimeLannister", 100);					 
				ModLoader.addSpawn(EntityJaimeLannister.class, 50, 40, 40, EnumCreatureType.creature);
					   
		}
}

i'm at step 3 but the change only seems to give me more errors! someone please help me.

#547

CookieCake
  • Location: The Netherlands
  • Minecraft: bramie1234
  • Xbox:PoekieDePoes

Posted 09 August 2012 - 04:12 PM

I'm getting the bad packet ID error, but I've got the server mod and client mod same version?
Posted Image

#548

CookieCake
  • Location: The Netherlands
  • Minecraft: bramie1234
  • Xbox:PoekieDePoes

Posted 09 August 2012 - 06:38 PM

Got an other problem now.
When I try to log in it says: Took too long to log in
And the server gives this error:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.net.SocketInputStream.read(SocketInputStream.java:203)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at net.minecraft.src.Packet.readPacket(Packet.java:128)
at net.minecraft.src.TcpConnection.func_74447_i(TcpConnection.ja

at net.minecraft.src.TcpConnection.func_74450_c(TcpConnection.ja

at net.minecraft.src.TcpReaderThread.run(TcpReaderThread.java:23
Posted Image

#549

Hardware_Power

Posted 16 August 2012 - 06:10 AM

Which lines I have to delete at Serverside on 1.3.1?

#550

CookieCake
  • Location: The Netherlands
  • Minecraft: bramie1234
  • Xbox:PoekieDePoes

Posted 16 August 2012 - 08:16 AM

The ModLoader.addName lines, the this.setCreativeTab and the this.setTabToDisplayOn lines.
Posted Image

#551

Hardware_Power

Posted 16 August 2012 - 08:20 AM

Which lines I have to delete because of the exception2; ?

#552

senpaisubaraki
  • Location: Under Your Bed
  • Minecraft: Artix_all_mighty

Posted 02 September 2012 - 12:53 AM

i get 6 errors while decompiling. version 1.3.2. cant send the errors though. cause its in cmd.
youre my only hope, as u are the only tut i found.
Posted Image
If I'm not arround, listen to my loyal fans and followers ! > Gurrok, RS_OP_DRAGON, BossNoodle, Mr_Boness,VergiltheDarkSlayer <

#553

shanedublin

Posted 03 September 2012 - 12:31 PM

So i was just trying to get a simple recipe to work and i can get it to work offline in single player mode.    But when I switch to multiplayer it wont let me craft the item.  I set up the recipe right but it wont let me take the item off of the table.  it works when i test with startserver.bat inside my mcp server but it wont work on a modded server.jar file.  also i tried running the server inside the mcp folder and i still am having issues getting the item to craft.

long story short, it works when i run severstart.bat but not when i run the minecraft_server.jar file.

thanks for help

#554

TDWP_FTW
    TDWP_FTW

    Nether Resident

  • Members
  • 2152 posts
  • Location: Pittsburgh
  • Minecraft: TDWP_FTW
  • Xbox:Forstride

Posted 26 September 2012 - 12:58 AM

So, I'm working on making my mod multiplayer compatible and whatnot...It compiled just fine, and it works fine in singleplayer, but I'm getting this error when joining the MCP test server:

[20:53:11] java.io.IOException: Received string length longer than maximum allowed (17 > 16)
[20:53:11]	 at net.minecraft.src.Packet.readString(Packet.java:207)
[20:53:11]	 at net.minecraft.src.Packet1Login.readPacketData(Packet1Login.java:47)
[20:53:11]	 at net.minecraft.src.Packet.readPacket(Packet.java:155)
[20:53:11]	 at net.minecraft.src.TcpConnection.readPacket(TcpConnection.java:315)
[20:53:11]	 at net.minecraft.src.TcpConnection.readNetworkPacket(TcpConnection.java:515)
[20:53:11]	 at net.minecraft.src.TcpReaderThread.run(TcpReaderThread.java:23)

Figured I'd post this here since I used this tutorial, even though the topic is kind of dead.  Any idea on how to fix this?


EDIT: Scratch that.  Found out that it was WorldType.java causing it.  Seems that it doesn't add "generate." in front of the world types in the server, which it had in the class file since I had pasted it from my mod.  :P

Creator of

Posted Image


#555

Lecapria
  • Minecraft: Lecapria

Posted 15 November 2012 - 08:26 PM

I followed your tutorial, and everything compiles, runs, I can even join the server. But if i try to equip the armor, or spawn my creature, the client crashes. If i try to place one of my mod blocks, if just disappears. What can i do?

edit: i got the mobs working
edit: got blocks working. now its just the armor
Armor code
Spoiler:
Works perfectly in SSP. The commented out parts, are parts i had to take out to get the server to compile.

Edit: It looks like the only problem i have now is, in MinecraftServer.java there is no thePlayer. Therefore the presence of it in my code keeps it from compiling. How can i get it to check the user without thePlayer. Ive looked all over the internet, and no one elses answers worked for me

#556

Alvin1111

Posted 19 November 2012 - 05:44 AM

My mod doesnt work because im making a 1.4.4 mod, when is the soonest possible update date?

#557

Lecapria
  • Minecraft: Lecapria

Posted 21 November 2012 - 12:20 AM

still havent fixed the issue i'm having :c this mod has taken me over a year and i just need this last thing fixed. . .