Hello,
Well i saw this and i loled [Only registered and activated users can see links. ]
So this is the real way to do it
renamed clients
Find
Code:
aStream_847.writeWordBigEndian(255);
aStream_847.writeWord(317);
The 255 and 317 = your client versions
go to your server side and find in the client.java
u will see somthink like
Code:
if ((inStream.readUnsignedByte() != 255)
|| (inStream.readUnsignedWord() != 317)) {
shutdownError("Wrong login packet magic ID (expected 255, 317)");
return;
}
just change the client side to like
Code:
aStream_847.writeWordBigEndian(5);
aStream_847.writeWord(5);
and server side to
Code:
if ((inStream.readUnsignedByte() != 5)
|| (inStream.readUnsignedWord() != 5)) {
shutdownError("Wrong login packet magic ID (expected 5, 5)");
return;
}
That will make your client only connect to your server and only allow ur client to connect to it
~T X