Jump to content

jacard

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jacard

  1. Hahahaha! I solved the issue! (It was so basic I almost feed ashamed) At the top of the CBFMLLoadingPlugin class there is a line that says: @MCVersion(value = "1.6.2") You must change it to 1.6.4, or else the mod will be ignored in 1.6.4 A little bit ashamed but very happy /jacard
  2. Chibill, Eeerrr... I know that by running reobfuscate_srg.bat, I will make mcp create folders and class files with their serge names. What of it? When running minecraft with a core mod outside Eclipse, the core mod cannot refer to someting like: "net.minecraft.entity.monster.EntityCreeper" or even "EntityCreeper", because the classes are recompiled. Instead the mod must refer to it's compiled name: "tf" ("te" in 1.6.2) Please tell me I'm wrong if I am. The mod "Creeperburn" has no problem overriding "te.class" in 1.6.2 Same mod seems to not be able to find and override "tf.class" in 1.6.4 (Of course it cannot override te.class) Of course I know that core mods no longer goes into the "core mods" folder but the "mods" folder nowadays! I am not sure I got your message right, it was quite short.
  3. Thanks a lot for answers, sorry for being busy lately. Yes, I have noted that the classes may change obfuscated names between minecraft updates. But that does not seem to be the problem... I have changed them to their right name, but still it won't work! Although, I ran some test with the 1.6.2 version of the mod and noted that the mod doesn't show up in the mods list if it can't find which class to override. So now I am pretty convinced that the problem has to do with the mod not finding the obfuscated classes. GotoLink, by "using searge names" you must mean adding some code so that minecraft with my mod can guess on its own which obfuscated class to override out from the searge name. Since I'm not a very experienced programmer, I think I'll have a hard time figuring out this piece of code by myself. There must have been some path changes for the obfuscated classes since 1.6.4, or am I totally wrong? Please keep replying!
  4. Hi! I found culegooner's lovely tutorial on how to make a core mod, which I've been following lately. http://www.minecraftforum.net/topic/1854988-tutorial-162-changing-vanilla-without-editing-base-classes-coremods-and-events-very-advanced/ The tutorial is for 1.6.2, but I tried to use it for modding 1.6.4 instead and it worked perfectly fine within eclipse. But when obfuscated, it wouldn't work. There was no crash though, it simply didn't do anything and wouldn't show up in the mods list in minecraft. Interestingly enough the log says that forge actually finds it's "mcmod.info". For testing, I downloaded culegooner's two example mods "creeper burn" and "explosion drops" and they work fine when I'm running minecraft 1.6.2. But as soon as I try to play 1.6.4 instead, they won't do anything. What can be the significant difference between 1.6.2 and 1.6.4 when it comes to core mods, and why does it work within eclipse but not when obfuscated? Ps: I know that I am supposed to avoid making a core mod as far as it's possible. But if I actually need to make a core mod one day, I would like to know how to.
  5. Hi! I've made a mod to Modloader adding a new glowing ore named "blockium", the mod is consists of two new class files (extending the ModLoader class and the Items class, I think) and a .png file just dragged in among the classes. Though, the mod only works in singleplayer, so I thought FML could take it into multiplayer. But I've encountered some problems: client + FML = works amazing! client + FML + my mod = works amazing! server + FML = works amazing! server + FML + my mod = error message... Of course this is just a test mod, I sure could mod using Forge instead of Modloader but if this works, then I know I can use both. It says something about light, can the glowing of my block be the problem? Please answer anything so I know I'm not ignored! Here is my error message: the spoiler doesn't seem to work for me, maybe it's just the mac. ---- Minecraft Crash Report ---- // There are four lights! Time: 2013-01-27 11:43 Description: Exception in server tick loop java.lang.NoSuchMethodError: ModLoader.addOverride(Ljava/lang/String;Ljava/lang/String;)I at mod_BlockBlockium.<init>(mod_BlockBlockium.java:14) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:501) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:479) at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:345) at ho.c(DedicatedServer.java:64) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458) at fy.run(SourceFile:849) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.4.7 Operating System: Mac OS X (x86_64) version 10.8.2 Java Version: 1.7.0_11, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 996250568 bytes (950 MB) / 1029046272 bytes (981 MB) up to 1029046272 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M 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.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed mod_BlockBlockium [mod_BlockBlockium] (minecraft_server.jar) Unloaded Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml' Type: Dedicated Server (map_server.txt)
×
×
  • Create New...

Important Information

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