Posted October 13, 201212 yr 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?
October 13, 201212 yr Hmm, did you make it to me compatable with multiplayer? Get Techcraft at: http://blackholegaming.com/downloads http://www.minecraftforge.net/forum/index.php/topic,2965.0.html http://www.minecraftforum.net/topic/1543949-142-techcraft-ssplan-smp-minecraft-forge-version-601/ latest public build: 0.0.1.5 alpha pre release (MC:1.4.2)
October 13, 201212 yr Author 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.
October 13, 201212 yr Author I would like to get my mod working on a server today to test with some people, so if anyone could help, that would be great.
October 13, 201212 yr You're calling a client side only function on the server.. stop it. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
October 14, 201212 yr This problem is with your armour. This should help, it worked for me. Just don't implement ITextureProvider.
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.