Everything posted by Electrobob99
-
[1.7.2] Deobfuscating mod code help
Ok, I assumed I could cast the first one, wasn't sure. The decompiler I've used is JD-GUI, but I'd assume it wouldn't figure it out properly.
-
[1.7.2] Deobfuscating mod code help
Ok a few other question I've had, for this code: It returns a type mismatch, how would I correctly resolve this issue. I also had a problem with this: I'd assume to make the second work I would just simplify it down to simply getMode().ordinal, or would that be incorrect?
-
[1.7.2] Deobfuscating mod code help
Ended up finding it out
-
[1.7.2] Deobfuscating mod code help
Ok got it to run completely, but dumb question. Do the files in the new jar file need to be .class files?
-
[1.7.2] Deobfuscating mod code help
Ok, so how would I create a manifest for it? since it was a zip file before.
-
[1.7.2] Deobfuscating mod code help
The errors are as follows:
-
[1.7.2] Deobfuscating mod code help
Ok got it to run, saw that it only takes in jar files. I did change the extension .zip to .jar, and put it as input, and I get an error. Unless I'm supposed to use a tool to change it correctly?
-
[1.7.2] Deobfuscating mod code help
Then how would I make a new workspace with 1.8?
-
[1.7.2] Deobfuscating mod code help
I think I will just give up using Bon2, since I don't want to make a 1.8 workspace just so I can deobfuscate the code. I want to get it working in the version I stated in, and perfect it before I port it.. More fun that way
-
[1.7.2] Deobfuscating mod code help
1.7.2 actually
-
[1.7.2] Deobfuscating mod code help
Reading helps. Ok, I just ran both setupDevWorkspace as well as setupDecompWorkspace successfully, and the results..... Same error occurred. Says that guava still can't be found.
-
[1.7.2] Deobfuscating mod code help
I understand that it can't find Guava. My question is where is Guava, since even I can't find it in my modding environment either.
-
[1.7.2] Deobfuscating mod code help
Hmm, then what's with my errors?
-
[1.7.2] Deobfuscating mod code help
Ok, didn't know there was a Bon2, but... dumb question, where do I install it? Mainly ask this because I get this error when I try to run it: Followed by:
-
[1.7.2] Deobfuscating mod code help
Ok here is another question. I have heard that I could use the BON program to deobfuscate classes, but what I want to know is, what do I put into the "MCP Folder" parameter. I ask this since there is no MCP folder anymore.
-
[1.7.2] Deobfuscating mod code help
Doesn't seem to be the case for 1.7.2, and to show it here is the BiomeManager class verbatim:
-
[1.7.2] Deobfuscating mod code help
So, does anyone have a solution to my problem?
-
[1.7.2] Deobfuscating mod code help
Well, to be honest I do know why it doesn't work, in that biome creation changed. Specifically the fact that the BiomeManager class no longer has icybiomes/warmbiomes, etc. But what I want to know is what is supposed to be used in place of: "BiomeManager.icyBiomes.add(new BiomeManager.BiomeEntry(biomename, 10));"
-
[1.7.2] Deobfuscating mod code help
Ok, so things were going fine for me, until I got to the biome portion of my endeavors. In one of the main biome files, I found this line of code which gives an error: . So my question is what could be done to fix this?
-
[1.7.2] Deobfuscating mod code help
I think I would how to resolve this, found there were actually 2 variables named debug, one was a Property type, and the other was of Boolean type. So I think all I should have to do is change one of their variable names.
-
[1.7.2] Deobfuscating mod code help
By doesn't work I mean I get this when I change it: "the method getBoolean(String, String, Boolean) is undefined for the type Configuration"
-
[1.7.2] Deobfuscating mod code help
Hmm, that one doesn't work, I'm coding 1.7.2 atm.
-
[1.7.2] Deobfuscating mod code help
Ok, another problem I have encountered was with this line in the configuration: I also noticed there is a boolean named debug in the beginning of the main file. I'd assume that it's supposed to be different Like change the Property debug to a different name, or change the Boolean debug to a different name?
-
[1.7.2] Deobfuscating mod code help
Thank you, the true in place of 1 did fix the first issue, but I didn't fix the error with "bound[0] != 0" within the setBlockBounds inner method, unless I have to change the "0" to false? Would that be right?
-
[1.7.2] Deobfuscating mod code help
Ok, this is the method where it is contained, with what "iblockaccess" points to:
IPS spam blocked by CleanTalk.