Thread: The Login Protocol

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21  
    Renown Programmer
    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,455
    Thanks given
    0
    Thanks received
    845
    Rep Power
    3019
    Quote Originally Posted by zykl0n View Post
    16 or 18 are written later in the protocol (immediately after the initial handshake - request/response)
    that's what this mentions??
    :-)
    Reply With Quote  
     

  2. #22  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    31
    Posts
    2,012
    Thanks given
    818
    Thanks received
    1,361
    Rep Power
    329
    Quote Originally Posted by Method View Post
    that's what this mentions??
    Quote Originally Posted by original post
    Every connection to the RuneScape main 'gateway' server sends a single byte of data, mostly well known as the connection type. The connection type tells the main server which type of connection you wish to initiate. The old engine list consists of:

    * Login request - connection type 14
    * Update - connection type 15
    * New connection login - connection type 16
    * Reconnecting login - connection type 18
    he couples the connection type with the request opcode
    the request opcode can be 14 for game or 15 for update

    the connection type is sent in the second client->server packet (after the initial request and response) while the request opcode is sent in the first client->server packet (the initial request)
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

  3. #23  
    Renown Programmer
    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,455
    Thanks given
    0
    Thanks received
    845
    Rep Power
    3019
    Quote Originally Posted by zykl0n View Post
    he couples the connection type with the request opcode
    the request opcode can be 14 for game or 15 for update

    the connection type is sent in the second client->server packet (after the initial request and response) while the request opcode is sent in the first client->server packet (the initial request)
    even if they are grouped together, it's made clear in the explanation that 14 is sent first followed by 16/18 when the second part of the handshake is performed.
    Last edited by Method; 11-07-2010 at 04:47 PM.
    :-)
    Reply With Quote  
     

  4. #24  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,746
    Thanks given
    354
    Thanks received
    1,370
    Rep Power
    3032
    zykl0n some connection types can transition; specifically, 14 to 16 or 18 during the login handshake.
    Reply With Quote  
     

  5. #25  
    Donator


    Join Date
    Mar 2008
    Posts
    1,945
    Thanks given
    118
    Thanks received
    201
    Rep Power
    2104
    16 is connection when the player d/c's and 18 is when the player logs in for the first time and after a logout i believe or its the other way around
    Attached image
    Reply With Quote  
     

  6. #26  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,746
    Thanks given
    354
    Thanks received
    1,370
    Rep Power
    3032
    Quote Originally Posted by Lmctruck30 View Post
    16 is connection when the player d/c's and 18 is when the player logs in for the first time and after a logout i believe or its the other way around
    erm good work i suppose
    Reply With Quote  
     

  7. #27  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,758
    Thanks given
    221
    Thanks received
    817
    Rep Power
    2116
    Quote Originally Posted by Michael View Post
    LoginType 16 is not in the protocolId that is the type of connection, 16 for straight login, 18 for reconnection I think
    connection type 16 != normal login, 16 = new connection, 14 for login, 18 for reconnect.
    OT:
    Nice work, i just read through this because i was seeing if there was anything here i didn't already know about the login protocol.
    Reply With Quote  
     

  8. #28  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    7,987
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    I just used this. Brilliant post if i do say so myself.


    Reply With Quote  
     

  9. #29  
    Registered Member
    Join Date
    Nov 2010
    Posts
    262
    Thanks given
    9
    Thanks received
    17
    Rep Power
    15
    This is interresting, and surely a help.
    Thank you for sharing! Any more of these posts coming (thinking about this, and the player updating) ?
    Reply With Quote  
     

  10. #30  
    Banned

    Join Date
    Dec 2007
    Age
    30
    Posts
    1,986
    Thanks given
    257
    Thanks received
    326
    Rep Power
    0
    super_
    about those 8 bytes that are 'ignored'
    when rs was run on older servers
    they were used to make the client stay connected while the rsa block was in que to be parsed and loged in,
    eg send 1 byte every 30seconds, keeps client from timing out
    Reply With Quote  
     

Page 3 of 4 FirstFirst 1234 LastLast

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
  •