Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Modloader mod on a forge server?


kyle7273
 Share

Recommended Posts

Forge has modloader built in and so i thought if i were to add my mod it would work... but it gives me this error:

 

2012-12-23 11:59:52 [iNFO] [sTDERR] java.lang.NoSuchMethodError: ModLoader.addOverride(Ljava/lang/String;Ljava/lang/String;)I
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at mod_MoreFoodMod.load(mod_MoreFoodMod.java:20)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:544)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:95)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:351)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at ho.c(DedicatedServer.java:120)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)
2012-12-23 11:59:52 [iNFO] [sTDERR] 	at fy.run(SourceFile:856)
2012-12-23 11:59:52 [sEVERE] [Minecraft] Encountered an unexpected exception NoSuchMethodError
java.lang.NoSuchMethodError: ModLoader.addOverride(Ljava/lang/String;Ljava/lang/String;)I
at mod_MoreFoodMod.load(mod_MoreFoodMod.java:20)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:544)
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:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
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:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651)
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:95)
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:351)
at ho.c(DedicatedServer.java:120)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)
at fy.run(SourceFile:856)

 

Can you help? Also im really new to the forums, please tell me before banning if i did something wrong.

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

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.