Posted August 8, 201312 yr I'm making a mod for minecraft version 1.5.2 (for compatability with my server) and am encountering an error when reobfuscating. I run recompile, then getchangedsrc and they both run fine. Then, when I try to run reobfuscate I receive error messages like these: * File conor/ninjamod/NinjaConor.class failed extracting for conor/ninjamod/Ninj aConor * File conor/ninjamod/NinjaConor.class failed extracting for conor/ninjamod/Ninj aConor Has anyone encountered this before, and if so can they offer any advice?
August 9, 201312 yr are you using Reobfuscate.bat/sh or Reobfuscate_srg.bat/sh ? Reofuscate_srg works better. Lets make forge modding the best it can be!
August 9, 201312 yr Author I've tried both and there doesn't seem to be any difference. I've also tried manually extracting the class files from client_reobf.jar in the temp folder, sticking them in a zip file and putting in in the Minecraft mods directory. That sort of works, but as soon as I try to open any custom containers it crashes out and I get the following: java.lang.NoSuchFieldError: g at conor.ninjamod.GuiRejigger.func_73866_w_(GuiRejigger.java:25) at net.minecraft.client.gui.GuiScreen.func_73872_a(SourceFile:98) at net.minecraft.client.gui.inventory.GuiContainer.func_73872_a(GuiContainer.java:95) at net.minecraft.client.Minecraft.func_71373_a(Minecraft.java:642) at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:323) at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:334) at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328) at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:351) at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2393) at conor.ninjamod.MatterRejigger.func_71903_a(MatterRejigger.java:50) at net.minecraft.client.multiplayer.PlayerControllerMP.func_78760_a(PlayerControllerMP.java:366) at net.minecraft.client.Minecraft.func_71402_c(Minecraft.java:1315) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1799) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:834) at net.minecraft.client.Minecraft.run(Minecraft.java:759) at java.lang.Thread.run(Unknown Source) I think this might be connected to it not obfuscating correctly. Some reference to a variable has been changed to "g" but the name of the variable hasn't been updated.
August 9, 201312 yr Author Ah! Found a sort-of-fix. I manually created the zip file as explained above and then did a clean install of forge on my minecraft.jar and it just started working. It's not a perfect fix, but it'll do
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.