Protocol guide

How client-original.jar talks to its game server, in plain words. Everything here was read from the client's bytecode; nothing was run and nothing was sent.

Basics

The game runs over one TCP connection to www.spawnpk.org:43594. After the login, both sides exchange packets. A packet is one byte saying what kind of message it is (the opcode), then that message's fields.

How a packet is framed

  1. Opcode, 1 byte. The opcode is not sent as it is. Each side keeps a number generator (the opcode cipher, q.a) seeded at login. The client adds the next generated number to every opcode it sends, and subtracts the next number of a second generator from every opcode it receives. Without the seeds the opcodes on the wire look random.
  2. Length. For packets from the server, the table f.d.b gives each opcode's size: a fixed number of bytes, or a marker meaning a 1-byte or 2-byte length follows the opcode.
  3. Fields. The rest is the fields, back to back, with no separators. Their order and types are fixed per opcode, which is what this page lists.

How to read an entry

Each field shows a short type such as u16 BE b0+128, the same in words, and where the value goes (for packets from the server) or what value is written (for packets the client sends). Names like Client.fy or local3 are the client's own scrambled names: this build has no readable names, so a field's meaning comes from the stock 317 protocol where the packet matches, from text in the code, or from a hand-written note.

Three sources of meaning are kept apart: derived facts (types, sizes, order, conditions), the 317 name (a well-known reference, matched by opcode and checked by size), and notes written by hand.

Data types

Numbers are written in several byte orders, and some bytes are altered on the wire. These variations carry no meaning; they only make the stream harder to read. The short names used on this page:

Short nameIn wordsBuffer methods
smart-sumA large smart: sum of e() smarts; another follows while the last equals 32767d(), v()
smartA "smart": 1 byte for small values, otherwise 2 bytes (first byte < 128 → u8; else u16 BE, value - 32768)e(), f(), n(), t(), L()
u24 BE3 bytes, high byte firstg(), C()
bytesA run of bytes: raw bytes into a byte[] argument; arguments (byte[])a(byte[]), a(byte[], int, int), H(), a(int, int, byte[]), a(int, byte[], int), b(int, int, byte[]), b(byte[], int, int)
i81 byteb(int), i(int)
var3 bytes read with the mask applied before the shift (255 & (b << n)): only the last byte survivesc(int), s()
u16 BE2 bytes, high byte first, read as an unsigned numberl(), o(), q(), x(), A()
i32 BE4 bytes, high byte firstm(), p(), r(), g(int), D()
s16 BE2 bytes, high byte first, read as a signed numberu(), B()
stringText, terminated by byte 0w(), a(String), F()
i16 BE2 bytes, high byte firstd(int)
i16 LE2 bytes, low byte firste(int), n(int)
i24 BE3 bytes, high byte firstf(int)
i32 LE4 bytes, low byte firsth(int)
i64 BE8 bytes, high byte firsta(long), E()
u81 byte, read as an unsigned numbery()
s81 byte, read as a signed numberz()
skipSkips bytes up to and including the first byte 10G(), I()
bitsA bit field: n bits from the bit cursor (n = argument), MSB firstk(int)
i8 -v1 byte, the byte is negated on the wirel(int)
i8 128-v1 byte, the byte is sent as 128 minus itselfm(int)
u8 +1281 byte, read as an unsigned number, the byte has 128 added on the wireN()
u8 -v1 byte, read as an unsigned number, the byte is negated on the wireO()
u8 128-v1 byte, read as an unsigned number, the byte is sent as 128 minus itselfP()
s8 -v1 byte, read as a signed number, the byte is negated on the wireQ()
s8 128-v1 byte, read as a signed number, the byte is sent as 128 minus itselfR()
i16 BE b0+1282 bytes, high byte first, the lowest byte has 128 added on the wireo(int)
i16 LE b0+1282 bytes, low byte first, the lowest byte has 128 added on the wirep(int)
u16 LE2 bytes, low byte first, read as an unsigned numberS()
u16 BE b0+1282 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wireT()
u16 LE b0+1282 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wireU()
s16 LE2 bytes, low byte first, read as a signed numberV()
s16 LE b0+1282 bytes, low byte first, read as a signed number, the lowest byte has 128 added on the wireW()
i32 ME[1 0 3 2]4 bytes, bytes in the mixed order [1 0 3 2]X()
i32 ME[2 3 0 1]4 bytes, bytes in the mixed order [2 3 0 1]Y()

In the short names, u is unsigned, s signed and i a plain integer; the number is the width in bits; BE is high byte first, LE low byte first, ME a mixed order.

Login

Logging in is one method, Client.a(String, String, boolean). It opens the connection, exchanges a few bytes with the server, sends one block with the account details, sets up the opcode ciphers and waits for a one-byte answer. The steps below are in the order the code runs them.

It is called with:

Connect

The client opens the game socket.

Step 1 · connect
Opens a TCP connection to www.spawnpk.org:43594.
Only when !l.b()

Handshake

Two bytes ask the server for a login session.

Step 2 · seek
Starts over in buffer Client.fy: what is written next begins at byte 0 again. (offset = 0)
Step 3 · write Handshake opcode
Writes i8 into Client.fy at byte 0: 14.
Note (written by hand, not derived)
14 is the login request in the stock 317 protocol.
Step 4 · write Name hash
Writes i8 into Client.fy at byte 1: (int) ((O.a(arg1) >> 16) & 31L).
Note (written by hand, not derived)
Five bits taken from a number computed from the username. In stock 317 that number is the base-37 encoding of the name, and the server uses these bits to pick a login server.
Where this value comes from (1)
argument 1 of Client.a (String); callers pass fn in Client.x | fn in Client.bV | v.fn in l.d.c.a
Step 5 · send
Sends 2 bytes to the server: the contents of buffer Client.fy.
Step 6 · recv
Receives 1 byte from the server -> skipped (value discarded). This happens 8 times.
Step 7 · recv
Receives 1 byte from the server -> local8 (the handshake reply: 0 continues, any other value is handled by the reply code table).
Step 8 · recv
Receives 8 bytes from the server -> buffer na.
Only when nJ.b() == 0 and !l.b()

Server key

The server answers with eight bytes that both sides mix into the opcode ciphers.

Step 9 · seek
Starts over in buffer na: what is written next begins at byte 0 again. (offset = 0)
Step 10 · read Server session key
Reads i64 BE from na at byte 0 -> oj.
Note (written by hand, not derived)
Eight bytes chosen by the server. Its two halves become the third and fourth cipher seeds.
Step 11 · set
Prepares a value: arr1[0] = (int) (Math.random() * 9.9999999E7) (arr1 is an array created in this method: int[4]).
Where this value comes from (1)
Math.random(): a fresh random value on every login
Step 12 · set
Prepares a value: arr1[1] = (int) (Math.random() * 9.9999999E7).
Where this value comes from (1)
Math.random(): a fresh random value on every login
Step 13 · set
Prepares a value: arr1[2] = (int) (oj >> 32).
Where this value comes from (2)
field Client.oj = na.E() in Client.a(String, String, boolean)
read from buffer na as i64 BE (bytes received from the server)
Step 14 · set
Prepares a value: arr1[3] = (int) oj.
Where this value comes from (2)
field Client.oj = na.E() in Client.a(String, String, boolean)
read from buffer na as i64 BE (bytes received from the server)

The login block

The account details and machine identifiers, written into one buffer.

Step 15 · seek
Starts over in buffer Client.fy: what is written next begins at byte 0 again. (offset = 0)
Step 16 · write Block marker
Writes i8 into Client.fy at byte 0: 10.
Note (written by hand, not derived)
In stock 317 the block that would be RSA-encrypted starts with 10.
Step 17 · write Cipher seed 1
Writes i32 BE into Client.fy at byte 1: arr1[0] (= (int) (Math.random() * 9.9999999E7)).
Note (written by hand, not derived)
A random number made by the client for this login.
Step 18 · write Cipher seed 2
Writes i32 BE into Client.fy at byte 5: arr1[1] (= (int) (Math.random() * 9.9999999E7)).
Note (written by hand, not derived)
A second random number made by the client.
Step 19 · write Cipher seed 3
Writes i32 BE into Client.fy at byte 9: arr1[2] (= (int) (oj >> 32)).
Note (written by hand, not derived)
The high half of the server session key.
Step 20 · write Cipher seed 4
Writes i32 BE into Client.fy at byte 13: arr1[3] (= (int) oj).
Note (written by hand, not derived)
The low half of the server session key.
Step 21 · write Client id (uid)
Writes i32 BE into Client.fy at byte 17: u.a.c.
Note (written by hand, not derived)
A number the client stores in a file under the user's home folder and reads back at start-up, plus 1. It stays the same across logins on one machine and one Windows user.
Where this value comes from (5)
field u.a.c = u.a.f(u.a.f()) in u.a.run()
u.a.f(String) returns new DataInputStream.readInt() + 1 | 0
u.a.f(String) reaches file access, writes a file, random value via u.a.f()
u.a.f() returns "" | null
u.a.f() reaches System.getProperty, file access [user.home | file.separator | Couldn't find cache directory!] via u.a.f()
Step 22 · write Client version
Writes i32 BE into Client.fy at byte 21: 314.
Note (written by hand, not derived)
The build number of this client. A different number is answered with reply 6, "Please reload your game client."
Step 23 · write Username
Writes string into Client.fy at byte 25: arg1. String, terminated by byte 10.
Note (written by hand, not derived)
Sent as text ending with byte 10.
Where this value comes from (1)
argument 1 of Client.a (String); callers pass fn in Client.x | fn in Client.bV | v.fn in l.d.c.a
Step 24 · write Password
Writes string into Client.fy: arg2. String, terminated by byte 10.
Note (written by hand, not derived)
Sent as text ending with byte 10. Step 27 does not encrypt the block, so the password crosses the network readable.
Where this value comes from (1)
argument 2 of Client.a (String); callers pass fo in Client.x | fo in Client.bV | v.fo in l.d.c.a
Step 25 · write Hardware id
Writes string into Client.fy: {u.a.e() | "null"}. String, terminated by byte 10.
Note (written by hand, not derived)
A string identifying the machine. On Windows it is built from the output of systeminfo and the Windows install date; on macOS from the hardware serial number; on Linux from dmidecode. If none of those gives a result, the first network adapter's MAC address is used. The text "null" is sent when nothing works.
Where this value comes from (13)
u.a.e() returns {secure.c.a() | u.a.c() | secure.a.a() | secure.b.a()}
u.a.e() reaches runs a process [/usr/sbin/system_profiler | SPHardwareDataType | Serial Number | :] via u.a.e() > secure.b.a()
u.a.e() reaches NetworkInterface.getNetworkInterfaces, NetworkInterface.getHardwareAddress via u.a.e() > u.a.c()
u.a.e() reaches runs a process [System Info command timed out.] {strings of the caller: cmd /c systeminfo | powershell.exe -Command "(Get-CimInstance Win32_OperatingSystem).InstallDate.ToString('yyyyMMddHHmmss.ffffff')"} via u.a.e() > secure.c.a() > secure.c.a()
u.a.e() reaches runs a process {strings of the caller: Serial Number: | dmidecode -t system} via u.a.e() > secure.a.a() > secure.a.b() > secure.a.a()
secure.c.a() returns secure.c.a | null
secure.c.a() reaches runs a process [System Info command timed out.] {strings of the caller: cmd /c systeminfo | powershell.exe -Command "(Get-CimInstance Win32_OperatingSystem).InstallDate.ToString('yyyyMMddHHmmss.ffffff')"} via secure.c.a() > secure.c.a()
u.a.c() returns "" | null
u.a.c() reaches NetworkInterface.getNetworkInterfaces, NetworkInterface.getHardwareAddress via u.a.c()
secure.a.a() returns secure.a.a
secure.a.a() reaches runs a process {strings of the caller: Serial Number: | dmidecode -t system} via secure.a.a() > secure.a.b() > secure.a.a()
secure.b.a() returns secure.b.a | null
secure.b.a() reaches runs a process [/usr/sbin/system_profiler | SPHardwareDataType | Serial Number | :] via secure.b.a()
Step 26 · write Short login-screen field
Writes string into Client.fy: fp. String, terminated by byte 10.
Note (written by hand, not derived)
A text field the login screen cuts to 5 characters. My guess is that it is the invitation code that reply 24 refers to; that is not confirmed.
Where this value comes from (7)
field Client.fp = "" in Client.by()
field Client.fp = fp.substring(0, fp.length() - 1) in Client.bV()
field Client.fp = concat(fp, (char) w(-796)) in Client.bV()
C.w(int) returns {-1 | r[s]}
field Client.fp = fp.substring(0, 5) in Client.bV()
field Client.fp = "" in Client.keyPressed(KeyEvent)
field Client.fp: 1 more assignments
Step 27 · buf
Re-encodes the bytes written so far as new BigInteger(bytes).toByteArray(), behind a 1-byte length; no modPow call, so the block is not encrypted. (buffer Client.fy)

Header and send

A short header is written into a second buffer, the block is appended, and the whole thing is sent.

Step 28 · seek
Starts over in buffer jZ: what is written next begins at byte 0 again. (offset = 0)
Step 29 · write Login type: reconnect
Writes i8 into jZ at byte 0: 18.
Only when arg3 and nJ.b() == 0 and !l.b()
Note (written by hand, not derived)
18 marks a reconnect in stock 317.
Step 30 · write Login type: new
Writes i8 into jZ at byte 0: 16.
Only when !arg3 and nJ.b() == 0 and !l.b()
Note (written by hand, not derived)
16 marks a fresh login in stock 317.
Step 31 · write Length
Writes i8 into jZ at byte 1: (((Client.fy.h + 36) + 1) + 1) + 2.
Only when nJ.b() == 0 and !l.b()
Note (written by hand, not derived)
The number of bytes that follow this one: the block plus the 40 bytes of header after it.
Where this value comes from (1)
the offset of Client.fy: the number of bytes written to it so far
Step 32 · write Magic number
Writes i8 into jZ at byte 2: 255.
Note (written by hand, not derived)
Always 255, as in stock 317.
Step 33 · write Protocol revision
Writes i16 BE into jZ at byte 3: 317.
Note (written by hand, not derived)
317: the protocol family this client descends from.
Step 34 · write Flag
Writes i8 into jZ at byte 5: {0 | 1}.
Note (written by hand, not derived)
One byte, 0 or 1, from a static setting. In stock 317 this position is the low-memory flag.
Step 35 · write Cache checksums
Writes i32 BE into jZ at byte 6: eH[<varies>]. This happens 9 times.
Note (written by hand, not derived)
Nine numbers. In stock 317 these are the checksums of the nine cache archives, which let the server reject an outdated cache.
Where this value comes from (1)
field Client.eH = new int[9] in Client.<init>()
Step 36 · write The block
Writes bytes into jZ at byte 42: Client.fy.g, Client.fy.h, 0 (the bytes written to Client.fy (its steps above)). Raw bytes copied from a byte[] argument; arguments (byte[], int, int).
Note (written by hand, not derived)
Everything written in phase 3 is copied in here.
Step 37 · cipher
Creates an opcode cipher from seeds arr1 (kept in Client.fy.l: added to every outgoing opcode).
Step 38 · set
Prepares a value: arr1[i] = the element + 50. This happens 4 times.
Step 39 · cipher
Creates an opcode cipher from seeds arr1 (kept in lP: subtracted from every incoming opcode).
Step 40 · send
Sends jZ.h bytes to the server: the contents of buffer jZ.
Step 41 · recv
Receives 1 byte from the server -> local8 (the reply code (table below)).
Step 42 · wait
Waits 2000L ms.
Only when {nJ.b() | nJ.b()} == 1 and !l.b()
Step 43 · retry
Starts the login again from the top. (the login method calls itself with (arg1, arg2, arg3))
Step 44 · recv
Receives 1 byte from the server -> cV.
Only when {nJ.b() | nJ.b()} == 2 and {nJ.b() | nJ.b()} != 1 and !l.b()
Step 45 · recv
Receives 1 byte from the server -> condition: <v> == 1.
Step 46 · opcode First game packet
Starts the first game packet in Client.fy: opcode 185, with the cipher key added.
Note (written by hand, not derived)
Sent right after a successful login. Opcode 185 is "Button click" in stock 317.
Step 47 · write Button id
Writes i16 BE into Client.fy: 912.
Note (written by hand, not derived)
The button number 912.
Step 48 · seek
Starts over in buffer Client.fy: what is written next begins at byte 0 again. (offset = 0)
Only when {nJ.b() | nJ.b()} == 15 and {nJ.b() | nJ.b()} != 14 and {nJ.b() | nJ.b()} != 13
Step 49 · seek
Starts over in buffer na: what is written next begins at byte 0 again. (offset = 0)
Step 50 · recv
Receives 1 byte from the server -> local10.
Only when {nJ.b() | nJ.b()} == 21 and {nJ.b() | nJ.b()} != 20 and {nJ.b() | nJ.b()} != 17
Step 51 · wait
Waits 1000L ms. This is repeated while <varies> >= 0.
Step 52 · retry
Starts the login again from the top. (the login method calls itself with (arg1, arg2, arg3))
Step 53 · wait
Waits 2000L ms.
Only when eo < 2 and nJ.b() == 0 and {nJ.b() | nJ.b()} == -1
Step 54 · retry
Starts the login again from the top. (the login method calls itself with (arg1, arg2, arg3))

The server's answer

The reply is one byte, received in step 41 (nJ.b()). The handshake reply (step 7) goes through the same comparisons when it is not 0. What the client does for each value:

ReplyWhat happensMessage shown
-1Waits 2000L ms; logs in againNo response from server / Please try using a different world. / No response from loginserver / Please wait 1 minute and try again.
1Waits 2000L ms; logs in again
2Reads 1 byte -> cV (step 44); reads 1 byte -> condition: <v> == 1 (step 45); logged in: sends packet 185
Success. In stock 317 the two extra bytes are the player's staff rights and a "flagged" marker.
3Shows a message and stopsInvalid username or password! / Are you sure you typed everything in correctly?
4Shows a message and stopsYou have been banned. / Please check the main site for details
5Shows a message and stopsYour account is already logged in. / Try again in 60 seconds..
6Shows a message and stopsPlease reload your game client.
7Shows a message and stopsThis world is full. / Please use a different world
8Shows a message and stopsUnable to connect. / Login server offline.
9Shows a message and stopsLogin limit exceeded. / Too many connections from your address.
10Shows a message and stopsThis account is pending email verification.. / If you don't see the email, check your spam folder!
11Shows a message and stopsLogin server rejected session. / Please try again.
12Shows a message and stopsThis account does not exist! / Please register at @yel@www.spawnpk.net/register
13Shows a message and stopsCould not complete login. / Please try using a different world.
14Shows a message and stopsThe server is being updated. / Please wait 1 minute and try again.
15Resets Client.fy; resets na
16Shows a message and stopsLogin attempts exceeded. / Please wait 1 minute and try again.
17Shows a message and stopsPlease reload your game client.
20Shows a message and stopsInvalid loginserver requested / Please try using a different world.
21Reads 1 byte -> local10 (step 50); logs in again; waits 1000L ms
The extra byte is a countdown in seconds; the client waits it out and logs in again.
You have only just left another world
22Shows a message and stopsYour account is temporary locked! Please wait a few mins.. / This is usually for refunds, name changes, etc.
23Shows a message and stopsYour username has been changed! / Please login with your new username..
24Shows a message and stopsInvation code is invalid or expired! / Are you sure you typed it correctly?
25Shows a message and stopsYou can not login with a VPN connection! / Please try on a different network..
26Nothing visible: no message, nothing more read
27Nothing visible: no message, nothing more read
28Nothing visible: no message, nothing more read
29Shows a message and stopsThis name was changed before SPK's Fresh Start. / Please use the most recent username!
30Shows a message and stopsSPK is currently under maintenance.. / Please try again later!

Do game packets carry machine details?

No. Every value the client writes into a game packet was checked: none is computed by code that can start a program, read a network adapter, read a system property or read stored preferences. Those reads feed the login block only.

Server to client

75 packets the client understands. Each is handled in Client.bW. Open one to see its fields in the order they arrive.

1Animation reset0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Animation reset with the same size, so it is very likely the same packet.

The handler reads no fields.

Fields it sets: Client.dq[<varies>].F, cC[<varies>].F

4Display stationary animation4 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Display stationary animation with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
    3. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
    4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).

Methods it calls: c

8Custom packet2 fieldsno 317 counterpart

Fixed length: always 4 bytes after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).

Fields it sets: n.e.H[na.U()].ae, n.e.H[na.U()].af

24Flash sidebar1 fields317 name, same size

Fixed length: always 1 byte after the opcode.

Stock 317 calls this opcode Flash sidebar with the same size, so it is very likely the same packet.

  1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to eu

Fields it sets: eu, fO, fe

27Custom packet0 fieldsno 317 counterpart

No payload: the opcode alone is the message.

Stock 317 has no packet with this opcode: it is specific to this server.

The handler reads no fields.

Text that appears in its code: "Enter amount:"

Fields it sets: ge, fQ, dZ, eb, fP

34Update single item5 fields317 name, same size

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Update single item with the same size, so it is very likely the same packet.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. Repeated while na.h < lT:
    1. smart a "smart": 1 byte for small values, otherwise 2 bytes (first byte < 128 → u8; else u16 BE, value - 32768). Kept in a local variable (local4).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local5).
    3. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).
    4. Then one of these, depending on a condition:
      • When na.y() == 255 (4 bytes)
        1. i32 BE 4 bytes, high byte first. Kept in a local variable (local6).
      • When na.y() != 255 (0 bytes): nothing more.

Fields it sets: fe, aA[], ax[]

35Camera shake4 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Camera shake with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Kept in a local variable (local2).
  2. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
  3. u8 1 byte, read as an unsigned number. Kept in a local variable (local4).
  4. u8 1 byte, read as an unsigned number. Kept in a local variable (local5).

Fields it sets: dj[], di[], fB[], dB[], ej[]

36Send config2 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Send config with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).
  2. s8 1 byte, read as a signed number. Kept in a local variable (local3).

Methods it calls: g, B

Fields it sets: mp[], dS[], fe, fP

44Display ground item3 fields317 name, same size

Fixed length: always 5 bytes after the opcode.

Stock 317 calls this opcode Display ground item with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).
    3. u8 1 byte, read as an unsigned number. Kept in a local variable (local5).

Methods it calls: c

50Send add friend2 fields317 name, same size

Fixed length: always 9 bytes after the opcode.

Stock 317 calls this opcode Send add friend with the same size, so it is very likely the same packet.

  1. i64 BE 8 bytes, high byte first. Kept in a local variable (local2).
  2. u8 1 byte, read as an unsigned number. Kept in a local variable (local4).

Methods it calls: O.a, O.c, a

Fields it sets: lm[], mZ[], jN[], fe, kG

53Set stack size5 fields317 name, same size

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Set stack size with the same size, so it is very likely the same packet.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).
  3. Repeated while <varies> < na.A():
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).
    2. Then one of these, depending on a condition:
      • When na.y() == 255 (4 bytes)
        1. i32 ME[2 3 0 1] 4 bytes, bytes in the mixed order [2 3 0 1]. Kept in a local variable (local6).
      • When na.y() != 255 (0 bytes): nothing more.
    3. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local7).

Fields it sets: fe, aA[], ax[]

60Region update batch27 fieldsnamed by hand

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Send regional packet with the same size, so it is very likely the same packet.

Note (written by hand, not derived)
Several small updates for one map area in a single packet. Two bytes give the area's position, then each entry starts with a byte saying which kind of update follows (the numbers 84, 215, 156 and so on are themselves packet numbers that can also arrive alone).
  1. u8 1 byte, read as an unsigned number. Goes to oL
  2. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to oK
  3. Repeated while na.h < lT:
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local2).
    2. The buffer is handed to Client.c(w.e, int), which reads:
      • When arg2 == 84 (7 bytes)
        1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
        2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
        3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local7).
        4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).
      • When arg2 == 215 (7 bytes)
        1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).
        2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local4).
        3. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local7).
        4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).
      • When arg2 == 156 (3 bytes)
        1. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).
        2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
      • When arg2 == 160 (4 bytes)
        1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local3).
        2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local6).
        3. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local10).
      • When arg2 == 151 (4 bytes)
        1. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).
        2. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local6).
        3. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local7).
      • When arg2 == 4 (6 bytes)
        1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
        2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
        3. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
        4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).
      • When arg2 == 44 (5 bytes)
        1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).
        2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).
        3. u8 1 byte, read as an unsigned number. Kept in a local variable (local5).
      • When arg2 == 101 (2 bytes)
        1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local3).
        2. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
      • When arg2 != 84 and arg2 != 215 and arg2 != 156 and arg2 != 160 and arg2 != 151 and arg2 != 4 and arg2 != 44 and arg2 != 101
        1. Then one of these, depending on a condition:
          • When arg2 == 105 (4 bytes)
            1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
            2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
            3. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
          • When arg2 != 105 (0 bytes): nothing more.
        2. Then one of these, depending on a condition:
          • When arg2 == 147 (14 bytes)
            1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local3).
            2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
            3. s8 128-v 1 byte, read as a signed number, the byte is sent as 128 minus itself. Kept in a local variable (local7).
            4. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local8).
            5. s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (local9).
            6. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local10).
            7. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local11).
            8. s8 1 byte, read as a signed number. Kept in a local variable (local15).
            9. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local16).
            10. s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (local17).
          • When arg2 != 147 (0 bytes): nothing more.
        3. Then one of these, depending on a condition:
          • When arg2 == 117 (15 bytes)
            1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
            2. s8 1 byte, read as a signed number. Goes to local6 = (oK + ((arg1.y() >> 4) & 7)) + <v>
            3. s8 1 byte, read as a signed number. Goes to local7 = (oL + (arg1.y() & 7)) + <v>
            4. s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (local8).
            5. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local9).
            6. u8 1 byte, read as an unsigned number. Goes to local10 = <v> * 4
            7. u8 1 byte, read as an unsigned number. Goes to local11 = <v> * 4
            8. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local12).
            9. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local13).
            10. u8 1 byte, read as an unsigned number. Kept in a local variable (local14).
            11. u8 1 byte, read as an unsigned number. Kept in a local variable (local15).
          • When arg2 != 117 (0 bytes): nothing more.

Methods it calls: c

Fields it sets: oL, oK

61Custom packet1 fieldsno 317 counterpart

Fixed length: always 1 byte after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. u8 1 byte, read as an unsigned number. Goes to ev

Fields it sets: ev

64Remove ground item2 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Remove ground item with the same size, so it is very likely the same packet.

  1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to oK
  2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to oL

Methods it calls: h.b, h.d, o

Fields it sets: oK, oL, {nR.b() | nR.d()}.g

65NPC update50 fieldsnamed by hand

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode NPC updating with the same size, so it is very likely the same packet.

Note (written by hand, not derived)
The positions, movement and appearance changes of nearby NPCs, packed as bit fields followed by per-NPC update blocks. Same role as in stock 317.
  1. The buffer is handed to Client.a(w.e, int), which reads:
    1. The buffer is handed to Client.e(w.e), which reads:
      • When arg1.k(8) > cD
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 8 bits read from the bit stream. Kept in a local variable (local2).
      • When arg1.k(8) <= cD
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 8 bits read from the bit stream. Kept in a local variable (local2).
        3. Repeated while <varies> < arg1.k(8):
          1. 1 bits read from the bit stream. Kept in a local variable (local6).
          2. Then one of these, depending on a condition:
            • When arg1.k(1) == 0 (0 bytes): nothing more.
            • When arg1.k(1) != 0
              1. 2 bits read from the bit stream. Kept in a local variable (local7).
            • When arg1.k(1) != 0 and arg1.k(2) == 1
              1. 2 bits read from the bit stream. Kept in a local variable (local7).
              2. 3 bits read from the bit stream. Kept in a local variable (local8).
              3. 1 bits read from the bit stream. Kept in a local variable (local9).
            • When arg1.k(1) != 0 and arg1.k(2) == 2
              1. 2 bits read from the bit stream. Kept in a local variable (local7).
              2. 3 bits read from the bit stream. Kept in a local variable (local8).
              3. 3 bits read from the bit stream. Kept in a local variable (local9).
              4. 1 bits read from the bit stream. Kept in a local variable (local10).
    2. The buffer is handed to Client.a(int, w.e), which reads:
      1. Repeated while arg2.i + 21 < arg1 * 8 && arg2.k(14) != 16383:
        1. 14 bits read from the bit stream. Kept in a local variable (local3).
        2. 5 bits read from the bit stream. Kept in a local variable (local6).
        3. 5 bits read from the bit stream. Kept in a local variable (local7).
        4. 1 bits read from the bit stream. Only tested: <v> == 1
        5. Then one of these, depending on a condition:
          • When {0 | 1} != 0
            1. 8 bits read from the bit stream. Kept in a local variable (local8).
          • When {0 | 1} == 0 (0 bytes): nothing more.
        6. 1 bits read from the bit stream. Only tested: <v> == 1
        7. Then one of these, depending on a condition:
          • When {0 | 1} != 0
            1. 8 bits read from the bit stream. Goes to cC[arg2.k(14)].ar = (byte) <v>
            2. 8 bits read from the bit stream. Goes to cC[arg2.k(14)].ao = (byte) <v>
            3. 8 bits read from the bit stream. Goes to cC[arg2.k(14)].ap = (byte) <v>
            4. 8 bits read from the bit stream. Goes to cC[arg2.k(14)].aq = (byte) <v>
          • When {0 | 1} == 0 (0 bytes): nothing more.
        8. 1 bits read from the bit stream. Only tested: <v> == 1
        9. Then one of these, depending on a condition:
          • When {0 | 1} != 0
            1. 8 bits read from the bit stream. Kept in a local variable (local14).
          • When {0 | 1} == 0 (0 bytes): nothing more.
        10. 1 bits read from the bit stream. Only tested: <v> == 1
        11. 14 bits read from the bit stream. Goes to d.d.c(<v>)
        12. 1 bits read from the bit stream. Only tested: <v> == 1
      2. End bit access: byte offset = (bit cursor + 7) / 8
    3. The buffer is handed to Client.b(w.e), which reads:
      1. Repeated while <varies> < kC:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local5).
        2. Then one of these, depending on a condition:
          • When arg1.A() & 256 != 0 (9 bytes)
            1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.V
            2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.X
            3. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.W
            4. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.Y
            5. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to <varies>.Z = <v> + Client.fi
            6. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to <varies>.aa = <v> + Client.fi
            7. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.ab
          • When arg1.A() & 256 == 0 (0 bytes): nothing more.
        3. Then one of these, depending on a condition:
          • When arg1.A() & 16 != 0 (3 bytes)
            1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local6).
            2. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
          • When arg1.A() & 16 == 0 (0 bytes): nothing more.
        4. Then one of these, depending on a condition:
          • When arg1.A() & 8 != 0
            1. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).
            2. Repeated while <varies> < arg1.y():
              1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).
              2. u8 1 byte, read as an unsigned number. Kept in a local variable (local9).
              3. u8 1 byte, read as an unsigned number. Kept in a local variable (local10).
            3. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to <varies>.M
            4. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to <varies>.N
          • When arg1.A() & 8 == 0 (0 bytes): nothing more.
        5. Then one of these, depending on a condition:
          • When arg1.A() & 64 != 0 (5 bytes)
            1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local6).
            2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local7).
            3. u8 1 byte, read as an unsigned number. Kept in a local variable (local8).
            4. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to <varies>.M
            5. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to <varies>.N
          • When arg1.A() & 64 == 0 (0 bytes): nothing more.
        6. Then one of these, depending on a condition:
          • When arg1.A() & 128 != 0 (6 bytes)
            1. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to <varies>.z
            2. i32 BE 4 bytes, high byte first. Kept in a local variable (local6).
          • When arg1.A() & 128 == 0 (0 bytes): nothing more.
        7. Then one of these, depending on a condition:
          • When arg1.A() & 32 != 0 (2 bytes)
            1. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to <varies>.m
          • When arg1.A() & 32 == 0 (0 bytes): nothing more.
        8. Then one of these, depending on a condition:
          • When arg1.A() & 1 != 0
            1. string text, terminated by byte 10. Goes to <varies>.q
          • When arg1.A() & 1 == 0 (0 bytes): nothing more.
        9. Then one of these, depending on a condition:
          • When arg1.A() & 2 != 0 and arg1.y() == 0 (3 bytes)
            1. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).
            2. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to d.d.c(<v>)
          • When arg1.A() & 2 != 0 and arg1.y() != 0 (3 bytes)
            1. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).
            2. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to <varies>.aF
          • When arg1.A() & 2 == 0 (0 bytes): nothing more.
        10. Then one of these, depending on a condition:
          • When arg1.A() & 4 != 0 (4 bytes)
            1. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to <varies>.Q
            2. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to <varies>.R
          • When arg1.A() & 4 == 0 (0 bytes): nothing more.

Methods it calls: a

68Reset button state0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Reset button state with the same size, so it is very likely the same packet.

The handler reads no fields.

Methods it calls: B

Fields it sets: dS[], fe

70Interface offset3 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Interface offset with the same size, so it is very likely the same packet.

  1. s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (local2).
  2. s16 LE 2 bytes, low byte first, read as a signed number. Kept in a local variable (local3).
  3. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local4).

Fields it sets: n.e.H[na.S()].aK, n.e.H[na.S()].aQ

71Send sidebar interface2 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Send sidebar interface with the same size, so it is very likely the same packet.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).

Fields it sets: eW[], fe, eP

72Clear inventory1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Clear inventory with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).

Fields it sets: aA[]

73Load map region2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Load map region with the same size, so it is very likely the same packet.

  1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).

Methods it calls: s.a.e.a, d.h.a, d.t.a, d.v.a, d.t.d, s.a.e.g, t$a.name, cache.osrs.d.a

Fields it sets: nG, bl, mD, bm, mE, ek, el, W, en, nv

74Send song1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Send song with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).

Methods it calls: cache.e.a

Fields it sets: ln, oo, op

75Custom packet2 fieldsno 317 counterpart

Fixed length: always 4 bytes after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).

Text that appears in its code: "Greater demon" "Black demon" "Lesser demon" "Abyssal sire"

Methods it calls: d.d.c

Fields it sets: n.e.H[na.U()].ae, n.e.H[na.U()].af, n.e.H[na.U()].aX, n.e.H[na.U()].aU, n.e.H[na.U()].aY, n.e.H[na.U()].ar, n.e.H[na.U()].F, n.e.H[na.U()].aE

78Clear minimap flag0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Clear minimap flag with the same size, so it is very likely the same packet.

The handler reads no fields.

Fields it sets: gg

79Scroll position2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Scroll position with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).
  2. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).

Fields it sets: n.e.H[na.S()].V

81Player update48 fieldsnamed by hand

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Player updating with the same size, so it is very likely the same packet.

Note (written by hand, not derived)
The same for players: the local player's movement, other players moving, players entering view, then an update block for each player that changed.
  1. The buffer is handed to Client.b(int, w.e), which reads:
    1. The buffer is handed to Client.c(w.e), which reads:
      • When arg1.k(1) == 0
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 1 bits read from the bit stream. Kept in a local variable (local2).
      • When arg1.k(1) != 0 and arg1.k(2) == 0
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 1 bits read from the bit stream. Kept in a local variable (local2).
        3. 2 bits read from the bit stream. Kept in a local variable (local3).
      • When arg1.k(1) != 0 and arg1.k(2) == 1
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 1 bits read from the bit stream. Kept in a local variable (local2).
        3. 2 bits read from the bit stream. Kept in a local variable (local3).
        4. 3 bits read from the bit stream. Kept in a local variable (local4).
        5. 1 bits read from the bit stream. Kept in a local variable (local5).
      • When arg1.k(1) != 0 and arg1.k(2) == 2
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 1 bits read from the bit stream. Kept in a local variable (local2).
        3. 2 bits read from the bit stream. Kept in a local variable (local3).
        4. 3 bits read from the bit stream. Kept in a local variable (local4).
        5. 3 bits read from the bit stream. Kept in a local variable (local5).
        6. 1 bits read from the bit stream. Kept in a local variable (local6).
      • When arg1.k(1) != 0 and arg1.k(2) != 0 and arg1.k(2) != 1 and arg1.k(2) != 2
        1. Switch to bit access: bit cursor i = byte offset x 8
        2. 1 bits read from the bit stream. Kept in a local variable (local2).
        3. 2 bits read from the bit stream. Kept in a local variable (local3).
        4. Then one of these, depending on a condition:
          • When arg1.k(2) == 3
            1. 2 bits read from the bit stream. Goes to dz
            2. 1 bits read from the bit stream. Kept in a local variable (local4).
            3. 1 bits read from the bit stream. Kept in a local variable (local5).
            4. 7 bits read from the bit stream. Kept in a local variable (local6).
            5. 7 bits read from the bit stream. Kept in a local variable (local7).
          • When arg1.k(2) != 3 (0 bytes): nothing more.
    2. The buffer is handed to Client.d(w.e), which reads:
      • When arg1.k(8) > dr
        1. 8 bits read from the bit stream. Kept in a local variable (local2).
      • When arg1.k(8) <= dr
        1. 8 bits read from the bit stream. Kept in a local variable (local2).
        2. Repeated while <varies> < arg1.k(8):
          1. 1 bits read from the bit stream. Kept in a local variable (local7).
          2. Then one of these, depending on a condition:
            • When arg1.k(1) == 0 (0 bytes): nothing more.
            • When arg1.k(1) != 0
              1. 2 bits read from the bit stream. Kept in a local variable (local8).
            • When arg1.k(1) != 0 and arg1.k(2) == 1
              1. 2 bits read from the bit stream. Kept in a local variable (local8).
              2. 3 bits read from the bit stream. Kept in a local variable (local9).
              3. 1 bits read from the bit stream. Kept in a local variable (local10).
            • When arg1.k(1) != 0 and arg1.k(2) == 2
              1. 2 bits read from the bit stream. Kept in a local variable (local8).
              2. 3 bits read from the bit stream. Kept in a local variable (local9).
              3. 3 bits read from the bit stream. Kept in a local variable (local10).
              4. 1 bits read from the bit stream. Kept in a local variable (local11).
    3. The buffer is handed to Client.b(w.e, int), which reads:
      1. Repeated while arg1.i + 10 < arg2 * 8 && arg1.k(11) != 2047:
        1. 11 bits read from the bit stream. Kept in a local variable (local3).
        2. 1 bits read from the bit stream. Kept in a local variable (local5).
        3. 1 bits read from the bit stream. Kept in a local variable (local6).
        4. 5 bits read from the bit stream. Kept in a local variable (local7).
        5. 5 bits read from the bit stream. Kept in a local variable (local8).
      2. End bit access: byte offset = (bit cursor + 7) / 8
    4. The buffer is handed to Client.a(w.e), which reads:
      1. Repeated while <varies> < kC:
        1. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).
        2. Then one of these, depending on a condition:
          • When arg1.y() & 64 != 0 (1 byte)
            1. u8 1 byte, read as an unsigned number. Goes to local7 = <v> + (<v> << 8)
          • When arg1.y() & 64 == 0 (0 bytes): nothing more.
        3. The buffer is handed to Client.a(int, int, w.e, a.k), which reads:
          1. Then one of these, depending on a condition:
            • When arg1 & 1024 != 0 (9 bytes)
              1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to arg4.V
              2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to arg4.X
              3. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to arg4.W
              4. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to arg4.Y
              5. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to arg4.Z = <v> + Client.fi
              6. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to arg4.aa = <v> + Client.fi
              7. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to arg4.ab
            • When arg1 & 1024 == 0 (0 bytes): nothing more.
          2. Then one of these, depending on a condition:
            • When arg1 & 256 != 0 (6 bytes)
              1. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to arg4.z
              2. i32 BE 4 bytes, high byte first. Kept in a local variable (local5).
            • When arg1 & 256 == 0 (0 bytes): nothing more.
          3. Then one of these, depending on a condition:
            • When arg1 & 8 != 0 (4 bytes)
              1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local5).
              2. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local6).
              3. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local7).
            • When arg1 & 8 == 0 (0 bytes): nothing more.
          4. Then one of these, depending on a condition:
            • When arg1 & 4 != 0
              1. string text, terminated by byte 10. Kept in a local variable (local5).
            • When arg1 & 4 == 0 (0 bytes): nothing more.
          5. Then one of these, depending on a condition:
            • When arg1 & 128 != 0
              1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local5).
              2. s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (local6).
              3. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local7).
              4. Then one of these, depending on a condition:
                • When arg4.aZ != null and arg4.bm and {0 | 1} == 0 and oA == 0
                  1. bytes a run of bytes: raw bytes into a byte[] argument, last index first; arguments (int, int, byte[]). Goes to into jT.g
                • Otherwise (0 bytes): nothing more.
              5. The position in the buffer is changed: h = arg3.h + arg3.O()
            • When arg1 & 128 == 0 (0 bytes): nothing more.
          6. Then one of these, depending on a condition:
            • When arg1 & 1 != 0 (2 bytes)
              1. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to arg4.m
            • When arg1 & 1 == 0 (0 bytes): nothing more.
          7. Then one of these, depending on a condition:
            • When arg1 & 16 != 0
              1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local5).
              2. bytes a run of bytes: raw bytes into a byte[] argument; arguments (int, int, byte[]). Goes to into new byte[arg3.O()]
            • When arg1 & 16 == 0 (0 bytes): nothing more.
          8. Then one of these, depending on a condition:
            • When arg1 & 2 != 0 (4 bytes)
              1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to arg4.Q
              2. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to arg4.R
            • When arg1 & 2 == 0 (0 bytes): nothing more.
          9. Then one of these, depending on a condition:
            • When arg1 & 32 != 0
              1. u8 1 byte, read as an unsigned number. Kept in a local variable (local5).
              2. Repeated while <varies> < arg3.y():
                1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local7).
                2. u8 1 byte, read as an unsigned number. Kept in a local variable (local8).
                3. u8 1 byte, read as an unsigned number. Kept in a local variable (local9).
              3. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to arg4.M
              4. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to arg4.N
            • When arg1 & 32 == 0 (0 bytes): nothing more.

Methods it calls: b

Fields it sets: in, bh, mY

84Update ground item amount4 fields317 name, same size

Fixed length: always 7 bytes after the opcode.

Stock 317 calls this opcode Update ground item amount with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
    3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local7).
    4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).

Methods it calls: c

85Update local player2 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Update local player with the same size, so it is very likely the same packet.

  1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to oL
  2. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to oK

Fields it sets: oL, oK

87Toggle interface button2 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Toggle interface button with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).
  2. i32 ME[1 0 3 2] 4 bytes, bytes in the mixed order [1 0 3 2]. Kept in a local variable (local3).

Methods it calls: B

Fields it sets: mp[], dS[], fe, fP

97Show interface1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Show interface with the same size, so it is very likely the same packet.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).

Text that appears in its code: "LMS"

Methods it calls: D, n.c.ab.l, n.c.w.i

Fields it sets: fx, fe, eP, gs, fQ, fP, n.e.H[8143].V, e, cJ, fc

99Minimap state1 fields317 name, same size

Fixed length: always 1 byte after the opcode.

Stock 317 calls this opcode Minimap state with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to mb

Fields it sets: mb

101Remove object2 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Remove object with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local3).
    2. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).

Methods it calls: c

104Display player option3 fields317 name, same size

Variable length: one byte after the opcode gives the number of bytes that follow (at most 255).

Stock 317 calls this opcode Display player option with the same size, so it is very likely the same packet.

  1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (local2).
  2. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).
  3. string text, terminated by byte 10. Kept in a local variable (local4).

Text that appears in its code: "null"

Fields it sets: nn[], no[]

105Play sound in location3 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Play sound in location with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
    3. u8 1 byte, read as an unsigned number. Kept in a local variable (local7).

Methods it calls: c

106Force tab1 fields317 name, same size

Fixed length: always 1 byte after the opcode.

Stock 317 calls this opcode Force tab with the same size, so it is very likely the same packet.

  1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to fO

Fields it sets: fO, fe, eP

107Reset camera0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Reset camera with the same size, so it is very likely the same packet.

The handler reads no fields.

Fields it sets: fh, dj[]

109Logout0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Logout with the same size, so it is very likely the same packet.

The handler reads no fields.

Methods it calls: by

110Run energy1 fields317 name, same size

Fixed length: always 1 byte after the opcode.

Stock 317 calls this opcode Run energy with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to fb

Fields it sets: fe, fb

114System update1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode System update with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to eQ = System.currentTimeMillis() + ((long) (1000 * <v>))

Fields it sets: eQ, eR

117Display projectile11 fields317 name, same size

Fixed length: always 15 bytes after the opcode.

Stock 317 calls this opcode Display projectile with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 1 byte, read as an unsigned number. Kept in a local variable (local3).
    2. s8 1 byte, read as a signed number. Goes to local6 = (oK + ((arg1.y() >> 4) & 7)) + <v>
    3. s8 1 byte, read as a signed number. Goes to local7 = (oL + (arg1.y() & 7)) + <v>
    4. s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (local8).
    5. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local9).
    6. u8 1 byte, read as an unsigned number. Goes to local10 = <v> * 4
    7. u8 1 byte, read as an unsigned number. Goes to local11 = <v> * 4
    8. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local12).
    9. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local13).
    10. u8 1 byte, read as an unsigned number. Kept in a local variable (local14).
    11. u8 1 byte, read as an unsigned number. Kept in a local variable (local15).

Methods it calls: c

121Queue song2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Queue song with the same size, so it is very likely the same packet.

  1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).

Methods it calls: cache.e.a

Fields it sets: oo, op, oF

122Interface color2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Interface color with the same size, so it is very likely the same packet.

  1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).

Fields it sets: n.e.H[na.U()].ad

126Set interface text2 fieldsnamed by hand

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Send text with the same size, so it is very likely the same packet.

Note (written by hand, not derived)
A piece of text and the id of the interface element to put it in. Reading the code: when the id is 0 and the text starts with www., http:// or https://, the client opens that address in the system browser instead.
  1. string text, terminated by byte 10. Kept in a local variable (local2).
  2. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).

Text that appears in its code: "www." "http://" "{L}" "https://"

Methods it calls: plugins.staff.d.a, n.c.a, f, n.c.ab.a, n.c.ab.b, n.c.bb.b, n.c.bb.a, i.b.c

Fields it sets: ju, cr, jB[], am[], x.G, n.e.H[<varies>].at, aV, ag, x.H, x.N

134Update skill3 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Update skill with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Kept in a local variable (local2).
  2. i32 ME[1 0 3 2] 4 bytes, bytes in the mixed order [1 0 3 2]. Kept in a local variable (local5).
  3. u8 1 byte, read as an unsigned number. Kept in a local variable (local6).

Methods it calls: EventBus.post, l.e.e.a, n.c.ap.j

Fields it sets: kh[], kT[], er[], n.e.H[f.e.c[na.y()][1].intValue() + 1].at, n.e.H[50240].at, fe, c

142Custom packet1 fieldsno 317 counterpart

Fixed length: always 2 bytes after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).

Methods it calls: D, n.d.b, n.a.a.c.b

Fields it sets: gs, fP, fQ, fx, fe, eP, fc

147Transform player into game object10 fields317 name, same size

Fixed length: always 14 bytes after the opcode.

Stock 317 calls this opcode Transform player into game object with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).
    3. s8 128-v 1 byte, read as a signed number, the byte is sent as 128 minus itself. Kept in a local variable (local7).
    4. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local8).
    5. s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (local9).
    6. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local10).
    7. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local11).
    8. s8 1 byte, read as a signed number. Kept in a local variable (local15).
    9. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local16).
    10. s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (local17).

Methods it calls: c

151Add object3 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Add object with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).
    2. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local6).
    3. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local7).

Methods it calls: c

156Remove ground item2 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Remove ground item with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (local3).
    2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local6).

Methods it calls: c

160Animate object3 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Animate object with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local3).
    2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local6).
    3. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local10).

Methods it calls: c

164Chat interface1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Chat interface with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).

Methods it calls: D

Fields it sets: ge, fQ, gs, fP, fc

166Spin camera5 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Spin camera with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to nf
  2. u8 1 byte, read as an unsigned number. Goes to ng
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to nh
  4. u8 1 byte, read as an unsigned number. Goes to ni
  5. u8 1 byte, read as an unsigned number. Goes to nj

Methods it calls: c

Fields it sets: fh, nf, ng, nh, ni, nj, cL, cN, cM

171Send hidden interface2 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Send hidden interface with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Only tested: <v> == 1
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).

Fields it sets: n.e.H[na.A()].aR

174Send sound?3 fields317 name, size differs

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Send sound (fixed 5), but this client uses 6. Treat the name as a hint only.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).

Fields it sets: oe[], ou[], oy[], oz[], my

176Open welcome screen5 fields317 name, same size

Fixed length: always 10 bytes after the opcode.

Stock 317 calls this opcode Open welcome screen with the same size, so it is very likely the same packet.

  1. u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to nI
  2. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to nD
  3. u8 1 byte, read as an unsigned number. Goes to nl
  4. i32 ME[2 3 0 1] 4 bytes, bytes in the mixed order [2 3 0 1]. Goes to nX
  5. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to lS

Methods it calls: O.a, u.a.d, bX

Fields it sets: nI, nD, nl, nX, lS, ky, nF, cJ

177Gradually turn camera5 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Gradually turn camera with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to lK
  2. u8 1 byte, read as an unsigned number. Goes to lL
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to lM
  4. u8 1 byte, read as an unsigned number. Goes to lN
  5. u8 1 byte, read as an unsigned number. Goes to lO

Methods it calls: c

Fields it sets: fh, lK, lL, lM, lN, lO, cT, cU

185Player head model on interface1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Player head model on interface with the same size, so it is very likely the same packet.

  1. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).

Fields it sets: n.e.H[na.U()].ae, n.e.H[na.U()].af

187Custom packet0 fieldsno 317 counterpart

No payload: the opcode alone is the message.

Stock 317 has no packet with this opcode: it is specific to this server.

The handler reads no fields.

Text that appears in its code: "Enter name:"

Fields it sets: ge, fQ, ea, eb, fP

196Send private message4 fields317 name, same size

Variable length: one byte after the opcode gives the number of bytes that follow (at most 255).

Stock 317 calls this opcode Send private message with the same size, so it is very likely the same packet.

  1. i64 BE 8 bytes, high byte first. Kept in a local variable (local2).
  2. i32 BE 4 bytes, high byte first. Kept in a local variable (local4).
  3. i32 BE 4 bytes, high byte first. Kept in a local variable (local5).
  4. Then one of these, depending on a condition:
    • When {0 | 1} == 0 and oA == 0
      1. string text, terminated by byte 10. Kept in a local variable (local7).
    • Otherwise (0 bytes): nothing more.

Text that appears in its code: "<N>"

Methods it calls: l.k.a, O.a, O.c, d.c.b, a

Fields it sets: ot[], nK

200Interface animation2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Interface animation with the same size, so it is very likely the same packet.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (local3).

Fields it sets: n.e.H[na.A()].aE, n.e.H[na.A()].ar, n.e.H[na.A()].aU, n.e.H[na.A()].F, n.e.H[na.A()].aV, n.e.H[na.A()].aW

206Chat settings3 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Chat settings with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to gx
  2. u8 1 byte, read as an unsigned number. Goes to cG
  3. u8 1 byte, read as an unsigned number. Goes to gc

Fields it sets: gz, gx, cG, gc, oq, fP

208Walkable interface1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Walkable interface with the same size, so it is very likely the same packet.

  1. s16 LE 2 bytes, low byte first, read as a signed number. Kept in a local variable (local2).

Methods it calls: l.f.a.c.c.M, l.f.a.c.c.k, D

Fields it sets: eg

214Send add ignore1 fields317 name, same size

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Send add ignore with the same size, so it is very likely the same packet.

  1. Repeated while <varies> < jK:
    1. i64 BE 8 bytes, high byte first. Goes to kV[<varies>]

Fields it sets: jK, kV[]

215Ground item (unknown)4 fields317 name, same size

Fixed length: always 7 bytes after the opcode.

Stock 317 calls this opcode Ground item (unknown) with the same size, so it is very likely the same packet.

  1. The buffer is handed to Client.c(w.e, int), which reads:
    1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).
    2. u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (local4).
    3. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local7).
    4. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local8).

Methods it calls: c

218Custom packet1 fieldsno 317 counterpart

Fixed length: always 2 bytes after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. s16 LE b0+128 2 bytes, low byte first, read as a signed number, the lowest byte has 128 added on the wire. Goes to eq

Fields it sets: eq, fP

219Clear screen0 fields317 name, same size

No payload: the opcode alone is the message.

Stock 317 calls this opcode Clear screen with the same size, so it is very likely the same packet.

The handler reads no fields.

Text that appears in its code: "LMS"

Methods it calls: l.f.a.i.b.l, l.f.a.i.b.k, l.f.a.i.b.r, n.d.b, n.a.a.c.b, l.f.a.i.b.m

Fields it sets: fx, fe, eP, gs, fP, fQ, fc

221Friends list status1 fields317 name, same size

Fixed length: always 1 byte after the opcode.

Stock 317 calls this opcode Friends list status with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to kH

Fields it sets: kH, fe

230Interface model rotation4 fields317 name, same size

Fixed length: always 8 bytes after the opcode.

Stock 317 calls this opcode Interface model rotation with the same size, so it is very likely the same packet.

  1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).
  4. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local5).

Fields it sets: n.e.H[na.A()].aV, n.e.H[na.A()].aW, n.e.H[na.A()].aU

240Weight1 fields317 name, same size

Fixed length: always 2 bytes after the opcode.

Stock 317 calls this opcode Weight with the same size, so it is very likely the same packet.

  1. s16 BE 2 bytes, high byte first, read as a signed number. Goes to kv

Fields it sets: fe, kv

241Construct map region4 fields317 name, same size

Variable length: two bytes after the opcode give the number of bytes that follow.

Stock 317 calls this opcode Construct map region with the same size, so it is very likely the same packet.

  1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local3).
  2. Switch to bit access: bit cursor i = byte offset x 8
  3. Repeated while <varies> < 4:
    1. Repeated while <varies> < 13:
      1. Repeated while <varies> < 13:
        1. 1 bits read from the bit stream. Only tested: <v> == 1
        2. Then one of these, depending on a condition:
          • When na.k(1) == 1
            1. 26 bits read from the bit stream. Goes to eV[<varies>][<varies>][<varies>]
          • When na.k(1) != 1 (0 bytes): nothing more.
  4. End bit access: byte offset = (bit cursor + 7) / 8
  5. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).

Methods it calls: s.a.e.a, d.h.a, d.t.a, d.v.a, d.t.d, s.a.e.g, t$a.name, cache.e.b

Fields it sets: nG, bl, mD, bm, mE, ek, el, W, en, nv

246Interface item3 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Interface item with the same size, so it is very likely the same packet.

  1. u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local4).

Methods it calls: d.k.f

Fields it sets: n.e.H[na.S()].ae, n.e.H[na.S()].af, n.e.H[na.S()].aV, n.e.H[na.S()].aW, n.e.H[na.S()].aU

248Inventory overlay2 fields317 name, same size

Fixed length: always 4 bytes after the opcode.

Stock 317 calls this opcode Inventory overlay with the same size, so it is very likely the same packet.

  1. u16 BE b0+128 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Kept in a local variable (local2).
  2. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local3).

Fields it sets: gs, fP, cJ, fQ, fx, fe, eP, fc

249Initialize player2 fields317 name, same size

Fixed length: always 3 bytes after the opcode.

Stock 317 calls this opcode Initialize player with the same size, so it is very likely the same packet.

  1. u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Goes to mq
  2. u16 LE b0+128 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire. Goes to dk

Fields it sets: mq, dk

250Extension packet1 fields, 46 kindsnamed by hand

Variable length: one byte after the opcode gives the number of bytes that follow (at most 255).

Stock 317 has no packet with this opcode: it is specific to this server.

Note (written by hand, not derived)
A container for this server's own features. The first two bytes pick one of the registered handlers listed under it, and that handler reads the rest.
  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).

Methods it calls: q.a.a.b.a

46 kinds of this packet

The number read above picks one of these handlers. Each then reads its own fields from the rest of the packet.

1Kind 1q.a.a.a.d.a()
  1. The buffer is handed to q.a.a.a.d.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1
      1. The buffer is handed to q.a.a.a.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Repeated while {e() | e()} != 0:
        1. Then one of these, depending on a condition:
          • When {e() | e()} == 1 (2 bytes)
            1. The buffer is handed to q.a.a.a.d.c(), which reads:
              1. u16 BE 2 bytes, high byte first, read as an unsigned number
          • When {e() | e()} == 2
            1. The buffer is handed to q.a.a.a.d.h(), which reads:
              1. string text, terminated by byte 10
          • When {e() | e()} == 3 (1 byte)
            1. The buffer is handed to q.a.a.a.d.e(), which reads:
              1. u8 1 byte, read as an unsigned number
          • When {e() | e()} != 1 and {e() | e()} != 2 and {e() | e()} != 3 (0 bytes): nothing more.
          • When {e() | e()} == 5
            1. The buffer is handed to q.a.a.a.d.h(), which reads:
              1. string text, terminated by byte 10
        2. The buffer is handed to q.a.a.a.d.e(), which reads:
          1. u8 1 byte, read as an unsigned number
    • When e() != 1 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 2
      1. The buffer is handed to q.a.a.a.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Repeated while {e() | e()} != 0:
        1. Then one of these, depending on a condition:
          • When {e() | e()} == 1 (1 byte)
            1. The buffer is handed to q.a.a.a.d.e(), which reads:
              1. u8 1 byte, read as an unsigned number
          • When {e() | e()} != 1 (0 bytes): nothing more.
        2. Then one of these, depending on a condition:
          • When {e() | e()} == 2 (1 byte)
            1. The buffer is handed to q.a.a.a.d.e(), which reads:
              1. u8 1 byte, read as an unsigned number
          • When {e() | e()} != 2 (0 bytes): nothing more.
        3. Then one of these, depending on a condition:
          • When {e() | e()} == 3 (2 bytes)
            1. The buffer is handed to q.a.a.a.d.c(), which reads:
              1. u16 BE 2 bytes, high byte first, read as an unsigned number
          • When {e() | e()} != 3 (0 bytes): nothing more.
        4. Then one of these, depending on a condition:
          • When {e() | e()} == 4 (2 bytes)
            1. The buffer is handed to q.a.a.a.d.c(), which reads:
              1. u16 BE 2 bytes, high byte first, read as an unsigned number
          • When {e() | e()} != 4 (0 bytes): nothing more.
        5. Then one of these, depending on a condition:
          • When {e() | e()} == 5 (3 bytes)
            1. The buffer is handed to q.a.a.a.d.e(), which reads:
              1. u8 1 byte, read as an unsigned number
            2. The buffer is handed to q.a.a.a.d.c(), which reads:
              1. u16 BE 2 bytes, high byte first, read as an unsigned number
          • When {e() | e()} != 5 (0 bytes): nothing more.
        6. Then one of these, depending on a condition:
          • When {e() | e()} == 7
            1. The buffer is handed to q.a.a.a.d.h(), which reads:
              1. string text, terminated by byte 10
          • When {e() | e()} != 7 (0 bytes): nothing more.
        7. Then one of these, depending on a condition:
          • When {e() | e()} == 8 (1 byte)
            1. The buffer is handed to q.a.a.a.d.e(), which reads:
              1. u8 1 byte, read as an unsigned number
          • When {e() | e()} != 8 (0 bytes): nothing more.
        8. The buffer is handed to q.a.a.a.d.e(), which reads:
          1. u8 1 byte, read as an unsigned number
    • When e() != 2 (0 bytes): nothing more.

Text that appears in its code: "<img=24> Starting a match, please wait.."

Methods it calls: e, c, h

Fields it sets: q, r, p, t, u, A, s, x, C, y

2Kind 2q.a.a.a.k.a()
  1. The buffer is handed to q.a.a.a.k.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 0 (6 bytes)
      1. The buffer is handed to q.a.a.a.k.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      2. The buffer is handed to q.a.a.a.k.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      3. The buffer is handed to q.a.a.a.k.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      4. The buffer is handed to q.a.a.a.k.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 0 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 1 (11 bytes)
      1. The buffer is handed to q.a.a.a.k.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.k.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      3. The buffer is handed to q.a.a.a.k.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      4. The buffer is handed to q.a.a.a.k.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      5. The buffer is handed to q.a.a.a.k.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      6. The buffer is handed to q.a.a.a.k.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 1 (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When e() == 2 (4 bytes)
      1. The buffer is handed to q.a.a.a.k.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 2 (0 bytes): nothing more.

Methods it calls: e, c, g, Client.a

Fields it sets: new u$a.a, new u$a.b, new u$a.c, new u$a.d, new u$a.f, new u$a.e

3Kind 3q.a.a.a.l.a()
  1. The buffer is handed to q.a.a.a.l.c(), which reads:
    1. u16 BE 2 bytes, high byte first, read as an unsigned number
  2. The buffer is handed to q.a.a.a.l.e(), which reads:
    1. u8 1 byte, read as an unsigned number

Methods it calls: c, e, l.f.e.c, l.f.e.b, l.f.e.a

4Kind 4l.e.a.i

Its handler was not found.

5Kind 5q.a.a.a.n.a()
  1. The buffer is handed to q.a.a.a.n.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. The buffer is handed to q.a.a.a.n.g(), which reads:
    1. i32 BE 4 bytes, high byte first
  3. The buffer is handed to q.a.a.a.n.c(), which reads:
    1. u16 BE 2 bytes, high byte first, read as an unsigned number

Methods it calls: e, g, c

Fields it sets: n.e.H[g()].V, n.e.H[g()].aI

6Kind 6n.c.K

Its handler was not found.

7Kind 7l.f.a.c.b.a()
  1. The buffer is handed to l.f.a.c.b.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1 (1 byte)
      1. The buffer is handed to l.f.a.c.b.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 2 (8 bytes)
      1. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 4 (8 bytes)
      1. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 5
      1. The buffer is handed to l.f.a.c.b.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 6 (4 bytes)
      1. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 7
      1. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to l.f.a.c.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to l.f.a.c.b.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 1 and e() != 2 and e() != 4 and e() != 5 and e() != 6 and e() != 7 (0 bytes): nothing more.

Methods it calls: l.f.a.c.a.M, e, e.i.a, l.f.e.d, l.f.a.c.a.L, l.f.e.a, g, l.f.a.c.a.k

Fields it sets: e, e.s, e.t, e.w, e.r, e.x, e.u, e.v

8Kind 8l.e.a.d

Its handler was not found.

9Kind 9n.c.ah

Its handler was not found.

10Kind 10n.c.b.d.a()
  1. The buffer is handed to n.c.b.d.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • Otherwise (0 bytes): nothing more.
    • When e() == 1
      1. The buffer is handed to n.c.b.d.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 2 (4 bytes)
      1. The buffer is handed to n.c.b.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 3 (1 byte)
      1. The buffer is handed to n.c.b.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 4 (1 byte)
      1. The buffer is handed to n.c.b.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 5
      1. The buffer is handed to n.c.b.d.h(), which reads:
        1. string text, terminated by byte 10
      2. The buffer is handed to n.c.b.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 6
      1. The buffer is handed to n.c.b.d.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 8 (2 bytes)
      1. The buffer is handed to n.c.b.d.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() == 10
      1. The buffer is handed to n.c.b.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.b.d.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 11
      1. The buffer is handed to n.c.b.d.h(), which reads:
        1. string text, terminated by byte 10

Text that appears in its code: "event/task 2"

Methods it calls: e, b, n.d.c.b, g, n.e.l, h, c, n.d.c.d

Fields it sets: bN, n.e.l(56997).V, n.e.l(57016).V, bO, n.e.l(57223).bg, n.e.l(57220).bw, c, n.e.l(n.c.b.b.b).by, bQ, n.e.l(n.c.b.b.b).bz

11Kind 11l.e.a.b

Its handler was not found.

12Kind 12l.e.p

Its handler was not found.

13Kind 13n.c.P

Its handler was not found.

14Kind 14q.a.a.a.h.a()
  1. The buffer is handed to q.a.a.a.h.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • Otherwise (0 bytes): nothing more.
    • When e() == 1 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 2 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 3 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 4 and e() == 0 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 4 and e() != 0
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to q.a.a.a.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      4. Then one of these, depending on a condition:
        • When e() == 2
          1. The buffer is handed to q.a.a.a.h.h(), which reads:
            1. string text, terminated by byte 10
        • When e() != 2 (0 bytes): nothing more.
    • When e() == 5
      1. The buffer is handed to q.a.a.a.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 6 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 8 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 9
      1. The buffer is handed to q.a.a.a.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 10
      1. The buffer is handed to q.a.a.a.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 11
      1. The buffer is handed to q.a.a.a.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 12
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Repeated while <varies> < 5:
        1. Then one of these, depending on a condition:
          • When <varies> + 1 > e() (0 bytes): nothing more.
          • When <varies> + 1 <= e()
            1. The buffer is handed to q.a.a.a.h.h(), which reads:
              1. string text, terminated by byte 10
    • When e() == 13
      1. The buffer is handed to q.a.a.a.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 14 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 15 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 18 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 19 (2 bytes)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 20 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 21 (1 byte)
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 22 (10 bytes)
      1. The buffer is handed to q.a.a.a.h.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      2. The buffer is handed to q.a.a.a.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to q.a.a.a.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 23
      1. The buffer is handed to q.a.a.a.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Repeated while <varies> < 5:
        1. Then one of these, depending on a condition:
          • When <varies> + 1 > e() (0 bytes): nothing more.
          • When <varies> + 1 <= e()
            1. The buffer is handed to q.a.a.a.h.h(), which reads:
              1. string text, terminated by byte 10
    • When e() == 24 (2 bytes)
      1. The buffer is handed to q.a.a.a.h.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() == 25 (2 bytes)
      1. The buffer is handed to q.a.a.a.h.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number

Text that appears in its code: "\\n"

Methods it calls: e, n.c.ac.h, n.c.ac.k, n.c.ac.i, h, n.e.l, c, n.c.ac.b

Fields it sets: bL, bM, n.e.l(36026).V, n.e.l(36002).at, n.e.l(36003).at, n.e.l(36019).at, bK, n.e.l(36026).bh, aA[], bS[]

15Kind 15n.c.W

Its handler was not found.

16Kind 16n.c.aN

Its handler was not found.

17Kind 17n.c.aP

Its handler was not found.

18Kind 18l.e.a.y

Its handler was not found.

19Kind 19q.a.a.a.p.a()

This packet has 2 forms. Which one applies depends on the conditions shown.

  • When h().startsWith("dyn_")
    1. The buffer is handed to q.a.a.a.p.h(), which reads:
      1. string text, terminated by byte 10
    2. The buffer is handed to q.a.a.a.p.b(String), which reads:
      1. The buffer is handed to q.a.a.a.p.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.p.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to q.a.a.a.p.h(), which reads:
        1. string text, terminated by byte 10
  • When !h().startsWith("dyn_")
    1. The buffer is handed to q.a.a.a.p.h(), which reads:
      1. string text, terminated by byte 10
    2. The buffer is handed to q.a.a.a.p.g(), which reads:
      1. i32 BE 4 bytes, high byte first

Text that appears in its code: "dyn_"

Methods it calls: h, b, g, a, l.e.q.a

20Kind 20q.b.e

Its handler was not found.

21Kind 21q.a.a.a.c.a()
  1. The buffer is handed to q.a.a.a.c.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1 (4 bytes)
      1. The buffer is handed to q.a.a.a.c.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 1 (0 bytes): nothing more.

Methods it calls: e, g, b, a.e.c

22Kind 22n.c.d

Its handler was not found.

23Kind 23l.f.a.a.d.a()
  1. The buffer is handed to l.f.a.a.d.h(), which reads:
    1. string text, terminated by byte 10
  2. The buffer is handed to l.f.a.a.d.h(), which reads:
    1. string text, terminated by byte 10
  3. The buffer is handed to l.f.a.a.d.h(), which reads:
    1. string text, terminated by byte 10

Methods it calls: h, l.f.e.d, l.f.e.h, l.f.a.a.c.a

24Kind 24l.f.a.i.d.a()
  1. The buffer is handed to l.f.a.i.d.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1 (10 bytes)
      1. The buffer is handed to l.f.a.i.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to l.f.a.i.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      3. The buffer is handed to l.f.a.i.d.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      4. The buffer is handed to l.f.a.i.d.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      5. The buffer is handed to l.f.a.i.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 1 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 3 (1 byte)
      1. The buffer is handed to l.f.a.i.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 3 (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When e() == 4 (4 bytes)
      1. The buffer is handed to l.f.a.i.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 4 (0 bytes): nothing more.

Methods it calls: e, l.f.a.i.b.m, g, c, l.f.a.i.b.k, l.f.a.i.b.a, l.f.a.i.b.l, l.f.a.i.b.b

25Kind 25l.e.a.g

Its handler was not found.

26Kind 26l.e.a.l

Its handler was not found.

27Kind 27l.f.a.h.b.a()

This packet has 2 forms. Which one applies depends on the conditions shown.

  • When e() == 0 (1 byte)
    1. The buffer is handed to l.f.a.h.b.e(), which reads:
      1. u8 1 byte, read as an unsigned number
  • When e() != 0
    1. The buffer is handed to l.f.a.h.b.e(), which reads:
      1. u8 1 byte, read as an unsigned number
    2. The buffer is handed to l.f.a.h.b.e(), which reads:
      1. u8 1 byte, read as an unsigned number
    3. The buffer is handed to l.f.a.h.b.h(), which reads:
      1. string text, terminated by byte 10

Methods it calls: e, l.f.e.d, l.f.e.i, l.f.a.h.a.k, h, l.f.a.h.a.a, l.f.a.h.a.d, l.f.a.h.a.j

28Kind 28n.c.B

Its handler was not found.

29Kind 29q.a.a.a.m.a()
  1. The buffer is handed to q.a.a.a.m.c(), which reads:
    1. u16 BE 2 bytes, high byte first, read as an unsigned number

Methods it calls: c, Client.a

30Kind 30plugins.v.j

Its handler was not found.

31Kind 31n.c.c.e.a()
  1. The buffer is handed to n.c.c.e.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • Otherwise (0 bytes): nothing more.
    • When e() == 1
      1. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.c.e.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 2 (2 bytes)
      1. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 3 (1 byte)
      1. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 4 (1 byte)
      1. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 7 (1 byte)
      1. The buffer is handed to n.c.c.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number

Methods it calls: n.c.c.a.h, n.c.c.a.i, e, n.c.c.b.a, n.c.c.b.b, n.c.c.b.c, h, n.c.c.c.c

32Kind 32q.a.a.a.a.a()
  1. The buffer is handed to q.a.a.a.a.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1 (2 bytes)
      1. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() == 2 (1 byte)
      1. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 3 (2 bytes)
      1. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() == 4
      1. The buffer is handed to q.a.a.a.a.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 5 (3 bytes)
      1. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      3. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 6 (1 byte)
      1. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 7 (10 bytes)
      1. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      2. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      3. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      4. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      5. The buffer is handed to q.a.a.a.a.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() == 8 (1 byte)
      1. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 9
      1. The buffer is handed to q.a.a.a.a.h(), which reads:
        1. string text, terminated by byte 10
      2. The buffer is handed to q.a.a.a.a.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to q.a.a.a.a.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      4. The buffer is handed to q.a.a.a.a.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 10
      1. The buffer is handed to q.a.a.a.a.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.a.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 1 and e() != 2 and e() != 3 and e() != 4 and e() != 5 and e() != 6 and e() != 7 and e() != 8 and e() != 9 and e() != 10 (0 bytes): nothing more.

Text that appears in its code: "magic/on" "Infernal barrage" "Blood barrage" "Level 92 : Infernal barrage"

Methods it calls: e, c, h, n.e.j, g, j.a.b.a

Fields it sets: cV, dA, d.dZ, n.e.H[12929].aH, d.ge, d.fQ, n.e.H[12929].N, bD, d.eb, bF

33Kind 33n.c.a.b

Its handler was not found.

34Kind 34q.a.a.a.e.a()
  1. The buffer is handed to q.a.a.a.e.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. The buffer is handed to q.a.a.a.e.b(int), which reads:
    • When e() == 0
      1. The buffer is handed to q.a.a.a.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.e.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 2
      1. The buffer is handed to q.a.a.a.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.e.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to q.a.a.a.e.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 0 and e() != 2
      1. The buffer is handed to q.a.a.a.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.e.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to q.a.a.a.e.h(), which reads:
        1. string text, terminated by byte 10
      4. Then one of these, depending on a condition:
        • When arg1 == 4
          1. The buffer is handed to q.a.a.a.e.h(), which reads:
            1. string text, terminated by byte 10
        • When arg1 != 4 and arg1 != 3 (4 bytes)
          1. The buffer is handed to q.a.a.a.e.g(), which reads:
            1. i32 BE 4 bytes, high byte first
        • When arg1 == 3 (0 bytes): nothing more.
      5. The buffer is handed to q.a.a.a.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      6. Then one of these, depending on a condition:
        • When e() is another value (switch default) (0 bytes): nothing more.
        • When e() == 1
          1. The buffer is handed to q.a.a.a.e.h(), which reads:
            1. string text, terminated by byte 10
        • When e() == 2 (4 bytes)
          1. The buffer is handed to q.a.a.a.e.g(), which reads:
            1. i32 BE 4 bytes, high byte first
      7. The buffer is handed to q.a.a.a.e.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      8. Then one of these, depending on a condition:
        • When {0 | 1} != 0
          1. The buffer is handed to q.a.a.a.e.h(), which reads:
            1. string text, terminated by byte 10
        • When {0 | 1} == 0 (0 bytes): nothing more.

Methods it calls: e, b

35Kind 35n.c.ar

Its handler was not found.

36Kind 36n.c.ax

Its handler was not found.

37Kind 37q.a.a.a.f.a()
  1. The buffer is handed to q.a.a.a.f.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. The buffer is handed to q.a.a.a.f.g(), which reads:
    1. i32 BE 4 bytes, high byte first
  3. Then one of these, depending on a condition:
    • When e() == 1
      1. The buffer is handed to q.a.a.a.f.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      2. The buffer is handed to q.a.a.a.f.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 1 (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When e() == 2
      1. The buffer is handed to q.a.a.a.f.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 2 (0 bytes): nothing more.
  5. Then one of these, depending on a condition:
    • When e() == 3 (1 byte)
      1. The buffer is handed to q.a.a.a.f.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 3 (0 bytes): nothing more.
  6. Then one of these, depending on a condition:
    • When e() == 4 (4 bytes)
      1. The buffer is handed to q.a.a.a.f.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      2. The buffer is handed to q.a.a.a.f.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
    • When e() != 4 (0 bytes): nothing more.

Methods it calls: e, g, c, h

Fields it sets: ay[], n.e.H[g()].ac, n.e.H[g()].ay, n.e.H[g()].ap

38Kind 38q.a.a.a.o.a()
  1. The buffer is handed to q.a.a.a.o.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1
      1. The buffer is handed to q.a.a.a.o.d(), which reads:
        1. i64 BE 8 bytes, high byte first
      2. The buffer is handed to q.a.a.a.o.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 1 (0 bytes): nothing more.

Methods it calls: e, d, h, O.a, O.c, Client.a

39Kind 39q.a.a.a.g.a()
  1. The buffer is handed to q.a.a.a.g.g(), which reads:
    1. i32 BE 4 bytes, high byte first
  2. The buffer is handed to q.a.a.a.g.c(), which reads:
    1. u16 BE 2 bytes, high byte first, read as an unsigned number

Methods it calls: g, c

40Kind 40q.a.a.a.b.a()
  1. The buffer is handed to q.a.a.a.b.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 1
      1. The buffer is handed to q.a.a.a.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.b.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      3. Repeated while <varies> < e():
        1. The buffer is handed to q.a.a.a.b.h(), which reads:
          1. string text, terminated by byte 10
        2. The buffer is handed to q.a.a.a.b.e(), which reads:
          1. u8 1 byte, read as an unsigned number
        3. Then one of these, depending on a condition:
          • When {0 | 1} != 0
            1. The buffer is handed to q.a.a.a.b.h(), which reads:
              1. string text, terminated by byte 10
          • When {0 | 1} == 0 (0 bytes): nothing more.
    • When e() != 1 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 2 (5 bytes)
      1. The buffer is handed to q.a.a.a.b.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.b.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 2 (0 bytes): nothing more.

Text that appears in its code: "Select"

Methods it calls: e, n.a.a.c.b, g, n.e.l, n.a.a.a.i, h, n.a.a.d.a, n.a.a.a.a

Fields it sets: n.e.l(g()).at

41Kind 41n.c.d.d.a()
  1. The buffer is handed to n.c.d.d.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 0 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 0 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 2 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 2 (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When e() == 3
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.d.d.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to n.c.d.d.h(), which reads:
        1. string text, terminated by byte 10
    • When e() != 3 (0 bytes): nothing more.
  5. Then one of these, depending on a condition:
    • When e() == 6 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 6 (0 bytes): nothing more.
  6. Then one of these, depending on a condition:
    • When e() == 7 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 7 (0 bytes): nothing more.
  7. Then one of these, depending on a condition:
    • When e() == 15 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 15 (0 bytes): nothing more.
  8. Then one of these, depending on a condition:
    • When e() == 17 (9 bytes)
      1. The buffer is handed to n.c.d.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to n.c.d.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 17 (0 bytes): nothing more.
  9. Then one of these, depending on a condition:
    • When e() == 18 and e() == 0 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 18 and e() != 0
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Then one of these, depending on a condition:
        • Otherwise (0 bytes): nothing more.
        • When e() == 2 (4 bytes)
          1. The buffer is handed to n.c.d.d.g(), which reads:
            1. i32 BE 4 bytes, high byte first
    • When e() != 18 (0 bytes): nothing more.
  10. Then one of these, depending on a condition:
    • When e() == 19 (4 bytes)
      1. The buffer is handed to n.c.d.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 19 (0 bytes): nothing more.
  11. Then one of these, depending on a condition:
    • When e() == 20 (4 bytes)
      1. The buffer is handed to n.c.d.d.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 20 (0 bytes): nothing more.
  12. Then one of these, depending on a condition:
    • When e() == 21 (1 byte)
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 21 (0 bytes): nothing more.
  13. Then one of these, depending on a condition:
    • When e() == 22
      1. The buffer is handed to n.c.d.d.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. Then one of these, depending on a condition:
        • When {0 | 1} == 0
          1. The buffer is handed to n.c.d.d.h(), which reads:
            1. string text, terminated by byte 10
        • When {0 | 1} != 0 (0 bytes): nothing more.
    • When e() != 22 (0 bytes): nothing more.

Text that appears in its code: "0:00" "raids" "%d:%02d"

Methods it calls: e, n.c.d.a.m, n.c.d.c.a, h, n.c.d.b.a, n.c.d.b.b, n.c.d.f.a, j

Fields it sets: n.e.l(19611).bg, n.e.l(32587).bg, dC

42Kind 42q.a.a.a.i.a()
  1. The buffer is handed to q.a.a.a.i.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() == 0 (5 bytes)
      1. The buffer is handed to q.a.a.a.i.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to q.a.a.a.i.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 0 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When e() == 1 (5 bytes)
      1. The buffer is handed to q.a.a.a.i.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.i.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() != 1 (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When e() == 2 (12 bytes)
      1. The buffer is handed to q.a.a.a.i.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to q.a.a.a.i.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to q.a.a.a.i.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() != 2 (0 bytes): nothing more.

Methods it calls: e, g, d.d.c

Fields it sets: d.d.c(g()).U, d.d.c(g()).V, d.d.c(g()).W

43Kind 43q.a.a.a.j.a()
  1. The buffer is handed to q.a.a.a.j.g(), which reads:
    1. i32 BE 4 bytes, high byte first
  2. The buffer is handed to q.a.a.a.j.e(), which reads:
    1. u8 1 byte, read as an unsigned number

Methods it calls: g, e

44Kind 44plugins.m.q

Its handler was not found.

45Kind 45n.c.e.h.a()
  1. The buffer is handed to n.c.e.h.e(), which reads:
    1. u8 1 byte, read as an unsigned number
  2. Then one of these, depending on a condition:
    • When e() is another value (switch default) (0 bytes): nothing more.
    • When e() == 0
      1. The buffer is handed to n.c.e.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      2. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
      4. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 1
      1. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 2
      1. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 3 (4 bytes)
      1. The buffer is handed to n.c.e.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
    • When e() == 4
      1. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
      3. The buffer is handed to n.c.e.h.c(), which reads:
        1. u16 BE 2 bytes, high byte first, read as an unsigned number
      4. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      5. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      6. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
      7. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
      8. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      9. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      10. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
    • When e() == 5
      1. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number
      2. The buffer is handed to n.c.e.h.g(), which reads:
        1. i32 BE 4 bytes, high byte first
      3. The buffer is handed to n.c.e.h.h(), which reads:
        1. string text, terminated by byte 10
    • When e() == 6 (1 byte)
      1. The buffer is handed to n.c.e.h.e(), which reads:
        1. u8 1 byte, read as an unsigned number

Methods it calls: e, g, h, n.c.e.b.a, n.c.e.b.b, c, n.c.e.a.a

46Kind 46l.e.a.v

Its handler was not found.

253Send message1 fields317 name, same size

Variable length: one byte after the opcode gives the number of bytes that follow (at most 255).

Stock 317 calls this opcode Send message with the same size, so it is very likely the same packet.

  1. string text, terminated by byte 10. Kept in a local variable (local2).

Text that appears in its code: ":tradereq:" ":duelreq:" ":" ":cwarreq:"

Methods it calls: O.a, a

254Display mob hint icon6 fields317 name, same size

Fixed length: always 6 bytes after the opcode.

Stock 317 calls this opcode Display mob hint icon with the same size, so it is very likely the same packet.

  1. u8 1 byte, read as an unsigned number. Goes to kg
  2. Then one of these, depending on a condition:
    • When kg == 1 (2 bytes)
      1. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to ol
    • When kg != 1 (0 bytes): nothing more.
  3. Then one of these, depending on a condition:
    • When kg >= 2 and kg <= 6 (5 bytes)
      1. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to lc
      2. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to ld
      3. u8 1 byte, read as an unsigned number. Goes to le
    • Otherwise (0 bytes): nothing more.
  4. Then one of these, depending on a condition:
    • When kg == 10 (2 bytes)
      1. u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to lb
    • When kg != 10 (0 bytes): nothing more.

Fields it sets: kg, ol, lb, lf, lg, lc, ld, le

255Custom packet3 fieldsno 317 counterpart

Fixed length: always 12 bytes after the opcode.

Stock 317 has no packet with this opcode: it is specific to this server.

  1. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local2).
  2. i64 BE 8 bytes, high byte first. Kept in a local variable (local3).
  3. u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (local5).

Methods it calls: l.e.h.a

Client to server

86 packets the client sends. A packet can be sent from several places in the code; each place is listed with the conditions that lead to it.

0Idle0 bytes, 7 places317 name, same size

Stock 317 calls this opcode Idle with the same size, so it is very likely the same packet.

Sent from 7 places, always with the same fields.

In Client.bG(), when lW > 50 and ff

No fields follow the opcode.

In Client.l()

No fields follow the opcode.

In Client.l(), when !nG

No fields follow the opcode.

In Client.l(), when nG

No fields follow the opcode.

In Client.l()

No fields follow the opcode.

In Client.l()

No fields follow the opcode.

In o.a.a.a.d.a(w.e)

No fields follow the opcode.

2Custom packet2 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In o.a.a.a.o.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
3Focus change1 byte, 2 places317 name, same size

Stock 317 calls this opcode Focus change with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.bG(), when !ll and hM and ff

  1. i8 1 byte. Value: 1

In Client.bG(), when ll and !hM and ff

  1. i8 1 byte. Value: 0
4Chat1 place317 name, same size

Stock 317 calls this opcode Chat with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.C(), when !Client.dm.startsWith("::") and Client.dm.length() > 0 and dn == null and gs == -1 and fQ != 4

  1. i8 1 byte. Value: 0
  2. i8 128-v 1 byte, the byte is sent as 128 minus itself. Value: {0 | 5 | 4 | 3 | 2 | 1}
  3. i8 128-v 1 byte, the byte is sent as 128 minus itself. Value: <varies>
  4. bytes a run of bytes: raw bytes copied from a byte[] argument, last index first; arguments (int, byte[], int). Value: 0, jT.g, jT.h
  5. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)
6Custom packet2 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In o.a.a.a.p.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
14Item on player8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item on player with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: gw
  2. i16 BE 2 bytes, high byte first. Value: arg2
  3. i16 BE 2 bytes, high byte first. Value: oS
  4. i16 LE 2 bytes, low byte first. Value: gv

In o.a.a.a.B.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: d
  2. i16 BE 2 bytes, high byte first. Value: b
  3. i16 BE 2 bytes, high byte first. Value: a
  4. i16 LE 2 bytes, low byte first. Value: c
16Alternate item option 26 bytes, 2 places317 name, same size

Stock 317 calls this opcode Alternate item option 2 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg3
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4

In o.a.a.a.D.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
17NPC action 22 bytes, 2 places317 name, same size

Stock 317 calls this opcode NPC action 2 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when {-1L | cC[arg2].aG.x} != 2344L and {-1L | cC[arg2].aG.x} != 2345L and {-1L | cC[arg2].aG.x} != 2346L and {-1L | cC[arg2].aG.x} != 2347L and cC[arg2] != null

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg2

In o.a.a.a.K.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
18NPC action 42 bytes, 2 places317 name, same size

Stock 317 calls this opcode NPC action 4 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.M.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
21NPC action 32 bytes, 2 places317 name, same size

Stock 317 calls this opcode NPC action 3 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg2

In o.a.a.a.L.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
23Custom packet6 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  2. i16 LE 2 bytes, low byte first. Value: arg2
  3. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek
25Item on floor12 bytes, 1 place317 name, same size

Stock 317 calls this opcode Item on floor with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: gw
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: oS
  3. i16 BE 2 bytes, high byte first. Value: arg2
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el
  5. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: gv
  6. i16 BE 2 bytes, high byte first. Value: arg3 + Client.ek
35Magic on object?8 bytes, 1 place317 name, size differs

Stock 317 calls this opcode Magic on object (fixed 4), but this client uses 8. Treat the name as a hint only.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when d(arg2, arg4, arg3, {(arg2 >> 14) & 32767 | arg5}) and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: nr
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el
  4. i16 LE 2 bytes, low byte first. Value: {(arg2 >> 14) & 32767 | arg5}
36Anti-cheat (walking)?1 place317 name, size differs

Stock 317 calls this opcode Anti-cheat (walking) (fixed 4), but size not determined here. Treat the name as a hint only.

Sent from 1 place.

In Client.a(int, int, int, int, int, int, int, int, int, boolean, int), when Client.oU >= 92 and (((arg11 + Client.ek) >> 6) * 256) + ((arg8 + Client.el) >> 6) != 13404

This packet has 2 forms. Which one applies depends on the conditions shown.

  • Otherwise (4 bytes)
    1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: 0
  • When arg1 != 0 and arg1 != 1 and arg1 != 2
    1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: 0
    2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: oQ[<varies> + -1] + Client.ek
    3. Repeated while <varies> < <varies>:
      1. i8 1 byte. Value: oQ[(<varies> + -1) + -1] - oQ[<varies> + -1]
      2. i8 1 byte. Value: oR[(<varies> + -1) + -1] - oR[<varies> + -1]
    4. i16 LE 2 bytes, low byte first. Value: oR[<varies> + -1] + Client.el
    5. i8 -v 1 byte, the byte is negated on the wire. Value: {1 | 0}
39Follow2 bytes, 2 places317 name, same size

Stock 317 calls this opcode Follow with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String)

  1. i16 LE 2 bytes, low byte first. Value: kB[<varies>]

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2
40Dialogue2 bytes, 3 places317 name, same size

Stock 317 calls this opcode Dialogue with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when !fc and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg4

In Client.keyPressed(KeyEvent), when arg1.getKeyCode() == 32 and ff and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 4907

In o.a.a.a.I.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
41Equip item6 bytes, 3 places317 name, same size

Stock 317 calls this opcode Equip item with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg2
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4

In Client.bG(), when ih.iterator().hasNext() and ih.size() > 0 and System.currentTimeMillis() - ig > Client.if and !f.a.aF and Client.if > 0L

  1. i16 BE 2 bytes, high byte first. Value: ih.iterator().next().a()
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: ih.iterator().next().b()
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: ih.iterator().next().c()

In o.a.a.a.n.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: c
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
43Bank 10 items6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Bank 10 items with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg4
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3

In o.a.a.a.u.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: b
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
53Item on item12 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item on item with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg3
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: gv
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg2
  4. i16 BE 2 bytes, high byte first. Value: gw
  5. i16 LE 2 bytes, low byte first. Value: oS
  6. i16 BE 2 bytes, high byte first. Value: arg4

In o.a.a.a.y.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: e
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  4. i16 BE 2 bytes, high byte first. Value: f
  5. i16 LE 2 bytes, low byte first. Value: d
  6. i16 BE 2 bytes, high byte first. Value: c
57Item on NPC8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item on NPC with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: oS
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  3. i16 LE 2 bytes, low byte first. Value: gv
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: gw

In o.a.a.a.z.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
  3. i16 LE 2 bytes, low byte first. Value: c
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: d
60Typing onto interface?8 bytes, 1 place317 name, size differs

Stock 317 calls this opcode Typing onto interface (fixed 1), but this client uses 8. Treat the name as a hint only.

Sent from 1 place.

In Client.C(), when eb.length() > 0 and fQ == 2 and fQ != 1 and !ge and !bz.a()

  1. i64 BE 8 bytes, high byte first. Value: O.a(eb)
70Object action 36 bytes, 2 places317 name, same size

Stock 317 calls this opcode Object action 3 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek
  2. i16 BE 2 bytes, high byte first. Value: arg4 + Client.el
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: {(arg2 >> 14) & 32767 | arg5}

In o.a.a.a.P.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: b
  2. i16 BE 2 bytes, high byte first. Value: c
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
72Attack NPC2 bytes, 2 places317 name, same size

Stock 317 calls this opcode Attack NPC with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2

In o.a.a.a.c.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
73Attack player2 bytes, 3 places317 name, same size

Stock 317 calls this opcode Attack player with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.a(int, int, int, int, int, String)

  1. i16 LE 2 bytes, low byte first. Value: kB[<varies>]

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.r.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
74Remove ignore8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Remove ignore with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.i(long), when arg1 != 0L

  1. i64 BE 8 bytes, high byte first. Value: arg1

In o.a.a.a.k.a(w.e)

  1. i64 BE 8 bytes, high byte first. Value: a
75Item action 36 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item action 3 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4
  2. i16 LE 2 bytes, low byte first. Value: arg3
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2

In o.a.a.a.C.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  2. i16 LE 2 bytes, low byte first. Value: a
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
77Custom packet1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.g(int, int), when Client.ec > 1512

  1. i8 1 byte. Value: 0
  2. i8 1 byte. Value: (int) (Math.random() * 256.0)
  3. i8 1 byte. Value: 101
  4. i8 1 byte. Value: 233
  5. i16 BE 2 bytes, high byte first. Value: 45092
  6. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 35784
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  7. i8 1 byte. Value: (int) (Math.random() * 256.0)
  8. i8 1 byte. Value: 64
  9. i8 1 byte. Value: 38
  10. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  11. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  12. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)
78Custom packet0 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In o.a.a.a.g.a(w.e)

No fields follow the opcode.

79Light item6 bytes, 1 place317 name, same size

Stock 317 calls this opcode Light item with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  2. i16 BE 2 bytes, high byte first. Value: arg2
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek
85Anti-cheat (NPC option 4)1 byte, 1 place317 name, same size

Stock 317 calls this opcode Anti-cheat (NPC option 4) with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.nE >= 53 and cC[arg2] != null and arg1 != 702

  1. i8 1 byte. Value: 66
86Camera movement4 bytes, 1 place317 name, same size

Stock 317 calls this opcode Camera movement with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.bG(), when lY <= 0 and lZ and ff

  1. i16 BE 2 bytes, high byte first. Value: fv
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: fw
87Drop item6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Drop item with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  2. i16 BE 2 bytes, high byte first. Value: arg4
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3

In o.a.a.a.l.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE 2 bytes, high byte first. Value: b
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
95Privacy options3 bytes, 3 places317 name, same size

Stock 317 calls this opcode Privacy options with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.C(), when cG == 2 and fE.length() > 0 and ey == 3 and ge and !bz.a()

  1. i8 1 byte. Value: gx
  2. i8 1 byte. Value: cG
  3. i8 1 byte. Value: gc

In Client.C(), when gx == 2 and !Client.dm.startsWith("::") and Client.dm.length() > 0 and dn == null and gs == -1

  1. i8 1 byte. Value: gx
  2. i8 1 byte. Value: cG
  3. i8 1 byte. Value: gc

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i8 1 byte. Value: gx
  2. i8 1 byte. Value: cG
  3. i8 1 byte. Value: gc
98Walk on command1 place317 name, same size

Stock 317 calls this opcode Walk on command with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, int, int, int, int, boolean, int), when arg1 == 2 and (((arg11 + Client.ek) >> 6) * 256) + ((arg8 + Client.el) >> 6) != 13404

  1. i8 1 byte. Value: (<varies> + <varies>) + 3
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: oQ[<varies> + -1] + Client.ek
  3. Repeated while <varies> < <varies>:
    1. i8 1 byte. Value: oQ[(<varies> + -1) + -1] - oQ[<varies> + -1]
    2. i8 1 byte. Value: oR[(<varies> + -1) + -1] - oR[<varies> + -1]
  4. i16 LE 2 bytes, low byte first. Value: oR[<varies> + -1] + Client.el
  5. i8 -v 1 byte, the byte is negated on the wire. Value: {1 | 0}
101Design screen?1 place317 name, size differs

Stock 317 calls this opcode Design screen (fixed 13), but this client uses var-byte. Treat the name as a hint only.

Sent from 1 place.

In Client.d(n.e), when arg1.J == 326 and arg1.J != 205

  1. i8 1 byte. Value: {1 | 0}
  2. Repeated while <varies> < 7:
    1. i8 1 byte. Value: mA[<varies>]
  3. Repeated while <varies> < 5:
    1. i8 1 byte. Value: lH[<varies>]
103Player command18 places317 name, same size

Stock 317 calls this opcode Player command with the same size, so it is very likely the same packet.

Sent from 18 places, always with the same fields.

In Client.C(), when !Client.h(Client.dm) and Client.dm.startsWith("::") and Client.dm.length() > 0 and dn == null and gs == -1

  1. i8 1 byte. Value: Client.dm.length() - 1
  2. string text, terminated by byte 10. Value: Client.dm.substring(2)

In Client.c(String), when !Client.h(concat(arg1)) and arg1.length() <= 80 and !arg1.isEmpty() and arg1 != null

  1. i8 1 byte. Value: concat(arg1).length() - 1
  2. string text, terminated by byte 10. Value: arg1

In Client.d(String), when arg1.equals("::damage_test prepare") and !Client.h(arg1)

  1. i8 1 byte. Value: <varies> - 1
  2. string text, terminated by byte 10. Value: <varies>

In Client.q(), when ff and !nO and !kW and !oB

  1. i8 1 byte. Value: <varies> - 1
  2. string text, terminated by byte 10. Value: <varies>

In Client.q(), when an != null and ff and !nO and !kW

  1. i8 1 byte. Value: an.length() - 1
  2. string text, terminated by byte 10. Value: an.substring(2)

In Client.q(), when !new ArrayList.iterator().hasNext() and Client.ap.startsWith("::item_loadout") and Client.ap != null

  1. i8 1 byte. Value: <varies>
  2. string text, terminated by byte 10. Value: <varies>.substring(2)

In Client.q(), when !Client.ap.startsWith("::item_loadout") and Client.ap != null and ff and !nO

  1. i8 1 byte. Value: Client.ap.length() - 1
  2. string text, terminated by byte 10. Value: Client.ap.substring(2)

In Client.q(), when Client.ao != null and ff and !nO and !kW

  1. i8 1 byte. Value: Client.ao.length() - 1
  2. string text, terminated by byte 10. Value: Client.ao.substring(2)

In Client.q(), when Client.aq != null and ff and !nO and !kW

  1. i8 1 byte. Value: Client.aq.length() - 1
  2. string text, terminated by byte 10. Value: Client.aq.substring(2)

In Client.q(), when ar != null and ff and !nO and !kW

  1. i8 1 byte. Value: ar.length() - 1
  2. string text, terminated by byte 10. Value: ar.substring(2)

In Client.q(), when at != null and ff and !nO and !kW

  1. i8 1 byte. Value: at.length() - 1
  2. string text, terminated by byte 10. Value: at.substring(2)

In Client.q(), when as != null and ff and !nO and !kW

  1. i8 1 byte. Value: as.length() - 1
  2. string text, terminated by byte 10. Value: as.substring(2)

In Client.q(), when {0 | 1} != 0 and ff and !nO and !kW

  1. i8 1 byte. Value: "::spawn_loadout".length() - 1
  2. string text, terminated by byte 10. Value: "::spawn_loadout".substring(2)

In Client.q(int, int)

  1. i8 1 byte. Value: concat(arg1, arg2).length() - 1
  2. string text, terminated by byte 10. Value: concat(arg1, arg2).substring(2)

In h.d.b(String)

  1. i8 1 byte. Value: arg1.length() - 1
  2. string text, terminated by byte 10. Value: arg1.substring(2)

In l.e.c.a(int), when !l.b.a.d.g() and concat({"::" | ""}, g).length() > 0

  1. i8 1 byte. Value: concat({"::" | ""}, g).length() - 1
  2. string text, terminated by byte 10. Value: concat({"::" | ""}, g).substring(2)

In n.a.a(), when n.a.a.iterator().hasNext() and !n.a.a.isEmpty()

  1. i8 1 byte. Value: n.a.a.iterator().next().length() - 1
  2. string text, terminated by byte 10. Value: n.a.a.iterator().next().substring(2)

In n.a.a(Client, String, String[]), when new BufferedReader.readLine() != null

  1. i8 1 byte. Value: {new BufferedReader.readLine() | concat(new BufferedReader.readLine())}.length() - 1
  2. string text, terminated by byte 10. Value: {new BufferedReader.readLine() | concat(new BufferedReader.readLine())}.substring(2)
109Custom packet12 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In o.a.a.a.x.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: c
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  3. i16 BE 2 bytes, high byte first. Value: d
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: e
  5. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  6. i16 BE 2 bytes, high byte first. Value: f
117Bank 5 items6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Bank 5 items with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg2
  3. i16 LE 2 bytes, low byte first. Value: arg3

In o.a.a.a.t.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: c
  3. i16 LE 2 bytes, low byte first. Value: a
120Custom packet1 byte, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In l.b.a.a(Client), when arg0.eu == Client.fO and arg0.eu != -1 and Client.eP and Client.eh >= 2 and !l.b.a.b()

  1. i8 1 byte. Value: Client.fO
121Loading finished0 bytes, 3 places317 name, same size

Stock 317 calls this opcode Loading finished with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.bD(), when !mY

No fields follow the opcode.

In Client.p(int, int), when cd and arg1 == 23

No fields follow the opcode.

In o.a.a.a.q.a(w.e)

No fields follow the opcode.

122Item action 16 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item action 1 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  3. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.Z.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
  3. i16 LE 2 bytes, low byte first. Value: c
126Private message1 place317 name, same size

Stock 317 calls this opcode Private message with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.C(), when fE.length() > 0 and ey == 3 and ge and !bz.a() and !Client.w.b

  1. i8 1 byte. Value: 0
  2. i64 BE 8 bytes, high byte first. Value: lk
  3. The buffer is handed to P.a(String, w.e), which writes:
    1. Repeated while <varies> < {arg0 | arg0 | arg0.substring(0, 80)}.toLowerCase().length():
      1. i8 1 byte. Value: <varies>
  4. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)
128Accept challenge2 bytes, 3 places317 name, same size

Stock 317 calls this opcode Accept challenge with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg2

In o.a.a.a.V.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a

In o.a.a.a.e.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
129Bank all items6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Bank all items with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  2. i16 BE 2 bytes, high byte first. Value: arg4
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2

In o.a.a.a.v.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE 2 bytes, high byte first. Value: b
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
130Close window0 bytes, 2 places317 name, same size

Stock 317 calls this opcode Close window with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.bX()

No fields follow the opcode.

In o.a.a.a.i.a(w.e)

No fields follow the opcode.

131Magic on NPC4 bytes, 2 places317 name, same size

Stock 317 calls this opcode Magic on NPC with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg2
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: nr

In o.a.a.a.G.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
132Object action 16 bytes, 2 places317 name, same size

Stock 317 calls this opcode Object action 1 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek
  2. i16 BE 2 bytes, high byte first. Value: {(arg2 >> 14) & 32767 | arg5}
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el

In o.a.a.a.N.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  2. i16 BE 2 bytes, high byte first. Value: a
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
133Add ignore8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Add ignore with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.h(long), when jK < 100 and arg1 != 0L

  1. i64 BE 8 bytes, high byte first. Value: arg1

In o.a.a.a.b.a(w.e)

  1. i64 BE 8 bytes, high byte first. Value: a
135Bank X items part 16 bytes, 2 places317 name, same size

Stock 317 calls this opcode Bank X items part 1 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg3
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4
  3. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.w.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: b
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  3. i16 LE 2 bytes, low byte first. Value: c
136Anti-cheat (player option 1)0 bytes, 2 places317 name, same size

Stock 317 calls this opcode Anti-cheat (player option 1) with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.nU >= 90 and Client.dq[arg2] != null and arg1 != 702

No fields follow the opcode.

In Client.a(int, int, int, int, int, String), when Client.nU >= 90

No fields follow the opcode.

139Trade request2 bytes, 3 places317 name, same size

Stock 317 calls this opcode Trade request with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.Y.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a

In o.a.a.a.f.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
140Custom packet6 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  2. i16 BE 2 bytes, high byte first. Value: arg4
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
141Custom packet10 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  2. i16 BE 2 bytes, high byte first. Value: arg4
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  4. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: im
145Unequip item6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Unequip item with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2

In o.a.a.a.s.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
148Custom packet0 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In l.b.b.a(Client), when Client.cH > 75 and arg0.eQ != 0L

No fields follow the opcode.

150Custom packet0 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.l(), when Client.mt > 98

No fields follow the opcode.

152Anti-cheat (NPC option 3)1 byte, 1 place317 name, same size

Stock 317 calls this opcode Anti-cheat (NPC option 3) with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.nq >= 96 and cC[arg2] != null and arg1 != 702

  1. i8 1 byte. Value: 88
153Player option 2 (report abuse)2 bytes, 2 places317 name, same size

Stock 317 calls this opcode Player option 2 (report abuse) with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.T.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
155NPC action 12 bytes, 2 places317 name, same size

Stock 317 calls this opcode NPC action 1 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when cC[arg2] != null and arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg2

In o.a.a.a.J.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
156Custom packet6 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek
  2. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg2
164Regular walk1 place317 name, same size

Stock 317 calls this opcode Regular walk with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, int, int, int, int, boolean, int), when arg1 == 0 and (((arg11 + Client.ek) >> 6) * 256) + ((arg8 + Client.el) >> 6) != 13404

  1. i8 1 byte. Value: (<varies> + <varies>) + 3
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: oQ[<varies> + -1] + Client.ek
  3. Repeated while <varies> < <varies>:
    1. i8 1 byte. Value: oQ[(<varies> + -1) + -1] - oQ[<varies> + -1]
    2. i8 1 byte. Value: oR[(<varies> + -1) + -1] - oR[<varies> + -1]
  4. i16 LE 2 bytes, low byte first. Value: oR[<varies> + -1] + Client.el
  5. i8 -v 1 byte, the byte is negated on the wire. Value: {1 | 0}
176Custom packet6 bytes, 1 placeno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg3
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4
  3. i16 LE 2 bytes, low byte first. Value: arg2
181Magic on ground item8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Magic on ground item with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  2. i16 BE 2 bytes, high byte first. Value: arg2
  3. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: nr

In o.a.a.a.E.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: a
  2. i16 BE 2 bytes, high byte first. Value: b
  3. i16 LE 2 bytes, low byte first. Value: c
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: d
183Anti-cheat (object option 4)?3 bytes, 1 place317 name, size differs

Stock 317 calls this opcode Anti-cheat (object option 4) (fixed 4), but this client uses 3. Treat the name as a hint only.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.kU >= 113 and arg1 != 702

  1. i24 BE 3 bytes, high byte first. Value: 15086193
185Button click2 bytes, 24 places317 name, same size

Stock 317 calls this opcode Button click with the same size, so it is very likely the same packet.

Sent from 24 places, and the fields differ between them.

In Client.a(String, String, boolean), when {nJ.b() | nJ.b()} == 2 and {nJ.b() | nJ.b()} != 1 and !l.b()

  1. i16 BE 2 bytes, high byte first. Value: 912

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. Then one of these, depending on a condition:
    • When cr (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 5000
    • When !cr (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 4999

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: 5001

In Client.a(int, int, int, int, int, String), when !n.d.a.iterator().hasNext() and {1 | d(n.e.H[arg4])} != 0 and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg4

In Client.a(int, int, int, int, int, String), when !U and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: n.e.H[arg4].aw

In Client.a(int, int, int, int, int, String), when S == n.e.H[arg4].aw and U and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: 6666

In Client.a(int, int, int, int, int, String), when S != n.e.H[arg4].aw and U and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: n.e.H[arg4].aw

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg4

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg4

In Client.bK(), when Client.hS <= Client.ai - 133 and Client.hS >= Client.ai - 192 and Client.hT <= 153 and Client.hT >= 120 and f.a.aj == a$c.b

  1. i16 BE 2 bytes, high byte first. Value: 152

In Client.bK(), when Client.hS <= 575 and Client.hS >= 540 and Client.hT <= 142 and Client.hT >= 109 and f.a.aj != a$c.b

  1. i16 BE 2 bytes, high byte first. Value: 152

In Client.bq(), when Client.hT <= ((15 + {Client.ah - 165 | 0}) + 34) + {0 | 340} and Client.hT >= (15 + {Client.ah - 165 | 0}) + {0 | 340} and Client.hS <= 385 + 120 and Client.hS >= 385 and {hX | 0} == 1

  1. i16 BE 2 bytes, high byte first. Value: 65313

In Client.keyPressed(KeyEvent), when Client.cJ != 6412 and Client.cJ != 6575 and Client.cJ != 25754 and Client.cJ != 59868 and Client.cJ != 59835

  1. i16 BE 2 bytes, high byte first. Value: 63740

In Client.keyReleased(KeyEvent), when fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55313

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 50 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55315

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 51 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55317

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 52 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55319

In Client.keyReleased(KeyEvent), when gs == 55333 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55321

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 50 and gs == 55333 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55323

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 51 and gs == 55333 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55325

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 52 and gs == 55333 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55327

In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 53 and gs == 55333 and fQ != 1 and fQ != 2

  1. i16 BE 2 bytes, high byte first. Value: 55329

In h.d.a(int)

  1. i16 BE 2 bytes, high byte first. Value: arg1

In o.a.a.a.h.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
188Add friend8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Add friend with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(long), when !O.c(O.a(arg1)).equals(Client.eU.aZ) and kG < 350 and arg1 != 0L

  1. i64 BE 8 bytes, high byte first. Value: arg1

In o.a.a.a.a.a(w.e)

  1. i64 BE 8 bytes, high byte first. Value: a
189Anti-cheat (player option 2)1 byte, 1 place317 name, same size

Stock 317 calls this opcode Anti-cheat (player option 2) with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.lF >= 54 and Client.dq[arg2] != null and arg1 != 702

  1. i8 1 byte. Value: 234
192Item on object12 bytes, 2 places317 name, same size

Stock 317 calls this opcode Item on object with the same size, so it is very likely the same packet.

Sent from 2 places, and the fields differ between them.

In Client.a(int, int, int, int, int, String), when d(arg2, arg4, arg3, {(arg2 >> 14) & 32767 | arg5}) and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: gw
  2. i16 LE 2 bytes, low byte first. Value: {(arg2 >> 14) & 32767 | arg5}
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el
  4. i16 LE 2 bytes, low byte first. Value: gv
  5. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek
  6. i16 BE 2 bytes, high byte first. Value: oS

In o.a.a.a.A.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: c
  2. i16 BE 2 bytes, high byte first. Value: d
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: e
  4. i16 LE 2 bytes, low byte first. Value: b
  5. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: f
  6. i16 BE 2 bytes, high byte first. Value: a
200Anti-cheat (banking)2 bytes, 1 place317 name, same size

Stock 317 calls this opcode Anti-cheat (banking) with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.nN >= 59 and arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: 25501
202Idle logout0 bytes, 2 places317 name, same size

Stock 317 calls this opcode Idle logout with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.bG(), when hN > 4500 and ff

No fields follow the opcode.

In o.a.a.a.U.a(w.e)

No fields follow the opcode.

208Bank X items part 24 bytes, 2 places317 name, same size

Stock 317 calls this opcode Bank X items part 2 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.C(), when eb.length() > 0 and fQ == 1 and !ge and !bz.a() and !Client.w.b

  1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: {2147483647 | Integer.parseInt(eb)}

In o.a.a.a.m.a(w.e)

  1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: a
210Region change?4 bytes, 2 places317 name, size differs

Stock 317 calls this opcode Region change (fixed 0), but this client uses 4. Treat the name as a hint only.

Sent from 2 places, always with the same fields.

In Client.l(), when hK != null

  1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: 1057001181

In o.a.a.a.W.a(w.e)

  1. i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value: 1057001181
214Move item7 bytes, 3 places317 name, same size

Stock 317 calls this opcode Move item with the same size, so it is very likely the same packet.

Sent from 3 places, always with the same fields.

In Client.bE(), when {0 | 1} == 0 and mB != eB and mC == eA and !n.c.al.a(this, eA, eB, mC, mB) and dW >= f.a.be

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: eA
  2. i8 -v 1 byte, the byte is negated on the wire. Value: {0 | 1}
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: eB
  4. i16 LE 2 bytes, low byte first. Value: mB

In n.c.al.a(Client, int, int, int, int), when n.e.H[arg1].aA[arg2] > 0 and n.c.al.g(arg1, arg2) != n.c.al.g(arg3, arg4) and n.c.al.g(arg3, arg4) >= 0 and n.c.al.g(arg1, arg2) >= 0

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: 33100
  2. i8 -v 1 byte, the byte is negated on the wire. Value: 0
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: n.c.al.g(arg1, arg2)
  4. i16 LE 2 bytes, low byte first. Value: n.c.al.g(arg3, arg4)

In o.a.a.a.X.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
  2. i8 -v 1 byte, the byte is negated on the wire. Value: b
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: c
  4. i16 LE 2 bytes, low byte first. Value: d
215Remove friend8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Remove friend with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.f(long), when arg1 != 0L

  1. i64 BE 8 bytes, high byte first. Value: arg1

In o.a.a.a.j.a(w.e)

  1. i64 BE 8 bytes, high byte first. Value: a
218Report player?10 bytes, 1 place317 name, size differs

Stock 317 calls this opcode Report player (fixed 8), but this client uses 10. Treat the name as a hint only.

Sent from 1 place.

In Client.d(n.e), when ky.length() > 0 and arg1.J <= 612 and arg1.J >= 601 and arg1.J != 326 and arg1.J != 205

  1. i64 BE 8 bytes, high byte first. Value: O.a(ky)
  2. i8 1 byte. Value: arg1.J - 601
  3. i8 1 byte. Value: {0 | 1}
226Custom packet2 placesno 317 counterpart

Stock 317 has no packet with this opcode: it is specific to this server.

Sent from 2 places, always with the same fields.

In Client.a(int, long), when !l.b.a.d.c and Client.kf > 1235 and iJ != null

  1. i8 1 byte. Value: 0
  2. i16 BE 2 bytes, high byte first. Value: 58722
  3. i8 1 byte. Value: 240
  4. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  5. i8 1 byte. Value: (int) (Math.random() * 256.0)
  6. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 51825
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  7. i8 1 byte. Value: (int) (Math.random() * 256.0)
  8. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  9. i16 BE 2 bytes, high byte first. Value: 7130
  10. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  11. i16 BE 2 bytes, high byte first. Value: 61657
  12. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)

In Client.d(int, boolean), when !l.b.a.d.g() and Client.kf > 1235

  1. i8 1 byte. Value: 0
  2. i16 BE 2 bytes, high byte first. Value: 58722
  3. i8 1 byte. Value: 240
  4. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  5. i8 1 byte. Value: (int) (Math.random() * 256.0)
  6. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 51825
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  7. i8 1 byte. Value: (int) (Math.random() * 256.0)
  8. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  9. i16 BE 2 bytes, high byte first. Value: 7130
  10. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  11. i16 BE 2 bytes, high byte first. Value: 61657
  12. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)
228Object option 46 bytes, 2 places317 name, same size

Stock 317 calls this opcode Object option 4 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: {(arg2 >> 14) & 32767 | arg5}
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el
  3. i16 BE 2 bytes, high byte first. Value: arg3 + Client.ek

In o.a.a.a.R.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
  3. i16 BE 2 bytes, high byte first. Value: c
230Anti-cheat (NPC option 2)1 byte, 1 place317 name, same size

Stock 317 calls this opcode Anti-cheat (NPC option 2) with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when Client.on >= 85 and {-1L | cC[arg2].aG.x} != 2344L and {-1L | cC[arg2].aG.x} != 2345L and {-1L | cC[arg2].aG.x} != 2346L and {-1L | cC[arg2].aG.x} != 2347L

  1. i8 1 byte. Value: 239
234Object option 26 bytes, 2 places317 name, same size

Stock 317 calls this opcode Object option 2 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: {(arg2 >> 14) & 32767 | arg5}
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el

In o.a.a.a.Q.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: b
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  3. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: c
236Pickup ground item6 bytes, 2 places317 name, same size

Stock 317 calls this opcode Pickup ground item with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  2. i16 BE 2 bytes, high byte first. Value: arg2
  3. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek

In o.a.a.a.S.a(w.e)

  1. i16 LE 2 bytes, low byte first. Value: b
  2. i16 BE 2 bytes, high byte first. Value: a
  3. i16 LE 2 bytes, low byte first. Value: c
237Magic on items8 bytes, 2 places317 name, same size

Stock 317 calls this opcode Magic on items with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 BE 2 bytes, high byte first. Value: arg3
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  3. i16 BE 2 bytes, high byte first. Value: arg4
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: nr

In o.a.a.a.F.a(w.e)

  1. i16 BE 2 bytes, high byte first. Value: a
  2. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: b
  3. i16 BE 2 bytes, high byte first. Value: c
  4. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: d
246Anti-cheat?1 place317 name, size differs

Stock 317 calls this opcode Anti-cheat (fixed 15), but this client uses var-byte. Treat the name as a hint only.

Sent from 1 place.

In Client.bK(), when Client.nk > 1151 and hX == 1 and mb == 0

  1. i8 1 byte. Value: 0
  2. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (1 byte)
      1. i8 1 byte. Value: 101
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  3. i8 1 byte. Value: 197
  4. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  5. i8 1 byte. Value: (int) (Math.random() * 256.0)
  6. i8 1 byte. Value: 67
  7. i16 BE 2 bytes, high byte first. Value: 14214
  8. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (2 bytes)
      1. i16 BE 2 bytes, high byte first. Value: 29487
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  9. i16 BE 2 bytes, high byte first. Value: (int) (Math.random() * 65536.0)
  10. Then one of these, depending on a condition:
    • When (int) (Math.random() * 2.0) == 0 (1 byte)
      1. i8 1 byte. Value: 220
    • When (int) (Math.random() * 2.0) != 0 (0 bytes): nothing more.
  11. i8 1 byte. Value: 180
  12. Length patch: stores the argument as one byte at offset - argument - 1 (the 1-byte length of a variable packet)
248Map walk1 place317 name, same size

Stock 317 calls this opcode Map walk with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, int, int, int, int, boolean, int), when arg1 == 1 and (((arg11 + Client.ek) >> 6) * 256) + ((arg8 + Client.el) >> 6) != 13404

  1. i8 1 byte. Value: ((<varies> + <varies>) + 3) + 14
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: oQ[<varies> + -1] + Client.ek
  3. Repeated while <varies> < <varies>:
    1. i8 1 byte. Value: oQ[(<varies> + -1) + -1] - oQ[<varies> + -1]
    2. i8 1 byte. Value: oR[(<varies> + -1) + -1] - oR[<varies> + -1]
  4. i16 LE 2 bytes, low byte first. Value: oR[<varies> + -1] + Client.el
  5. i8 -v 1 byte, the byte is negated on the wire. Value: {1 | 0}
249Magic on player4 bytes, 2 places317 name, same size

Stock 317 calls this opcode Magic on player with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when Client.dq[arg2] != null and arg1 != 702

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2
  2. i16 LE 2 bytes, low byte first. Value: nr

In o.a.a.a.H.a(w.e)

  1. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 LE 2 bytes, low byte first. Value: b
252Object action 26 bytes, 2 places317 name, same size

Stock 317 calls this opcode Object action 2 with the same size, so it is very likely the same packet.

Sent from 2 places, always with the same fields.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: {(arg2 >> 14) & 32767 | arg5}
  2. i16 LE 2 bytes, low byte first. Value: arg4 + Client.el
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg3 + Client.ek

In o.a.a.a.O.a(w.e)

  1. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: a
  2. i16 LE 2 bytes, low byte first. Value: b
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: c
253Ground item action6 bytes, 1 place317 name, same size

Stock 317 calls this opcode Ground item action with the same size, so it is very likely the same packet.

Sent from 1 place.

In Client.a(int, int, int, int, int, String), when arg1 != 702

  1. i16 LE 2 bytes, low byte first. Value: arg3 + Client.ek
  2. i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value: arg4 + Client.el
  3. i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value: arg2

Hand-written notes come from apispec/packets/guide-notes.tsv (39 entries). Edit that file to add or correct an explanation; the page is rebuilt from it.