Damn! I am stuck on this obfuscated-related error - if anyone could help me with this, I could finally release a testing version for 1.5.2
I have never encountered this before: nosuchmethod addbox
---- Minecraft Crash Report ----
// I feel sad now
Time: 5/30/13 7:10 PM
Description: Failed to start game
cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.model.ModelRenderer.addBox(FFFIIIF)V
at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:447)
at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: net.minecraft.client.model.ModelRenderer.addBox(FFFIIIF)V
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:44)
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:24)
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:19)
at freakstritch.morecreeps.client.CREEPSClientProxy.load(CREEPSClientProxy.java:215)
at freakstritch.morecreeps.MoreCreepsAndWeirdos.load(MoreCreepsAndWeirdos.java:361)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
... 5 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_21, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 414490544 bytes (395 MB) / 648740864 bytes (618 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.2.684 Minecraft Forge 7.8.0.684 4 mods loaded, 4 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
MoreCreepsAndWeirdos{3.0.0} [MoreCreepsAndWeirdos] (MoreCreepsAndWeirdos.zip) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 5800 Series GL version 4.2.12217 Compatibility Profile Context 12.104.0.0, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Either you didn't initialize the ModelRenderer or you are calling this method on server side.
Damn! I am stuck on this obfuscated-related error - if anyone could help me with this, I could finally release a testing version for 1.5.2
I have never encountered this before: nosuchmethod addbox
---- Minecraft Crash Report ----
// I feel sad now
Time: 5/30/13 7:10 PM
Description: Failed to start game
cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.client.model.ModelRenderer.addBox(FFFIIIF)V
at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:447)
at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: net.minecraft.client.model.ModelRenderer.addBox(FFFIIIF)V
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:44)
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:24)
at freakstritch.morecreeps.client.models.CREEPSModelArmyGuy.(CREEPSModelArmyGuy.java:19)
at freakstritch.morecreeps.client.CREEPSClientProxy.load(CREEPSClientProxy.java:215)
at freakstritch.morecreeps.MoreCreepsAndWeirdos.load(MoreCreepsAndWeirdos.java:361)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
... 5 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_21, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 414490544 bytes (395 MB) / 648740864 bytes (618 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.2.684 Minecraft Forge 7.8.0.684 4 mods loaded, 4 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
MoreCreepsAndWeirdos{3.0.0} [MoreCreepsAndWeirdos] (MoreCreepsAndWeirdos.zip) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 5800 Series GL version 4.2.12217 Compatibility Profile Context 12.104.0.0, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
My guess is that it's not finding the addBox method because after obfuscation, the method is called by its mcp-name ("func_78790_a" in this case) and not "addBox". Are you trying to invoke it via reflection? Not an expert in what to do to fix it, but that seems like the cause.
When the test version is released will there be a server-side mod and a client or just a client? I'm fine with either, but I was hoping for a server side mod for my server. If you do release one ill make a server with this mod and give some details about it. anyway, good luck fixing your error : )
My guess is that it's not finding the addBox method because after obfuscation, the method is called by its mcp-name ("func_78790_a" in this case) and not "addBox". Are you trying to invoke it via reflection? Not an expert in what to do to fix it, but that seems like the cause.
He is using Forge which use runtime deobfuscation, thus using mcp name should work.
Plus addBox method is public. No need to use reflection to invoke it.
He is using Forge which use runtime deobfuscation, thus using mcp name should work.
Plus addBox method is public. No need to use reflection to invoke it.
I am using eclipse for the first time, but I am still using MCP bat files recompile and reobfuscate [not reobfuscare_srg]
Perhaps this is an incorrect way to produce the class files now?
My guess is that it's not finding the addBox method because after obfuscation, the method is called by its mcp-name ("func_78790_a" in this case) and not "addBox". Are you trying to invoke it via reflection? Not an expert in what to do to fix it, but that seems like the cause.
He is using Forge which use runtime deobfuscation, thus using mcp name should work.
Plus addBox method is public. No need to use reflection to invoke it.
Correct, which is why it's confusing that the code is trying to call "addBox" and not "func_78790_a", according to the error. It's like that call didn't get properly reobfuscated back to the Minecraft name "a", and so it's not deobfuscated by Forge at runtime to "addBox". The method isn't client-side-only, so that shouldn't be why... Maybe the ModelRenderer.class got corrupted somehow? There could be a discrepancy between the Forge in Eclipse and the runtime Forge.
EDIT: On second thought, the ModelRenderer.class file isn't the problem, otherwise it'd be saying method not found: func_78790_a
So it is probably a reobfuscation issue on that Creeps model class, and maybe the other model classes too assuming that's the first model loaded.
There is a client-side call in my model and render file, and model renderer has been imported. Works fine in eclipse, but not when reob in minecraft.
Looking at vanilla models, I do not see any differences.
I am using eclipse for the first time, but I am still using MCP bat files recompile and reobfuscate [not reobfuscare_srg]
Perhaps this is an incorrect way to produce the class files now?
No, this is a correct way to do.
Like UncleMion said, it could be some weird file(s) corruption, but it should affect your mod in the dev environment too if it was the case.
You could try with a newest Forge for safety.
We would be able to provide more help if you published your sources, or at least the proxy, model and renderer classes.
Hey, i'll try to get someone to help you. Most people on youtube don't even know this thread is even alive (if my
tests are correct at least) i'll go ask around! (I have connections if you know what i mean)
Freak, if you were to listen to inspirational music, maybe Eye of the Tiger, you might get an idea on how to come out victorious on this David and Goliath situation your in. This also may or may not help, but think outside the box. .
Freak, if you were to listen to inspirational music, maybe Eye of the Tiger, you might get an idea on how to come out victorious on this David and Goliath situation your in. This also may or may not help, but think outside the box. .
That's what I did while building my huge wheat farm.
Either you didn't initialize the ModelRenderer or you are calling this method on server side.
My guess is that it's not finding the addBox method because after obfuscation, the method is called by its mcp-name ("func_78790_a" in this case) and not "addBox". Are you trying to invoke it via reflection? Not an expert in what to do to fix it, but that seems like the cause.
He is using Forge which use runtime deobfuscation, thus using mcp name should work.
Plus addBox method is public. No need to use reflection to invoke it.
There is a client-side call in my model and render file, and model renderer has been imported. Works fine in eclipse, but not when reob in minecraft.
Looking at vanilla models, I do not see any differences.
I am using eclipse for the first time, but I am still using MCP bat files recompile and reobfuscate [not reobfuscare_srg]
Perhaps this is an incorrect way to produce the class files now?
Yes. I can't pester AtomicStryker too much or it will become an annoyance, which I do not want!
Correct, which is why it's confusing that the code is trying to call "addBox" and not "func_78790_a", according to the error. It's like that call didn't get properly reobfuscated back to the Minecraft name "a", and so it's not deobfuscated by Forge at runtime to "addBox". The method isn't client-side-only, so that shouldn't be why...
Maybe the ModelRenderer.class got corrupted somehow? There could be a discrepancy between the Forge in Eclipse and the runtime Forge.EDIT: On second thought, the ModelRenderer.class file isn't the problem, otherwise it'd be saying method not found: func_78790_a
So it is probably a reobfuscation issue on that Creeps model class, and maybe the other model classes too assuming that's the first model loaded.
I use recompile.bat and reobfuscate.bat myself without problems.
No, this is a correct way to do.
Like UncleMion said, it could be some weird file(s) corruption, but it should affect your mod in the dev environment too if it was the case.
You could try with a newest Forge for safety.
We would be able to provide more help if you published your sources, or at least the proxy, model and renderer classes.
darn! stupid error...
Do you use ModelBiped for your ArmyGuy or is it a custom ?
When and how is your ModelRenderer initialized for it ?
Edit:Found someone having same issue here:
http://www.minecraftforge.net/forum/index.php/topic,8840.0.html
tests are correct at least) i'll go ask around! (I have connections if you know what i mean)
be back later