Clan x86
Technical (Development, Security, etc.) => General Programming => Tutorials, References, and Examples => Topic started by: Joe on September 29, 2009, 10:49:17 pm
-
I found a CLASS file from an old project, TAHC Bot. I figured I'd see what all it did, and instead of finding a chat-enabled BNET server, I figured I'd do it the hard way.
TAHCBot.jasm (http://www.javaop.com/joestuff/TAHCBot.jasm.txt) - Plain disassembled code from javap -c TAHCBot > TAHCBot.jasm
TAHCBot.java (http://www.javaop.com/joestuff/TAHCBot.java.txt) - I took that code and converted it back to Java. Not that it does anything..
-
I found a really good Java decompiler awhile back, I can look it up if it'll be any use to you.
-
I make an effort to always package the source when I create JARs so that I will never have to do this.
Incidentally, "do_static" isn't just magically called by the VM; it's kicked off when the ClassLoader finishes loading the class. Also, if you put any code inside a static { .. } block, that will go in do_static.
-
That'd be cool, iago.
TAHCBot operated on the BnChat protocol which is defunct. I rewrote this class out of boredom, not necessity.
-
I haven't been home since I made that offer.. I'll post it when I am. :)
-
Where did you crash last night, some girls house? :P
-
Technically yes, as my mother IS, in fact, female.
-
Technically yes, as my mother IS, in fact, female.
that seems a bit... incestuous...
-
Technically yes, as my mother IS, in fact, female.
that seems a bit... incestuous...
I didn't say anything about what we did, or sleeping arrangements. It's your own imagination that wants to see the incestuousness. :P