Thread: Making it so people can only connect using your client

Results 1 to 6 of 6
  1. #1 Making it so people can only connect using your client 
    Oxygen
    Guest
    How would I make it so people can only connect using my client?
    Like if I want to update it, they can't connect with the old client they used before. I know in RichScape they had something like this:

    Code:
    			if (UID != 59145243) {
    				Send("You aren't on the official client, please download it off the website.");
    			}
    But I don't understand it at all.
    So help

    I'll rep+ to anyone who helps.

    ---------- Post added at 10:20 PM ---------- Previous post was at 09:55 PM ----------

    ...Anyone?
     

  2. #2  
    Oxygen
    Guest
    Anyone?
     

  3. #3  
    Banned

    Join Date
    Oct 2007
    Posts
    928
    Thanks given
    17
    Thanks received
    2
    Rep Power
    0
    If im correct the UID is the number the client uses to corrispond with the server.

    not sure how it works tho.
     

  4. #4  
    Donator


    Join Date
    Nov 2008
    Posts
    1,031
    Thanks given
    20
    Thanks received
    33
    Rep Power
    246
    if (UID != 59145243) {
    Send("You aren't on the official client, please download it off the website.");
    return = 3;
    }

    something like that i dont remember
     

  5. #5  
    Oxygen
    Guest
    Does anyone else know?

    ---------- Post added at 02:41 AM ---------- Previous post was at 02:21 AM ----------

    o_o?
     

  6. #6  
    Banned

    Join Date
    Dec 2006
    Age
    25
    Posts
    2,196
    Thanks given
    5
    Thanks received
    23
    Rep Power
    0
    1) don't give out ip
    2) don't give out port
    3) in client - client.java find "uid" change to like 59843
    4) in server - client.java add "if (uid 1= 59843) { disconnected = true }(or w/e)"

    and you should pretty much only allow your client. if your client gets decompiled the person will be able to find the uid and make their own client use it allowing themself to use their own client to obfusticate your client
     


Thread Information
Users Browsing this Thread

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


User Tag List

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