Thread: Making your client connect to only ur server

Results 1 to 6 of 6
  1. #1 Making your client connect to only ur server 
    T X
    Guest
    Hello,

    Well i saw this and i loled [Only registered and activated users can see links. ]

    So this is the real way to do it

    renamed clients

    Find
    Code:
                    aStream_847.writeWordBigEndian(255);
                    aStream_847.writeWord(317);
    The 255 and 317 = your client versions

    go to your server side and find in the client.java
    u will see somthink like
    Code:
    			if ((inStream.readUnsignedByte() != 255)
    					|| (inStream.readUnsignedWord() != 317)) {
    				shutdownError("Wrong login packet magic ID (expected 255, 317)");
    				return;
    			}
    just change the client side to like
    Code:
                    aStream_847.writeWordBigEndian(5);
                    aStream_847.writeWord(5);
    and server side to
    Code:
    			if ((inStream.readUnsignedByte() != 5)
    					|| (inStream.readUnsignedWord() != 5)) {
    				shutdownError("Wrong login packet magic ID (expected 5, 5)");
    				return;
    			}
    That will make your client only connect to your server and only allow ur client to connect to it

    ~T X
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Apr 2008
    Posts
    794
    Thanks given
    1
    Thanks received
    5
    Rep Power
    126
    LOL, didn't Ben do this? With his Junk !=5...?
    Reply With Quote  
     

  3. #3  
    T X
    Guest
    Not really alot of ppl no how to do this but ppl still ask so i posted how to do it with no help of noone else mate lol

    Its basic but helps nubs out

    Plus iam supprised if ben did do it i bet luke did it lol
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Apr 2008
    Posts
    794
    Thanks given
    1
    Thanks received
    5
    Rep Power
    126
    Quote Originally Posted by Rsc coder View Post
    Not really alot of ppl no how to do this but ppl still ask so i posted how to do it with no help of noone else mate lol

    Its basic but helps nubs out

    Plus iam supprised if ben did do it i bet luke did it lol
    lul, prolly, Zenzie told me something about UIDs and it, I figured this out maybe a month ago, really helps get rid of 3rd party clients 33.
    Reply With Quote  
     

  5. #5  
    i am a fatty a ma i
    Guest
    Lol k nice job
    Reply With Quote  
     

  6. #6  
    Renown Programmer


    Join Date
    Dec 2006
    Posts
    1,716
    Thanks given
    268
    Thanks received
    217
    Rep Power
    1836
    I did this a year ago..lol..it's not even close to good. ****cheeze did this 2 years ago, except he sent actual packets.
    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

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