Jump to content

Server Crashing :/


TheDragonSlapper

Recommended Posts

So, I'm fairly new to this modding stuff, and I just tried installing an updated version of my mod on a server, but I'm getting a crash report and it's really annoying :/ It's working fine in singleplayer... I think it has with the armor to do but not entierly sure.. Here's the crash report:

---- Minecraft Crash Report ----
// Ouch. That hurt 

Time: 2013-09-28 14:57
Description: Exception in server tick loop

java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I
at TheDragonSlapper.DragonCraft.DragonCraft.<clinit>(DragonCraft.java:282)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:457)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 159776896 bytes (152 MB) / 223739904 bytes (213 MB) up to 922746880 bytes (880 MB)
JVM Flags: 0 total; 
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v8.11 FML v6.4.3.883 Minecraft Forge 9.11.0.883 4 mods loaded, 4 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{6.4.3.883} [Forge Mod Loader] (minecraftforge-universal-1.6.4-9.11.0.883.jar) Unloaded->Constructed
Forge{9.11.0.883} [Minecraft Forge] (minecraftforge-universal-1.6.4-9.11.0.883.jar) Unloaded->Constructed
DragonCraft{1.1} [DragonCraft] (DragonCraft - Minecraft Mod - v1.1 - 1.6.4.zip) Unloaded
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

 

I'd really like to get help with this since I want the mod to be multiplayer compatible.. Thanks in advance! :)

 

~Much Love, Dragon <3

Link to comment
Share on other sites

I think you are invoking the method on the wrong side

 

Invoking the method on the wrong side..? Wut? O.o

 

You can't use some of the classes in multiplayer . Just think , how could you render something, use keyboard,mouse,open gui,etc on server ?

All this should go to client . If you need to transport smth from client to server vice versa just use packets . There are some tuts for this if u need  ;)

Link to comment
Share on other sites

java.lang.NoSuchMethodError: net.minecraft.src.ModLoader

Sure. And i am a princess :P

 

Forge got it's own modloader...

Which is called FML. Now, would you stop using ModLoader ?

 

Would you please stop being annoying? .-. I've downloaded everything from minecraftforge.net and I've been using various forge modding tutorials for 1.6 -.-

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.

Announcements



×
×
  • Create New...

Important Information

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