Client Sided:
First things first, these methods probably already exist in your files, but some clients are different than others, so I'll just tell you the methods anyway and if you already have them just make the appropriate changes to them.
Open signlink class and find your run method
Find:
Code:
public final void run() {
Or
Code:
public void run() {
If you already have:
EX: 26342
That # should be random numbers Any sort you want
Save and Close.
Now Open Client.java
Find Your Login Method:
Code:
private void login(String s, String s1, boolean flag)
If you scroll down you should realize this:
Code:
stream.writeDWord(/*signlink.uid*/999999);
9999999 Is the UID.
Replace:
[CODE]stream.writeDWord(/*signlink.uid*/999999);/CODE]
With:
stream.writeDWord(signlink.uid);
If you locate it just put:
Code:
stream.writeDWord(ai[3]);
Server Sided:
Find: RS2LoginProtocolDecoder.java and Open it
Then Proceed and Locate:
long clientSessionKey = in.getLong();
long serverSessionKey = in.getLong();
Under this proceed and add:
Code:
int uid = in.getInt();
if(uid != #) {
session.close();
return false;
}
Make sure that that # is the same one you added into signlink.
Compile And Your Finished