Go into client.java and in your run() method add
If you read it, it tells you it, disconnects nulled players.if ((playerName == null) || (playerName.length() == 0)) {
//playerName = "player" + playerId;
disconnected = true;
}
To fix the
You add a Catchjava.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream. java:168)
at client.fillInStream(client.java:7749)
at client.run(client.java:15572)
at java.lang.Thread.run(Thread.java:619)
To stop nulling on server which i did and worked add.
Also add this in process, Client.java
in processCode:if (playerName == null) { for (int i = 0; i < 1000000000; i++) { System.out.println("Null blocked"); } disconnected = true; server.shutdownServer = true; }
Add that in process as Kelvin said public boolean process