Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • drubrkletern: be honest with me boss
      December 06, 2019, 01:31:52 AM
    • drubrkletern: now is it really that unique
      December 06, 2019, 01:31:47 AM
    • SuperNativeZ: COME PLAY THE MOST UNIQUE CUSTOM RSPS #1 [link][link][link]
      December 05, 2019, 09:22:55 PM
    • SuperNativeZ: FASTEST GROWING #1 UNIQUE CUSTOM RSPS [link][link][link]
      December 05, 2019, 09:22:42 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 60+ online : [link]
      December 05, 2019, 02:48:39 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      December 05, 2019, 02:48:31 PM
    • Cole1497: you click any of these links? those boner pills theyre selling are wicked
      December 04, 2019, 05:58:03 PM
    • Cole1497: oh shit vain whats crackin
      December 04, 2019, 05:57:49 PM
    • ArtexAdv: FASTEST GROWING #1 UNIQUE CUSTOM RSPS [link]
      December 04, 2019, 06:30:27 AM
    • Vain_: where the boys at
      December 01, 2019, 03:20:36 PM
    • black evil111: They should close this down, mostly the downloads section. The mods dont know how to do their jobs worth shit and its no excuse like "we have real life stuff going on" everyones replacable. Speaking of replacable, fix download links! Before I go to rune-server.
      December 01, 2019, 01:50:26 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 28, 2019, 12:41:24 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 28, 2019, 12:40:42 PM
    • 1strangler77: how do i post pictures on a post
      November 24, 2019, 05:16:18 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 23, 2019, 08:23:51 PM
    • Freja1793: Hi
      November 22, 2019, 07:58:41 PM
    • xdarklordxx: JOIN NOW [link]
      November 22, 2019, 03:19:16 PM
    • xdarklordxx: RUNITY IS BACK AND BETTER THAN EVER VERY NICE STAFF AND TONS OF CUSTOMS!!
      November 22, 2019, 03:18:36 PM
    • xdarklordxx: >!https://dl.dropbox.com/s/9iwtazv703mpqsw/LmfaoScape.jar<!
      November 22, 2019, 03:17:04 PM
    • Shadow Monarch: where do i get a client and source
      November 19, 2019, 11:17:48 PM

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