Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure : [link]
      Today at 12:52:54 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure : [link]
      Today at 12:52:50 PM
    • U Go Home: hey does anyone have allstarscape v2 i want to make it better something to do and try and bring back the good old days
      Today at 09:22:14 AM
    • ArtexAdv:[link] come check out the most
      November 18, 2019, 11:39:14 AM
    • ArtexAdv: Www.galaxy-rsps.net come check out the most unique custom rsps
      November 18, 2019, 11:38:50 AM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure : [link]
      November 17, 2019, 10:14:59 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure : [link]
      November 17, 2019, 10:14:50 PM
    • Mazeingmaze: last logged in 2008
      November 17, 2019, 06:46:52 PM
    • Mazeingmaze: Ayy BRO
      November 17, 2019, 06:46:46 PM
    • SuperNativeZ: WANT TO BE APART OF THE BEST RSPS? [link]
      November 17, 2019, 12:22:53 AM
    • SuperNativeZ: WHY CHOOSE GALAXY RSPS?  WE HAVE THE BEST UNIQUE GAMEPLAY [link]
      November 17, 2019, 12:22:42 AM
    • SuperNativeZ: WHY CHOOSE GALAXY RSPS?  WE HAVE THE BEST UNIQUE GAMEPLAY [link]
      November 17, 2019, 12:22:39 AM
    • ragnoroker: Brand new server, come join the fun - unique server - RuneGuild -[link]
      November 15, 2019, 12:46:05 PM
    • ragnoroker: Brand new server, come join the fun - unique server - RuneGuild -[link]
      November 15, 2019, 12:46:01 PM
    • Cole1497: join horney scape we are horney all the time and have a sex emote
      November 09, 2019, 05:14:33 PM
    • thewraith500: try autoscape,0rg brand new osrs CUSTOMS server! fight caves for flaming fire cape, upgrade them to infernal wings + more!
      November 09, 2019, 01:37:29 AM
    • SuperNativeZ: Come play brand new server [link]
      November 08, 2019, 02:13:24 PM
    • SuperNativeZ: Come play brand new server [link]
      November 08, 2019, 02:13:17 PM
    • SuperNativeZ: Come play brand new server [link]
      November 08, 2019, 02:13:14 PM
    • ragnoroker: Brand new server, come join the fun - unique server - RuneGuild - [link]
      November 07, 2019, 11:55:44 AM

    Author Topic: Pre-194 login protocol  (Read 687 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