Bump
|
Okay well first i went into the client files, I went sign > signlink > i changed the uid to 6663
Then i went into the SERVER files and went to client.java and searched uid =
uid = 6663;
int expectedUid = 10204; //10202
if (6663 == expectedUid) {
officialClient = true;
}
Then i go into server.ini and put clientrequired =1
I compile, i clcik run.bat then when run.bat opens it says, Client is needed to play.
So i open up my client, i attempt to log on and it says " Client refreshed, reload page "
I WILL REP EVERYONE THAT HELPS ME OUT, PLEASE AND THANKS
-Matt
Code:int uid = 6663; int expectedUid = uid; if (uid == expectedUid) { officialClient = true; }Code:int uid = 6663; int expectedUid = uid; switch (uid) { case 6663: officialClient = true; break; default: officialClient = false; break; }Code:uid == 6663 ? officialClient = true; : officialClient = false;Code:public void checkUID() { int uid; if (uid == 6663) { officialClient = true; return; } officialClient = false; }They're all the same, pick one.Code:public boolean correctUID() { return uid = 6663; } public void checkUID() { if((correctUID())) { officialClient = true; return; } officialClient = false; }
Many ways of doing.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |