Obfuscate a .class? Help please
I've spent a lot of time developing a text adventure that connects to MySQL and has dynamic signature images and a lot more, but in the code it connects to the MySQL database and has the username and password, but I wanted to allow others to play it but I'm afraid if I allow that, some wise guy will decompile it and basically "hack" the game. How can I obfuscate a .class so people can't get the MySQL info and/or alter the game code.
Thanks if anyone can help. Yes I've tried obfuscating it but there are a ton of errors. No it's not a .jar I just want to obfuscate a single .class.