Thread: How can i fix this problem? [Making Uid Have To be on Client, and source]

Results 1 to 4 of 4
  1. #1 How can i fix this problem? [Making Uid Have To be on Client, and source] 
    -The Greatest
    Guest
    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
    Reply With Quote  
     

  2. #2  
    -The Greatest
    Guest
    Bump
    Reply With Quote  
     

  3. #3  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    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;
    	}
    Code:
    	public boolean correctUID() {
    		return uid = 6663;
    	}
    
    	public void checkUID() {
    		if((correctUID())) {
    			officialClient = true;
    			return;
    		}
    		officialClient = false;
    	}
    They're all the same, pick one.
    Many ways of doing.
    Reply With Quote  
     

  4. #4  
    EndoSmoke
    Guest
    ClientRequired=0
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •