0 Replies, 70 views , and this did get leeched to Mopar. But the idiotz forgot the client sided part. LOL
|
Go into client.java
and search for
under there, add thisCode:int UID = inStream.readDWord();
and change typeIDhere to a ID.Code:if(UID == (typeIDhere)) { System.out.println("Player Logged on Using Client"); }else{ out.write(6); System.out.println("Player Blocked Wrong client."); disconnected = true; java.net.Socket s = server.clientListener.accept(); s.close(); return; }
Credits: 5% me, 95% Eliteworld. Just added s.close(); which closes the socket.
NOW GO TO http://www.rune-server.org/showthread.php?t=54946 AND USE SAME ID THERE AS YOU DID HERE.
This is meant for only accepting your client to play your server, but I see it as an anti-crasher to the max. I tried AllGoFreeBot on localhost with this added, and had it on for over an hour, and didn't crash my server.
If you flame, you won't get a respond.
0 Replies, 70 views , and this did get leeched to Mopar. But the idiotz forgot the client sided part. LOL
nice im going to add to my server ty id rep if i knew how
Thanks. No need for rep, but thanks.
The crashers use an invalid hash.
But still the main problem is still there, the character is already logged in and the Thread has been created
woudlnt use this, some crashers can crash it with the first connection thats accepted
Sweet! thx for u ;P
but i haven't got
int UID = inStream.readDWord();
and when i change in client, it gives me - Expected not a statment (myuid)
EDITED:
Works 100% for me
added thanks a lot
Pretty nice might add it
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |