Jump to content

Having a bit of a problem running my mod on a server


BassPro241

Recommended Posts

I have already recompiled and reobfuscated the mod and put the files in their respective locations, and I can't seem to get my server running.  I end up getting this error when I start it up.

 

---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 10/13/12 12:30 AM
Description: Exception in server tick loop

java.lang.NoSuchMethodError: ModLoader.addArmor(Ljava/lang/String;)I
at basspro.bassmod.common.BassProMod.<clinit>(BassProMod.java:103)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:394)
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:124)
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:81)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:80)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:329)
at ft.b(DedicatedServer.java:49)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
at ep.run(SourceFile:539)

Relevant Details:
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.6.0_35, Sun Microsystems Inc.
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
- Memory: 971100960 bytes (926 MB) / 1029046272 bytes (981 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 2 total; -Xmx2048M -Xms1024M
- FML: ~ERROR~ NullPointerException: null
- Is Modded: Definitely; 'forge,fml'
- Profiler Position: N/A (disabled)
- Type: Dedicated Server

 

What could be causing it to do this?

Link to comment
Share on other sites

I think I may have found the problem.

 

public static final Item rubyHelmet = new ItemGemHelmet(5050, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 0).setItemName("helmetRuby").setIconIndex(12);
public static final Item rubyPlate = new ItemGemPlate(5051, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 1).setItemName("plateRuby").setIconIndex(28);
public static final Item rubyLegs = new ItemGemLegs(5052, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 2).setItemName("legsRuby").setIconIndex(44);
public static final Item rubyBoots = new ItemGemBoots(5053, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 3).setItemName("bootsRuby").setIconIndex(60);

public static final Item onyxHelmet = new ItemOnyxHelmet(5054, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 0).setItemName("helmetOnyx").setIconIndex(13);
public static final Item onyxPlate = new ItemOnyxPlate(5055, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 1).setItemName("plateOnyx").setIconIndex(29);
public static final Item onyxLegs = new ItemOnyxLegs(5056, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 2).setItemName("legsOnyx").setIconIndex(45);
public static final Item onyxBoots = new ItemOnyxBoots(5057, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 3).setItemName("bootsOnyx").setIconIndex(61);

public static final Item sapphireHelmet = new ItemSapphireHelmet(5058, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 0).setItemName("helmetSapphire").setIconIndex(14);
public static final Item sapphirePlate = new ItemSapphirePlate(5059, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 1).setItemName("plateSapphire").setIconIndex(30);
public static final Item sapphireLegs = new ItemSapphireLegs(5060, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 2).setItemName("legsSapphire").setIconIndex(46);
public static final Item sapphireBoots = new ItemSapphireBoots(5061, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 3).setItemName("bootsSapphire").setIconIndex(62);

 

I need to replace those ModLoader methods with Forge methods, but I have no idea what the Forge methods are for that.

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.

×
×
  • Create New...

Important Information

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