Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Need help with 3 errors please
12-14-2010, 11:44 PM #1
- Join Date
- Dec 2006
- Thanked 0 Times in 0 Posts
Need help with 3 errors please
So first off i am not a java coder at all, these past 2 days have been the first time i have ever looked at it and tried to edit it. I have an program for a game(text based browser game) i play and it alerts me when something spawns in the game to my irc channel. The original maker of this has since quit the game and we cant get in contact with him and we have moved to a different irc server and channel since. I dont have the orignal source to it, so i decompiled it and edited what needed to be edited and then while compiling it, the first 3 .java compiled fine, but the last one gave me 3 errors.
Here is a link to the full source of the 1 specific java file that is giving me errors. Im putting it on pastebin because the code is long and so you can see the specific line numbers so u can see where the code is erroring. http://pastebin.com/uYXCQdZK
This is the one i haved edited. The only thing i changed was all the channels from #shady to #ss. If you would like the unedited one, just ask and ill post it.
Here are the 3 errors im getting while compiling the java file.
IRCConnection.java:115: out is already defined in run() /* */ String out; ^ IRCConnection.java:146: cannot find symbol symbol : constructor watcher(IRCConnection) location: class IRCConnection.watcher /* 168 */ Thread wat = new Thread(new IRCConnection.watcher(IRCConnection.this)); ^ IRCConnection.java:642: cannot find symbol symbol : constructor watcher(IRCConnection) location: class IRCConnection.watcher
I have also tried to just edit the old .class files to the new channel, but when i add them back to the .jar, the program just hangs on connecting to server. But if i use the old .class files, it connects to the new server and old channel.