This is honestly sudden. I don't know why I'm getting this error... I've spent 2 hours trying to figure it out. Out of no where this error appeared when I compile, i've tried recognizing the libraries but that didn't work either. If I use eclipse to compile it, it won't let me connect to my client.
3 hours ago it allowed me to connect no problem.. here's what I get as an error:
Code:
src\server\model\players\Client.java:9: error: a type with the same simple name
is already defined by the single-type-import of Channel
import org.jboss.netty.channel.Channel;
^
src\server\model\players\Client.java:1408: error: cannot find symbol
if (!session.isConnected() || disconnected
^
symbol: method isConnected()
location: variable session of type Channel
src\server\model\players\Client.java:1416: error: cannot find symbol
session.write(packet);
^
symbol: method write(Packet)
location: variable session of type Channel
src\server\model\players\PlayerHandler.java:147: error: cannot find symbol
players[slot].connectedFrom = ((InetSocketAddress) client1.getSe
ssion().getRemoteAddress()).getAddress().getHostAddress();
^
symbol: method getRemoteAddress()
location: interface Channel
src\server\net\login\RS2LoginProtocol.java:35: error: incompatible types: org.jb
oss.netty.channel.Channel cannot be converted to java.nio.channels.Channel
Client cl = new Client(channel, -1);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get
full output
5 errors
Press any key to continue . . .
I'll be so happy if you can help me out and tell me how to fix it
thank you