Jump to content

Recommended Posts

Posted

Sophistry:

    Hello, i'm pretty new at all these things. I've been struggling with modding for a few days. This mayday call may not be as like  you want,  and English is not my native language. But, don't consider this as a bug report, i just want some fundamental support if it is possible.

    I want to play minecraft with some mods, which are only compatible with 1.2.5. And so i started with mcp62, and forge-3.4.9.171, installed eclipse and jdk (7). I created my first mod by copy-pasting these codes on forge wiki about "your first block" tutorial compatible with my tools' releases (not sure about jdk)

    I reobsificated the code after recompiling, I started the client, it worked as well. My mod was playable as any mods on the market. But when i copied my mod classes ( i picked them from the reobfs folder) to a zip file in mods folder, or directly in to minecraft.jar, it crashed my game. I have tried this in many ways but it didn't work. The console said that i may have a corrupted zip file in my mods folder and etc.  I set jdk as a path variable, set eclipse's workspace to the proper location. I'm sure that eclipse gave no errors after saving my codes.

    So, ladies and gentlemen. What would be the problem which i'm sure is so primitive but in no way i couldn't find it.

 

 

Brief: My script is cool-working with eclipse&mcp's run commands.

But when i copy the classes to the game's "where they should be" directory, game crashes.

     

I'm now using fully updated versions of minecraft,  forge, mcp and eclipse. ( problem continues with 1.3.2)

Compiling et cetera commands in mcp and forge source's file in mcp works smooth and correct.  (I do these things right.) And eclipse gives no error...

 

A tutorial code copied from wuppy29's blog pasted to Eclipse's mcp72/eclipse workspace, Minecraft / common / serenity.common package

Serenity.java :

 

 

package serenity.common;

 

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid = "glau_Serenity", name = "Serenity", version = "1.0")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class Serenity

{

@Init

public void load(FMLInitializationEvent event)

{

 

}

}

 

 

An error report from minecraft 1.3.2 (only the latest forge and millionth serenity was there) created for frustrating my codding attempts (above, Serenity.java)

 

 

Minecraft has crashed!     

      ----------------------     

 

Minecraft has stopped running because it encountered a problem; Failed to start game

This error has been saved to C:\Users\omrysf\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-16_22.30.44-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.

 

 

 

--- BEGIN ERROR REPORT 21ecf9ed --------

Generated 16.09.2012 22:30

 

- Minecraft Version: 1.3.2

- Operating System: Windows 7 (x86) version 6.1

- Java Version: 1.7.0_07, Oracle Corporation

- Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

- Memory: 844920072 bytes (805 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

- JVM Flags: 2 total; -Xms1024m -Xmx1024m

- FML: FML v3.1.11.375 Minecraft Forge 4.1.2.262 3 mods loaded, 3 mods active

FML [Forge Mod Loader] (coremods) Unloaded->Constructed

Forge [Minecraft Forge] (coremods) Unloaded->Constructed

glau_Serenity [serenity] (sfe.zip) Unloaded->Errored

- LWJGL: 2.4.2

- OpenGL: Intel Pineview Platform GL version 1.4.0 - Build 8.14.10.2230, Intel

- Is Modded: Definitely; 'forge,fml'

- Type: Client

- Texture Pack: Default

- Profiler Position: N/A (disabled)

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: serenity.common.Serenity

at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:459)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143)

at net.minecraft.client.Minecraft.a(Minecraft.java:414)

at net.minecraft.client.Minecraft.run(Minecraft.java:746)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: serenity.common.Serenity

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341)

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)

... 4 more

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.<init>(Unknown Source)

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)

... 31 more

--- END ERROR REPORT 41bf9ac9 ----------

 

 

 

 

 

An error log dedicated to a my-copy-paste mod: These scribbles are expired (1.2.5)

 

 

2012-09-16 13:11:59 [iNFO] Forge Mod Loader version 2.2.106.176 for Minecraft c:1.2.5, s:1.2.5 loading

2012-09-16 13:11:59 [iNFO] Forge Mod Loader has detected optifine OptiFine_1.2.5_HD_MT_C6, enabling compatibility features

2012-09-16 13:11:59 [FINE] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, loading

2012-09-16 13:11:59 [FINE] Found a mod class mod_MinecraftForge in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_MinecraftForge found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_MinecraftForge loaded

2012-09-16 13:11:59 [FINE] Mod class mod_MinecraftForge loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_ObsidianItems in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_ObsidianItems found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_ObsidianItems loaded

2012-09-16 13:11:59 [FINE] Mod class mod_ObsidianItems loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_SmartMoving in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_SmartMoving found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_SmartMoving loaded

2012-09-16 13:11:59 [FINE] Mod class mod_SmartMoving loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_Serenity in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [WARNING] Failed to load mod class mod_Serenity.class in C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar

2012-09-16 13:11:59 [FINER] THROW

java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

2012-09-16 13:11:59 [sEVERE] Zip file minecraft.jar failed to read properly

2012-09-16 13:11:59 [FINER] THROW

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 13:11:59 [FINE] Minecraft jar mods loaded successfully

2012-09-16 13:11:59 [iNFO] Loading mods from C:\Users\omrysf\AppData\Roaming\.minecraft\mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file airship.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_airship in file airship.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_airship found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_airship loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in airship.zip for mod_airship

2012-09-16 13:11:59 [FINE] Mod class mod_airship loaded successfully

2012-09-16 13:11:59 [FINE] File airship.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file customspawner.zip, attempting to load it

2012-09-16 13:11:59 [iNFO] File customspawner.zip contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file floodgate.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Floodgate in file floodgate.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Floodgate found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Floodgate loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in floodgate.zip for mod_Floodgate

2012-09-16 13:11:59 [FINE] Mod class mod_Floodgate loaded successfully

2012-09-16 13:11:59 [FINE] File floodgate.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file gunpowder.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_CraftGunpowder in file gunpowder.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_CraftGunpowder found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_CraftGunpowder loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in gunpowder.zip for mod_CraftGunpowder

2012-09-16 13:11:59 [FINE] Mod class mod_CraftGunpowder loaded successfully

2012-09-16 13:11:59 [FINE] File gunpowder.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file leather.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_LeatherNew in file leather.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_LeatherNew found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_LeatherNew loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in leather.zip for mod_LeatherNew

2012-09-16 13:11:59 [FINE] Mod class mod_LeatherNew loaded successfully

2012-09-16 13:11:59 [FINE] File leather.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file mobport.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Mobport in file mobport.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Mobport found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Mobport loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in mobport.zip for mod_Mobport

2012-09-16 13:11:59 [FINE] Mod class mod_Mobport loaded successfully

2012-09-16 13:11:59 [FINE] File mobport.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory mocreatures, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory mocreatures contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file mocreatures.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_mocreatures in file mocreatures.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_mocreatures found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_mocreatures loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in mocreatures.zip for mod_mocreatures

2012-09-16 13:11:59 [FINE] Mod class mod_mocreatures loaded successfully

2012-09-16 13:11:59 [FINE] File mocreatures.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory mod_settingstest, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory mod_settingstest contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file parachute.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Parachute in file parachute.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Parachute found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Parachute loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in parachute.zip for mod_Parachute

2012-09-16 13:11:59 [FINE] Mod class mod_Parachute loaded successfully

2012-09-16 13:11:59 [FINE] File parachute.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerCore in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerCore found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerCore loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerCore

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerCore loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerControl in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerControl found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerControl loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerControl

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerControl loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerLighting in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLighting found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLighting loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLighting

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerLighting loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerMachine in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerMachine found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerMachine loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerMachine

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerMachine loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerLogic in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLogic found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLogic loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLogic

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerLogic loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerWiring in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWiring found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWiring loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWiring

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerWiring loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerWorld in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWorld found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWorld loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWorld

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerWorld loaded successfully

2012-09-16 13:11:59 [FINE] File rp_all.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file scuba.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_scubadiving in file scuba.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_scubadiving found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_scubadiving loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in scuba.zip for mod_scubadiving

2012-09-16 13:11:59 [FINE] Mod class mod_scubadiving loaded successfully

2012-09-16 13:11:59 [FINE] File scuba.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory weaponmod, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory weaponmod contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file WeaponMod.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_WeaponMod in file WeaponMod.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WeaponMod found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WeaponMod loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in WeaponMod.zip for mod_WeaponMod

2012-09-16 13:11:59 [FINE] Mod class mod_WeaponMod loaded successfully

2012-09-16 13:11:59 [FINE] File WeaponMod.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file wooltostring.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_WoolToString in file wooltostring.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WoolToString found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WoolToString loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in wooltostring.zip for mod_WoolToString

2012-09-16 13:11:59 [FINE] Mod class mod_WoolToString loaded successfully

2012-09-16 13:11:59 [FINE] File wooltostring.zip loaded successfully

2012-09-16 13:11:59 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

2012-09-16 13:12:09 [sEVERE] A critical error has occurred.

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.load(Loader.java:446)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

Caused by: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

... 5 more

Caused by: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 13:12:09 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

2012-09-16 13:12:10 [FINE] Beginning mod initialization

2012-09-16 13:12:10 [FINER] Initializing mod_MinecraftForge

2012-09-16 13:12:10 [sEVERE] A critical error has occurred.

java.lang.NullPointerException

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356)

at cpw.mods.fml.common.Loader.modInit(Loader.java:273)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628)

at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223)

at net.minecraft.client.Minecraft.a(Minecraft.java:429)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

2012-09-16 13:12:10 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

"Another" tutorial i copied. Sory, this mod's related log is on my other post down there...

 

 

//mod_Tutorial.java

 

package net.minecraft.src.tutorial;

 

import net.minecraft.src.Block;

import net.minecraft.src.Item;

import net.minecraft.src.ItemStack;

import net.minecraft.src.ModLoader;

import net.minecraft.src.forge.NetworkMod;

 

public class mod_Tutorial extends NetworkMod

{

        // Block Definitions

        public Block blockHelloWorld;

     

        @Override

        public String getVersion()

        {

                return "Tutorial Mod 1.0.0";

        }

     

        @Override

        public void load()

        {

                blockHelloWorld = new BlockHelloWorld(160);

             

                // Register Blocks

                ModLoader.registerBlock(blockHelloWorld);

             

                // Add Recipes

                ModLoader.addRecipe(new ItemStack(blockHelloWorld, 3), new Object[]

                {

                        "  ", "X+X", "  ", 'X', Block.stone, '+', Block.wood

                });

             

                // Add Names

                ModLoader.addName(blockHelloWorld, "Hello World Block");

        }

}

 

 

 

 

//BlockHelloWorld.java

 

package net.minecraft.src.tutorial;

 

import net.minecraft.src.Block;

import net.minecraft.src.Material;

 

public class BlockHelloWorld extends Block

{

        public BlockHelloWorld(int blockID)

    {

                super(blockID, Material.wood);

             

                blockIndexInTexture = 1;

        setHardness(2.0f);

        setResistance(5.0f);

        setStepSound(soundWoodFootstep);

     

        setBlockName("Hello World Block");

    }

     

        @Override

        public int getBlockTextureFromSide(int side)

        {

                switch(side)

                {

                case 0:

                        return 21;

                case 1:

                        return 21;

                }

                return blockIndexInTexture;

        }

     

        @Override

        public String getTextureFile()

        {

                return "/terrain.png";

        }

}

 

 

Solved. It was so moronic as i guessed The Answer is on the modder's support page.

 

 

Posted

What EXACTLY are you doing?

Your error tells me something and your code tells me something else.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

What EXACTLY are you doing?

Your error tells me something and your code tells me something else.

 

Sory for that. As i said i tried lots of different ways. "The something else" in the error is another tutorial which i only changed some names on it. Even for the simplest scripts i wrote, the game doesn't recognized my class files. (I set jre and jdk path variables properly also)

The thing is, i can run the code on eclipse or mcp62's "start client"  and my mod works. But when i copy'em to the game's related directories it crashes my game..

 

Also i tried it when "no mod" loaded but forge. Nothing changed....

 

I did everything what tutorials said. Now i tried it with original codes what i gave.

Error log with original tutorial...

 

 

 

2012-09-16 15:17:39 [iNFO] Forge Mod Loader version 2.2.106.176 for Minecraft c:1.2.5, s:1.2.5 loading

2012-09-16 15:17:39 [iNFO] Forge Mod Loader has detected optifine OptiFine_1.2.5_HD_MT_C6, enabling compatibility features

2012-09-16 15:17:39 [FINE] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, loading

2012-09-16 15:17:39 [FINE] Found a mod class mod_MinecraftForge in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_MinecraftForge found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_MinecraftForge loaded

2012-09-16 15:17:39 [FINE] Mod class mod_MinecraftForge loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_ObsidianItems in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_ObsidianItems found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_ObsidianItems loaded

2012-09-16 15:17:39 [FINE] Mod class mod_ObsidianItems loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_SmartMoving in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_SmartMoving found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_SmartMoving loaded

2012-09-16 15:17:39 [FINE] Mod class mod_SmartMoving loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_Tutorial in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [WARNING] Failed to load mod class mod_Tutorial.class in C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar

2012-09-16 15:17:39 [FINER] THROW

java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

2012-09-16 15:17:39 [sEVERE] Zip file minecraft.jar failed to read properly

2012-09-16 15:17:39 [FINER] THROW

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 15:17:39 [FINE] Minecraft jar mods loaded successfully

2012-09-16 15:17:39 [iNFO] Loading mods from C:\Users\omrysf\AppData\Roaming\.minecraft\mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file airship.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_airship in file airship.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_airship found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_airship loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in airship.zip for mod_airship

2012-09-16 15:17:39 [FINE] Mod class mod_airship loaded successfully

2012-09-16 15:17:39 [FINE] File airship.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file customspawner.zip, attempting to load it

2012-09-16 15:17:39 [iNFO] File customspawner.zip contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file floodgate.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Floodgate in file floodgate.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Floodgate found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Floodgate loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in floodgate.zip for mod_Floodgate

2012-09-16 15:17:39 [FINE] Mod class mod_Floodgate loaded successfully

2012-09-16 15:17:39 [FINE] File floodgate.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file gunpowder.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_CraftGunpowder in file gunpowder.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_CraftGunpowder found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_CraftGunpowder loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in gunpowder.zip for mod_CraftGunpowder

2012-09-16 15:17:39 [FINE] Mod class mod_CraftGunpowder loaded successfully

2012-09-16 15:17:39 [FINE] File gunpowder.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file leather.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_LeatherNew in file leather.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_LeatherNew found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_LeatherNew loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in leather.zip for mod_LeatherNew

2012-09-16 15:17:39 [FINE] Mod class mod_LeatherNew loaded successfully

2012-09-16 15:17:39 [FINE] File leather.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file mobport.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Mobport in file mobport.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Mobport found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Mobport loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in mobport.zip for mod_Mobport

2012-09-16 15:17:39 [FINE] Mod class mod_Mobport loaded successfully

2012-09-16 15:17:39 [FINE] File mobport.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory mocreatures, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory mocreatures contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file mocreatures.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_mocreatures in file mocreatures.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_mocreatures found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_mocreatures loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in mocreatures.zip for mod_mocreatures

2012-09-16 15:17:39 [FINE] Mod class mod_mocreatures loaded successfully

2012-09-16 15:17:39 [FINE] File mocreatures.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory mod_settingstest, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory mod_settingstest contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file parachute.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Parachute in file parachute.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Parachute found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Parachute loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in parachute.zip for mod_Parachute

2012-09-16 15:17:39 [FINE] Mod class mod_Parachute loaded successfully

2012-09-16 15:17:39 [FINE] File parachute.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerCore in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerCore found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerCore loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerCore

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerCore loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerControl in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerControl found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerControl loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerControl

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerControl loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerLighting in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLighting found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLighting loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLighting

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerLighting loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerMachine in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerMachine found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerMachine loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerMachine

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerMachine loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerLogic in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLogic found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLogic loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLogic

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerLogic loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerWiring in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWiring found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWiring loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWiring

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerWiring loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerWorld in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWorld found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWorld loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWorld

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerWorld loaded successfully

2012-09-16 15:17:39 [FINE] File rp_all.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file scuba.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_scubadiving in file scuba.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_scubadiving found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_scubadiving loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in scuba.zip for mod_scubadiving

2012-09-16 15:17:39 [FINE] Mod class mod_scubadiving loaded successfully

2012-09-16 15:17:39 [FINE] File scuba.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory weaponmod, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory weaponmod contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file WeaponMod.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_WeaponMod in file WeaponMod.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WeaponMod found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WeaponMod loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in WeaponMod.zip for mod_WeaponMod

2012-09-16 15:17:39 [FINE] Mod class mod_WeaponMod loaded successfully

2012-09-16 15:17:39 [FINE] File WeaponMod.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file wooltostring.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_WoolToString in file wooltostring.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WoolToString found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WoolToString loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in wooltostring.zip for mod_WoolToString

2012-09-16 15:17:39 [FINE] Mod class mod_WoolToString loaded successfully

2012-09-16 15:17:39 [FINE] File wooltostring.zip loaded successfully

2012-09-16 15:17:39 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

2012-09-16 15:17:49 [sEVERE] A critical error has occurred.

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.load(Loader.java:446)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:616)

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

Caused by: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

... 5 more

Caused by: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

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 java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 15:17:49 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

2012-09-16 15:17:51 [FINE] Beginning mod initialization

2012-09-16 15:17:51 [FINER] Initializing mod_MinecraftForge

2012-09-16 15:17:51 [sEVERE] A critical error has occurred.

java.lang.NullPointerException

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356)

at cpw.mods.fml.common.Loader.modInit(Loader.java:273)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628)

at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223)

at net.minecraft.client.Minecraft.a(Minecraft.java:429)

at net.minecraft.client.Minecraft.run(Minecraft.java:738)

at java.lang.Thread.run(Unknown Source)

2012-09-16 15:17:51 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

 

 

Thanks for the care by the way...

 

Posted

Try to mod for 1.3.2?

 

Okay... At first that was not my real intention... But I tried then

with Minecraft 1.3.2, Mcp72, Forge 4.1.2.262

 

I used wuppy29's most basic tutorial class, copy-pasted it... (only the package name is from forge's wiki) So here what i wrote:

 

tutorial.generic.Generic.java

 

 

package tutorial.generic;

 

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid = "YourName_ModName", name = "ModName", version = "Version number")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class Generic

{

@Init

public void load(FMLInitializationEvent event)

{

 

}

}

 

 

 

And again, it worked with eclipse's run command perfectly ...

 

When i copied the Generic.class file from reobf folder to a zip file in mods folder :

 

ForgeModLoader-client-0.log: (updated)

 

 

2012-09-16 19:10:49 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.11.375 for Minecraft client:1.3.2, server:1.3.2 loading

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] All core mods are successfully located

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Discovering coremods

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

 

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

 

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

 

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugins

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Validating minecraft

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2012-09-16 19:10:54 [iNFO] [sTDOUT] 27 achievements

2012-09-16 19:10:54 [iNFO] [sTDOUT] 195 recipes

2012-09-16 19:10:55 [iNFO] [sTDOUT] Setting user: Glau, 12345

2012-09-16 19:10:55 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

2012-09-16 19:10:55 [iNFO] [sTDERR] org.lwjgl.LWJGLException: Insufficient depth buffer precision

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:185)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.createWindow(Display.java:311)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.create(Display.java:856)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.create(Display.java:784)

2012-09-16 19:10:55 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:387)

2012-09-16 19:10:55 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:746)

2012-09-16 19:10:55 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] MinecraftForge v4.1.2.262 Initialized

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\argo-2.25.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Searching C:\Users\omrysf\AppData\Roaming\.minecraft\mods for mods

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Found a candidate zip or jar file generic.zip

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2012-09-16 19:10:58 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Examining file generic.zip for potential mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] The mod container generic.zip appears to be missing an mcmod.info file

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Identified an FMLMod type mod tutorial.generic.Generic

2012-09-16 19:10:59 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []

2012-09-16 19:10:59 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Received a system property request ''

2012-09-16 19:10:59 [FINE] [ForgeModLoader] System property request managing the state of 0 mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod FML

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod Forge

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Enabling mod YourName_ModName

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod YourName_ModName

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied

2012-09-16 19:10:59 [FINE] [ForgeModLoader] All mod requirements are satisfied

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Sorting mods into an ordered list

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Mod sorting completed successfully

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Mod sorting data:

2012-09-16 19:10:59 [FINE] [ForgeModLoader] YourName_ModName(ModName:Version number): generic.zip ()

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod FML

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod FML

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod Forge

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod Forge

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod YourName_ModName

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod YourName_ModName

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader]

FML [Forge Mod Loader] (coremods) Unloaded->Constructed

Forge [Minecraft Forge] (coremods) Unloaded->Constructed

YourName_ModName [ModName] (generic.zip) Unloaded->Errored

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341)

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.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143)

at net.minecraft.client.Minecraft.a(Minecraft.java:414)

at net.minecraft.client.Minecraft.run(Minecraft.java:746)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.<init>(Unknown Source)

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)

... 31 more

2012-09-16 19:11:09 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.generic.Generic

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:459)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143)

2012-09-16 19:11:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:414)

2012-09-16 19:11:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:746)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: tutorial.generic.Generic

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)

2012-09-16 19:11:09 [iNFO] [sTDERR] ... 4 more

2012-09-16 19:11:09 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException

2012-09-16 19:11:09 [iNFO] [sTDERR] at org.objectweb.asm.ClassReader.<init>(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)

2012-09-16 19:11:09 [iNFO] [sTDERR] ... 31 more

 

 

 

 

Neither mcp's recompile-reobfuscate nor forge's install commands gave no error for either 1.2.5 and 1.3.2 verisons. They worked flawless. Only this time (1.3.2) there was a lil' warning about server which mcp said was normal. Eclipse was content about what i did too...

 

I have a bit of knowledge about python, i have created some mods for m&b. I'm "brand" new at java (only need it for minecraft modding) So, i did everything what i learned so far. But i stuck in the first place with Java :-X

 

 

edit:

Posted

File should be named "Generic.java" not "tutorial.generic.Generic.java"

 

Oh, i meant there "Generic class in tutorial.generic package" sory.  As i said before, nothing wrong with decompiling, compiling, obsfucating and running the client from mcp or eclipse. It's just crashes my game when i put my mod  there.

 

I reinstalled everything, included Eclipse for java ee developers' latest version. Nothing has changed.

Posted

Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

 

Seems fairly straight forward:

You have a class named YourName_ModName which references tutorial.generic.Generic which is not in the class path.;

So you need to install tutorial.generic.Generic into your class path.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

 

Seems fairly straight forward:

You have a class named YourName_ModName which references tutorial.generic.Generic which is not in the class path.;

So you need to install tutorial.generic.Generic into your class path.

 

I can imagine that this is the real answer for my problem but...

 

I'm sory, am not a java guru at this point. But i'm using Eclipse and.. As serenity(it is now).generic is in the minecraft / common path; and so, as far as i can see that path is a build path in my workspace.. I don't think i 'm not that qualified to do what you offer.

So should i do that thing with mcp or harder on eclipse?

 

I've been searching on the net about this for hours i can't find anything works for me with Eclipse or MCP setting classpath.

 

I've got one thought, probably a retarded one...

Should i do that updatenames.bat ?

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • So, we have a 5 player server running the Hexxit modpack, with the sole addition of one extra mod, CustomNPCs. Something about CustomNPCs doesn't play nice with the server. Only three players are playing it, all of them have CustomNPCs installed in their own game files, and we have CustomNPCs installed in our server. We can all hold the tools and use the custom recipes added by the mod or by players using the NPC spawner tool. However, I'm the only one who can actually use them. If either other player uses them, they immediately crash and are booted off the server. I can make NPCs, the NPCs can detect them and attack them, all that, but they cannot see them, nor can they interact with them in any way. What could be causing this? I will add, as far as I know, I'm the only one to have run the modpack in single player as well as in multiplayer, I believe the other two have only run it in multiplayer for the server. Could this possibly be part of the problem? Any help would be appreciated.
    • Hello, Thank you so much for the suggestion, I will create a post.
    • You're using the wrong FACING property in Mechanism#getStateForPlacement, BlockStateProperties.FACING instead of Mechanism.FACING, HorizontalDirectionalBlock.FACING or BlockStateProperties.HORIZONTAL_FACING (which all refer to the same value). The former includes all six Direction values, the latter only includes the four horizontal values.
    • quiero que me digan como hago para instalar bien el java y forge nada mas hasta el momento lo hice pero java no ejecuta el forge   
    • Mod Idea: Server-Specific Mod Disabler & Anti-Cheat Helper Overview: This mod allows players to seamlessly play on Minecraft servers without worrying about banned or incompatible mods. It automatically disables specific mods based on the server's configuration, ensuring that players are only using allowed mods. Additionally, it provides a safeguard against hacking mods by instantly blocking them from being used, promoting fair gameplay on multiplayer servers. Key Features: 1. Server-Specific Mod Disabling: Automatic Mod Detection: The mod will automatically detect which mods are allowed or blocked on a particular server. Server Configurable Lists: Server admins can maintain a list of banned or whitelisted mods, which will be dynamically applied when a player joins. Player Customization: Players can choose whether the mod should automatically disable specific mods when joining servers, or allow them to be used based on the server's settings. 2. Anti-Cheat and Hack Protection: Instant Hack Detection: The mod will automatically identify and block known hacking mods when joining a server. If a player attempts to join with a hacking mod, the server can receive an alert, and the mod will prevent the player from joining until the mod is removed. Real-Time Monitoring: The mod will continuously monitor the player's mods while on the server, ensuring that no banned or suspicious mods are activated. 3. Community-Driven Mod Management: Custom Blocklists and Whitelists: Server admins can manage custom mod lists directly through a configuration file or via an in-game interface. These lists would allow mods to be either whitelisted, banned, or marked for temporary disabling. Integration with Modding Communities: The mod can gather mod compatibility reports from other players, sharing knowledge about which mods work together and which are problematic. 4. Player-Friendly Experience: Less Hassle for Players: With this mod, players no longer need to manually disable or enable mods when switching between servers. The mod takes care of everything for them. Seamless Gameplay: Players can freely switch between servers with different rules and mod requirements without worrying about compatibility issues or getting banned for using the wrong mods. 5. Open-Source and Extensible: Community Contributions: The mod will be open-source, allowing the Minecraft community to contribute by adding new features, bug fixes, and support for more mods. Customizable for Future Versions: The mod will be updated to support future Minecraft versions, ensuring long-term usability. Additional Ideas for Future Expansion: 1. Integration with Minecraft Servers (Optional): Server-Side Mod Configuration: In addition to client-side mod management, server owners can opt to install a server-side version of this mod, which can enforce mod restrictions for all players. Server Feedback System: When a mod is disabled, the server can automatically provide feedback to the player about why it was disabled and whether they need to install an alternative. 2. Donation and Support System: Monetization for Future Development: The mod could offer a donation-based system or a paid premium version with advanced features like real-time support or a larger mod compatibility database. Community Support: Players could report issues directly through the mod, ensuring faster resolutions and support from the mod development community. Benefits: 1. For Players: No Need for Constant Mod Configuration: Players no longer need to manually switch between different mod sets based on the server they join. Reduced Risk of Getting Banned: The mod automatically prevents the use of banned or incompatible mods, reducing the risk of being kicked or banned from servers. Hassle-Free Experience: The mod removes the need for players to learn about different server mod policies, providing a smoother experience overall. 2. For Server Owners: Simplified Server Management: Server admins no longer need to constantly monitor which mods players are using. The mod ensures players are only using compliant mods. Better Anti-Cheat Measures: Server owners can trust that hacking mods will be automatically blocked, improving server security. Easy Integration: With a simple configuration file, server owners can quickly set up their mod policies and get started. 3. For the Minecraft Community: Encourages Fair Play: The mod promotes fair gameplay by automatically preventing the use of cheating mods, ensuring a better multiplayer environment. Better Mod Compatibility: As the mod grows, it can help players and server owners discover which mods are compatible with others, making the modding ecosystem more reliable. Potential Challenges and Solutions: 1. Resistance from Players Using Hacking Mods: Solution: Allow server admins to configure a warning system where players can receive notifications about the mod being blocked before they are kicked. This gives them a chance to fix their setup. 2. Keeping Mod Lists Up-to-Date: Solution: Implement a community-driven reporting system where players and server owners can submit their mod lists, keeping the database current with new mods and changes in mod compatibility. 3. Cross-Platform Compatibility: Solution: Ensure that the mod is built to support both Java and Bedrock editions (if applicable) by using cross-platform modding tools and making the mod adaptable to both versions. Conclusion: This mod has the potential to significantly improve the Minecraft multiplayer experience by making it easier for players to manage mods and preventing hacks from ruining gameplay. By focusing on server-specific mod management and providing automated protection from cheating mods, this mod could change how Minecraft servers handle modding and create a safer, more enjoyable experience for everyone involved.
  • Topics

×
×
  • Create New...

Important Information

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