SimCraft for Minecraft

!!

Welcome Guest

Dear visitor, welcome to MC Port Central. If this is your first visit here,  you should consider registering to show your support.   By registering you will give us an idea and clear indication of how in demand our work really are and will motivate our porting team to continue there work. We port vanilla mods to Bukkit and you will also find a lot of other related Minecraft material on our Forum.

Author Topic: IndustrialCraft2 1.42 r3  (Read 5179 times)

R3ap3rG

  • Newbie
  • *
  • Posts: 5
IndustrialCraft2 1.42 r3
« on: December 19, 2011, 08:59:01 PM »
Keep getting this error;
Code: [Select]
>Failed to load mod from "mod_IC2.class"
>java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at net.minecraft.server.mod_IC2.setValuableOreFromString(mod_IC2.java:20
60)
        at net.minecraft.server.mod_IC2.initialize(mod_IC2.java:367)
        at ic2.platform.Ic2.<init>(Ic2.java:20)
        at net.minecraft.server.mod_IC2.<init>(mod_IC2.java:22)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at net.minecraft.server.ModLoader.addMod(ModLoader.java:160)
        at net.minecraft.server.ModLoader.readFromClassPath(ModLoader.java:795)
        at net.minecraft.server.ModLoader.init(ModLoader.java:554)
        at net.minecraft.server.ModLoader.Init(ModLoader.java:1080)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Anyway to fix it?

luke_h

  • Server Owners/Moderators
  • Newbie
  • *
  • Posts: 42
Re: IndustrialCraft2 1.42 r3
« Reply #1 on: December 19, 2011, 09:12:57 PM »
create a folder called 'config' in the same directory as your minecraft_server.jar.
go into the folder and then paste this file into it.
http://storage.us-tx.creeperhost.net/files/IC2.cfg

Enjoy

Sales/Support Luke_H

R3ap3rG

  • Newbie
  • *
  • Posts: 5
Re: IndustrialCraft2 1.42 r3
« Reply #2 on: December 19, 2011, 10:18:41 PM »
create a folder called 'config' in the same directory as your minecraft_server.jar.
go into the folder and then paste this file into it.
http://storage.us-tx.creeperhost.net/files/IC2.cfg

Enjoy


Thankyou. This really helped ;D. I assumed that the mod would auto-generate the config file  :-\ Ah well.

skalleno

  • Newbie
  • *
  • Posts: 20
Re: IndustrialCraft2 1.42 r3
« Reply #3 on: December 19, 2011, 10:44:14 PM »
 :D Yes that worked for me also. Thank you!!

Techninja117

  • Newbie
  • *
  • Posts: 8
Re: IndustrialCraft2 1.42 r3
« Reply #4 on: December 19, 2011, 10:47:39 PM »
Thank you very much  :D Saved me hours of screaming at my monitor. +1 internet to you kind sir.
Creeper Hill [IC^2, BC, RP, Addt'l Pipes] - 108.197.216.226:25569

hqSparx

  • Server Owners/Moderators
  • Full Member
  • *
  • Posts: 127
Re: IndustrialCraft2 1.42 r3
« Reply #5 on: December 19, 2011, 11:42:47 PM »
When will be antigrief fixes up?

Chef

  • Newbie
  • *
  • Posts: 2
Trouble with IC2
« Reply #6 on: December 19, 2011, 11:46:48 PM »
Whenever i try to install IC2 in my craftbukkit.jar then run my server nothing will load i have modloadermp and forge but nothing is there a specific way to install it? because i just drag it into the .jar

Rojikku

  • Newbie
  • *
  • Posts: 6
Re: Trouble with IC2
« Reply #7 on: December 20, 2011, 12:01:40 AM »
Yeah, I am having a very similar issue.
I am using the latest recomended CB for 1.0.1, or, the only one for that matter. CB build #1597.
My mod loader.txt says
Spoiler

Dec 19, 2011 4:56:58 PM net.minecraft.server.ModLoader init
FINE: ModLoader Server 1.0.0 Initializing...
Dec 19, 2011 4:56:58 PM net.minecraft.server.ModLoader readFromClassPath
FINER: Adding mods from C:\Users\Rojikku\Desktop\test\craftbukkit.jar
Dec 19, 2011 4:56:58 PM net.minecraft.server.ModLoader readFromClassPath
FINER: Zip found.
Dec 19, 2011 4:56:59 PM net.minecraft.server.ModLoader addMod
FINE: Failed to load mod from "mod_IC2.class"
Dec 19, 2011 4:56:59 PM ModLoader addMod
FINER: THROW
java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at net.minecraft.server.mod_IC2.setValuableOreFromString(mod_IC2.java:2060)
   at net.minecraft.server.mod_IC2.initialize(mod_IC2.java:367)
   at ic2.platform.Ic2.<init>(Ic2.java:20)
   at net.minecraft.server.mod_IC2.<init>(mod_IC2.java:22)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:160)
   at net.minecraft.server.ModLoader.readFromClassPath(ModLoader.java:795)
   at net.minecraft.server.ModLoader.init(ModLoader.java:554)
   at net.minecraft.server.ModLoader.Init(ModLoader.java:1080)
   at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Dec 19, 2011 4:56:59 PM net.minecraft.server.ModLoader ThrowException
SEVERE: Unexpected exception
java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at net.minecraft.server.mod_IC2.setValuableOreFromString(mod_IC2.java:2060)
   at net.minecraft.server.mod_IC2.initialize(mod_IC2.java:367)
   at ic2.platform.Ic2.<init>(Ic2.java:20)
   at net.minecraft.server.mod_IC2.<init>(mod_IC2.java:22)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:160)
   at net.minecraft.server.ModLoader.readFromClassPath(ModLoader.java:795)
   at net.minecraft.server.ModLoader.init(ModLoader.java:554)
   at net.minecraft.server.ModLoader.Init(ModLoader.java:1080)
   at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Dec 19, 2011 4:56:59 PM ModLoader init
FINER: THROW
java.lang.RuntimeException: Exception occured in ModLoader
   at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1031)
   at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1035)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:171)
   at net.minecraft.server.ModLoader.readFromClassPath(ModLoader.java:795)
   at net.minecraft.server.ModLoader.init(ModLoader.java:554)
   at net.minecraft.server.ModLoader.Init(ModLoader.java:1080)
   at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at net.minecraft.server.mod_IC2.setValuableOreFromString(mod_IC2.java:2060)
   at net.minecraft.server.mod_IC2.initialize(mod_IC2.java:367)
   at ic2.platform.Ic2.<init>(Ic2.java:20)
   at net.minecraft.server.mod_IC2.<init>(mod_IC2.java:22)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:160)
   ... 6 more
Dec 19, 2011 4:56:59 PM net.minecraft.server.ModLoader ThrowException
SEVERE: Unexpected exception
java.lang.RuntimeException: Exception occured in ModLoader
   at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1031)
   at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1035)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:171)
   at net.minecraft.server.ModLoader.readFromClassPath(ModLoader.java:795)
   at net.minecraft.server.ModLoader.init(ModLoader.java:554)
   at net.minecraft.server.ModLoader.Init(ModLoader.java:1080)
   at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at net.minecraft.server.mod_IC2.setValuableOreFromString(mod_IC2.java:2060)
   at net.minecraft.server.mod_IC2.initialize(mod_IC2.java:367)
   at ic2.platform.Ic2.<init>(Ic2.java:20)
   at net.minecraft.server.mod_IC2.<init>(mod_IC2.java:22)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.minecraft.server.ModLoader.addMod(ModLoader.java:160)
   ... 6 more
I do how spoiler tags work or you just got spammed. ANYWAY, that's my issue..Uhm. I coped MLMP and MCF, then IC2...I check manually, there is a mod_IC2.class file in /net/minecraft...

I just am posting this here because I didn't want to spam 500 pages for what is PROBABLY the same issue, hope that isn't a problem.

xD It would be really awesome if we could get this working.

Additional Info: I have no plugins, downloaded a fresh CB file, modded it, started it from CMD with java -jar craftbukkit.jar... not much else I know I can do.

wesley009

  • Jr. Member
  • **
  • Posts: 60
Re: Trouble with IC2
« Reply #8 on: December 20, 2011, 12:07:07 AM »
This migt help:
http://www.mcportcentral.co.za/index.php?topic=495.msg2283#msg2283

Ohh sorry about last posts that isnt the problem
---------------------------------------------------------------

STOP BREIN A CORRUPT GROUP WANTING TO CENSOR "ILLIGAL THINGS" AND TAKE THE FREEDOM OF THE DUTCH

Rojikku

  • Newbie
  • *
  • Posts: 6
Re: Trouble with IC2
« Reply #9 on: December 20, 2011, 12:07:12 AM »
I just tried that, do I need to rename the file? I renamed it to industrialcraft.zip and it still didn't work. file FROM THIS SITE is originally a zip. Either I am totally missing something, or it doesn't work. I have the exact same errors. Installed as previously, but installed IC to./mods instead of in the .jar.

Rojikku

  • Newbie
  • *
  • Posts: 6
Re: Trouble with IC2
« Reply #10 on: December 20, 2011, 12:11:23 AM »
Well damn, thanks weslley, that totally fixed it. World loaded now. Thanks a TON! Do you add rep on this site or something, or do I just say thanks? xP

Chef

  • Newbie
  • *
  • Posts: 2
Re: Trouble with IC2
« Reply #11 on: December 20, 2011, 12:33:02 AM »
It didn't work for me still have the same thing going on
java.lang.NoClassDefFoundError: sb
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.bukkit.craftbukkit.Main.main(Main.java:134)
Caused by: java.lang.ClassNotFoundException: sb
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
what am i doing wrong?

Caliber Mengsk

  • Newbie
  • *
  • Posts: 9
Re: Trouble with IC2
« Reply #12 on: December 20, 2011, 12:52:58 AM »
Is there a reason you are forcing it into the jar?

If you have modloadermp and minecraft forge installed on the bukkit server, just place the industrial craft zip file into the mods folder. It's that simple. No reason for forcing it into the jar if you already have modloader.

(Start with fresh bukkit jar. Copy the modloadermp files into the jar, copy the minecraft forge files into the jar, start server, close server, copy industrialcraft.zip into newly made mods folder, start server)

Eragonn1490

  • Newbie
  • *
  • Posts: 20
Re: IndustrialCraft2 1.42 r3
« Reply #13 on: December 20, 2011, 12:53:08 AM »
didnt work for me

muCkk

  • Administrator
  • Hero Member
  • *****
  • Posts: 1115
Re: IndustrialCraft2 1.42 r3
« Reply #14 on: December 20, 2011, 01:22:03 AM »
Moderator: Merged two topics with the same content.

Fixing this bug right now. r4 should work now.

When will be antigrief fixes up?
Like what? I already included 3 new configuration options and added events for the wrench, miner and cables. What did I miss?
« Last Edit: December 20, 2011, 01:54:37 AM by muCKk »