Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:45 PM
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:39 PM
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:35 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW - Newish Server 30+ Online all the time - Very Unique - Play now : [link]
      February 15, 2020, 04:16:38 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW - Discord : [link]
      February 15, 2020, 04:15:41 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW :) - [link]
      February 15, 2020, 04:14:50 PM
    • friendlyhelper: Meet up with old and new friends and explore what Runescape Classic could have been had development continued [link]
      February 15, 2020, 03:55:17 PM
    • friendlyhelper: Meet up with old and new friends and explore what Runescape Classic could have been had development continued [link]
      February 15, 2020, 03:49:34 PM
    • friendlyhelper: After well over 6 years of continuous runtime, RSCR still most actively developed RSC server  [link]
      February 15, 2020, 03:49:29 PM
    • SnowRSPS: Checkout Snowrsps.com - Snow317.org - Snowscape.net Open 24.7 [link] !Do not join Galaxy!
      February 15, 2020, 08:15:39 AM
    • SnowRSPS: Checkout Snowrsps.com - Snow317.org - Snowscape.net Open 24.7 [link] !Do not join Galaxy!
      February 15, 2020, 08:15:32 AM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:16 PM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:11 PM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:00 PM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:42 AM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:37 AM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:33 AM
    • Tonystark2830: https: //discord .gg /AHeVSMQ
      February 13, 2020, 11:35:21 AM
    • Tonystark2830:[link]
      February 13, 2020, 11:35:06 AM
    • Tonystark2830:[link] who ever has the most invites will be given money weekly! whats the catch? you must have over 15 invites for the week!  if you are tied with someone else at the end of the week you will both be awarded the same amount "no it will not be split"
      February 13, 2020, 11:34:42 AM

    Author Topic: Pre-194 login protocol  (Read 706 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineAmbokile

    • Member
    • ****
    • Posts: 3,009
    • Thanks: +0/-0
      • View Profile
    Pre-194 login protocol
    « on: November 06, 2014, 06:22:46 PM »
    This is the login protocol for the pre-194 client.

    Directions
    s = server
    c = client
    e.g. "s -> c" = "server to client"

    Direction        Type               Purpose                                     Notes
    s -> c1 * longServer session keyCan be generated with new SecureRandom().nextLong();
    c -> s1 * byteConnection type16 for a normal connection, 18 for a reconnection
    c -> s1 * byteLogin block size
    c -> s7 * intCRC valuesThe 7 CRC checksums from the client
    c -> s1 * byteRemaining block sizeContains the remaining size of the login block. This minus 21 will give you the size of the username and password.
    c -> s1 * byteMagic numberThis should be 10, just like in 317
    c -> s1 * longClient session keyUsed for encryption
    c -> s1 * longServer session keyUsed for encryption
    c -> s1 * intDummyA dummy value - it will always be 0
    c -> s1 * stringUsernameThe connecting username
    c -> s1 * stringPasswordThe connecting password
    s -> c1 * byteReponse codeThe response code, see below

    ID                Response                                   
    1Wait 2000ms and attempt login again.
    2Successful login. Initialise the client.
    3"Invalid username or password."
    4"Your account has been disabled. Please check your message-centre for details."
    5"Your account is already logged in. Please try again in 60 secs..."
    6"RuneScape has been updated! Please reload this page."
    7"This world is full. Please use a different world."
    8"Unable to connect. Login server offline."
    9"Login limit exceeded. Too many connections from your address."
    10"Unable to connect. Bad session ID."
    11"Unable to connect. Login server rejected session."
    12"You need a members account to beta-test. Please subscribe, or play RS1 instead"
    13"Could not complete login. Please try using a different world."
    14"The server is being updated. Please wait 1 minute and try again."
    Runescape Gambling

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal