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
- 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. - Length. For packets from the server, the table
f.d.bgives each opcode's size: a fixed number of bytes, or a marker meaning a 1-byte or 2-byte length follows the opcode. - 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 name | In words | Buffer methods |
|---|---|---|
| smart-sum | A large smart: sum of e() smarts; another follows while the last equals 32767 | d(), v() |
| smart | A "smart": 1 byte for small values, otherwise 2 bytes (first byte < 128 → u8; else u16 BE, value - 32768) | e(), f(), n(), t(), L() |
| u24 BE | 3 bytes, high byte first | g(), C() |
| bytes | A 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) |
| i8 | 1 byte | b(int), i(int) |
| var | 3 bytes read with the mask applied before the shift (255 & (b << n)): only the last byte survives | c(int), s() |
| u16 BE | 2 bytes, high byte first, read as an unsigned number | l(), o(), q(), x(), A() |
| i32 BE | 4 bytes, high byte first | m(), p(), r(), g(int), D() |
| s16 BE | 2 bytes, high byte first, read as a signed number | u(), B() |
| string | Text, terminated by byte 0 | w(), a(String), F() |
| i16 BE | 2 bytes, high byte first | d(int) |
| i16 LE | 2 bytes, low byte first | e(int), n(int) |
| i24 BE | 3 bytes, high byte first | f(int) |
| i32 LE | 4 bytes, low byte first | h(int) |
| i64 BE | 8 bytes, high byte first | a(long), E() |
| u8 | 1 byte, read as an unsigned number | y() |
| s8 | 1 byte, read as a signed number | z() |
| skip | Skips bytes up to and including the first byte 10 | G(), I() |
| bits | A bit field: n bits from the bit cursor (n = argument), MSB first | k(int) |
| i8 -v | 1 byte, the byte is negated on the wire | l(int) |
| i8 128-v | 1 byte, the byte is sent as 128 minus itself | m(int) |
| u8 +128 | 1 byte, read as an unsigned number, the byte has 128 added on the wire | N() |
| u8 -v | 1 byte, read as an unsigned number, the byte is negated on the wire | O() |
| u8 128-v | 1 byte, read as an unsigned number, the byte is sent as 128 minus itself | P() |
| s8 -v | 1 byte, read as a signed number, the byte is negated on the wire | Q() |
| s8 128-v | 1 byte, read as a signed number, the byte is sent as 128 minus itself | R() |
| i16 BE b0+128 | 2 bytes, high byte first, the lowest byte has 128 added on the wire | o(int) |
| i16 LE b0+128 | 2 bytes, low byte first, the lowest byte has 128 added on the wire | p(int) |
| u16 LE | 2 bytes, low byte first, read as an unsigned number | S() |
| u16 BE b0+128 | 2 bytes, high byte first, read as an unsigned number, the lowest byte has 128 added on the wire | T() |
| u16 LE b0+128 | 2 bytes, low byte first, read as an unsigned number, the lowest byte has 128 added on the wire | U() |
| s16 LE | 2 bytes, low byte first, read as a signed number | V() |
| s16 LE b0+128 | 2 bytes, low byte first, read as a signed number, the lowest byte has 128 added on the wire | W() |
| 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:
arg1(String): The username. Callers passfn in Client.x | arg1 in Client.a | fn in Client.bV | v.fn in l.d.c.aarg2(String): The password. Callers passfo in Client.x | arg2 in Client.a | fo in Client.bV | v.fo in l.d.c.aarg3(boolean): True when this is a reconnect after a dropped connection, false for a fresh login. Callers pass1 in Client.x | arg3 in Client.a | 0 in Client.bV | arg1 in l.d.c.a
Connect
The client opens the game socket.
Opens a TCP connection to
www.spawnpk.org:43594.Only when
!l.b()Handshake
Two bytes ask the server for a login session.
Starts over in buffer
Client.fy: what is written next begins at byte 0 again. (offset = 0)Writes i8 into
Client.fy at byte 0: 14.14 is the login request in the stock 317 protocol.
Writes i8 into
Client.fy at byte 1: (int) ((O.a(arg1) >> 16) & 31L).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)
Sends 2 bytes to the server: the contents of buffer Client.fy.
Receives 1 byte from the server -> skipped (value discarded). This happens 8 times.
Receives 1 byte from the server -> local8 (the handshake reply: 0 continues, any other value is handled by the reply code table).
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.
Starts over in buffer
na: what is written next begins at byte 0 again. (offset = 0)Reads i64 BE from
na at byte 0 -> oj.Eight bytes chosen by the server. Its two halves become the third and fourth cipher seeds.
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)
Prepares a value:
arr1[1] = (int) (Math.random() * 9.9999999E7).Where this value comes from (1)
Prepares a value:
arr1[2] = (int) (oj >> 32).Where this value comes from (2)
Prepares a value:
arr1[3] = (int) oj.Where this value comes from (2)
The login block
The account details and machine identifiers, written into one buffer.
Starts over in buffer
Client.fy: what is written next begins at byte 0 again. (offset = 0)Writes i8 into
Client.fy at byte 0: 10.In stock 317 the block that would be RSA-encrypted starts with 10.
Writes i32 BE into
Client.fy at byte 1: arr1[0] (= (int) (Math.random() * 9.9999999E7)).A random number made by the client for this login.
Writes i32 BE into
Client.fy at byte 5: arr1[1] (= (int) (Math.random() * 9.9999999E7)).A second random number made by the client.
Writes i32 BE into
Client.fy at byte 9: arr1[2] (= (int) (oj >> 32)).The high half of the server session key.
Writes i32 BE into
Client.fy at byte 13: arr1[3] (= (int) oj).The low half of the server session key.
Writes i32 BE into
Client.fy at byte 17: u.a.c.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)
Writes i32 BE into
Client.fy at byte 21: 314.The build number of this client. A different number is answered with reply 6, "Please reload your game client."
Writes string into
Client.fy at byte 25: arg1. String, terminated by byte 10.Sent as text ending with byte 10.
Where this value comes from (1)
Writes string into
Client.fy: arg2. String, terminated by byte 10.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)
Writes string into
Client.fy: {u.a.e() | "null"}. String, terminated by byte 10.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)
Writes string into
Client.fy: fp. String, terminated by byte 10.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)
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.
Starts over in buffer
jZ: what is written next begins at byte 0 again. (offset = 0)Writes i8 into
jZ at byte 0: 18.Only when
arg3 and nJ.b() == 0 and !l.b()18 marks a reconnect in stock 317.
Writes i8 into
jZ at byte 0: 16.Only when
!arg3 and nJ.b() == 0 and !l.b()16 marks a fresh login in stock 317.
Writes i8 into
jZ at byte 1: (((Client.fy.h + 36) + 1) + 1) + 2.Only when
nJ.b() == 0 and !l.b()The number of bytes that follow this one: the block plus the 40 bytes of header after it.
Where this value comes from (1)
Writes i8 into
jZ at byte 2: 255.Always 255, as in stock 317.
Writes i16 BE into
jZ at byte 3: 317.317: the protocol family this client descends from.
Writes i8 into
jZ at byte 5: {0 | 1}.One byte, 0 or 1, from a static setting. In stock 317 this position is the low-memory flag.
Writes i32 BE into
jZ at byte 6: eH[<varies>]. This happens 9 times.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)
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).Everything written in phase 3 is copied in here.
Creates an opcode cipher from
seeds arr1 (kept in Client.fy.l: added to every outgoing opcode).Prepares a value:
arr1[i] = the element + 50. This happens 4 times.Creates an opcode cipher from
seeds arr1 (kept in lP: subtracted from every incoming opcode).Sends jZ.h bytes to the server: the contents of buffer jZ.
Receives 1 byte from the server -> local8 (the reply code (table below)).
Waits 2000L ms.
Only when
{nJ.b() | nJ.b()} == 1 and !l.b()Starts the login again from the top. (the login method calls itself with (arg1, arg2, arg3))
Receives 1 byte from the server -> cV.
Only when
{nJ.b() | nJ.b()} == 2 and {nJ.b() | nJ.b()} != 1 and !l.b()Receives 1 byte from the server -> condition: <v> == 1.
Starts the first game packet in
Client.fy: opcode 185, with the cipher key added.Sent right after a successful login. Opcode 185 is "Button click" in stock 317.
Writes i16 BE into
Client.fy: 912.The button number 912.
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()} != 13Starts over in buffer
na: what is written next begins at byte 0 again. (offset = 0)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()} != 17Waits 1000L ms. This is repeated while <varies> >= 0.
Starts the login again from the top. (the login method calls itself with (arg1, arg2, arg3))
Waits 2000L ms.
Only when
eo < 2 and nJ.b() == 0 and {nJ.b() | nJ.b()} == -1Starts 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:
| Reply | What happens | Message shown |
|---|---|---|
| -1 | Waits 2000L ms; logs in again | No response from server / Please try using a different world. / No response from loginserver / Please wait 1 minute and try again. |
| 1 | Waits 2000L ms; logs in again | |
| 2 | Reads 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. | |
| 3 | Shows a message and stops | Invalid username or password! / Are you sure you typed everything in correctly? |
| 4 | Shows a message and stops | You have been banned. / Please check the main site for details |
| 5 | Shows a message and stops | Your account is already logged in. / Try again in 60 seconds.. |
| 6 | Shows a message and stops | Please reload your game client. |
| 7 | Shows a message and stops | This world is full. / Please use a different world |
| 8 | Shows a message and stops | Unable to connect. / Login server offline. |
| 9 | Shows a message and stops | Login limit exceeded. / Too many connections from your address. |
| 10 | Shows a message and stops | This account is pending email verification.. / If you don't see the email, check your spam folder! |
| 11 | Shows a message and stops | Login server rejected session. / Please try again. |
| 12 | Shows a message and stops | This account does not exist! / Please register at @yel@www.spawnpk.net/register |
| 13 | Shows a message and stops | Could not complete login. / Please try using a different world. |
| 14 | Shows a message and stops | The server is being updated. / Please wait 1 minute and try again. |
| 15 | Resets Client.fy; resets na | |
| 16 | Shows a message and stops | Login attempts exceeded. / Please wait 1 minute and try again. |
| 17 | Shows a message and stops | Please reload your game client. |
| 20 | Shows a message and stops | Invalid loginserver requested / Please try using a different world. |
| 21 | Reads 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 |
| 22 | Shows a message and stops | Your account is temporary locked! Please wait a few mins.. / This is usually for refunds, name changes, etc. |
| 23 | Shows a message and stops | Your username has been changed! / Please login with your new username.. |
| 24 | Shows a message and stops | Invation code is invalid or expired! / Are you sure you typed it correctly? |
| 25 | Shows a message and stops | You can not login with a VPN connection! / Please try on a different network.. |
| 26 | Nothing visible: no message, nothing more read | |
| 27 | Nothing visible: no message, nothing more read | |
| 28 | Nothing visible: no message, nothing more read | |
| 29 | Shows a message and stops | This name was changed before SPK's Fresh Start. / Please use the most recent username! |
| 30 | Shows a message and stops | SPK 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
- 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). - 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.
- 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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - Repeated while
na.h < lT:- 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local5). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local6). - Then one of these, depending on a condition:
- When
na.y() == 255(4 bytes)- i32 BE 4 bytes, high byte first. Kept in a local variable (
local6).
- i32 BE 4 bytes, high byte first. Kept in a local variable (
- When
na.y() != 255(0 bytes): nothing more.
- When
- 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 (
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.
- u8 1 byte, read as an unsigned number. Kept in a local variable (
local2). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local4). - 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.
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local2). - 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local4). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local5).
- 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 (
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.
- i64 BE 8 bytes, high byte first. Kept in a local variable (
local2). - 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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local4). - Repeated while
<varies> < na.A():- u8 1 byte, read as an unsigned number. Kept in a local variable (
local6). - Then one of these, depending on a condition:
- When
na.y() == 255(4 bytes)- i32 ME[2 3 0 1] 4 bytes, bytes in the mixed order [2 3 0 1]. Kept in a local variable (
local6).
- i32 ME[2 3 0 1] 4 bytes, bytes in the mixed order [2 3 0 1]. Kept in a local variable (
- When
na.y() != 255(0 bytes): nothing more.
- When
- 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).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
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).
- u8 1 byte, read as an unsigned number. Goes to
oL - u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to
oK - Repeated while
na.h < lT:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local2). - The buffer is handed to
Client.c(w.e, int), which reads:- When
arg2 == 84(7 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local7). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg2 == 215(7 bytes)- 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). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local4). - 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- 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 (
- When
arg2 == 156(3 bytes)- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6).
- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
- When
arg2 == 160(4 bytes)- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local3). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local6). - 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).
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
- When
arg2 == 151(4 bytes)- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
local3). - u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local7).
- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
- When
arg2 == 4(6 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg2 == 44(5 bytes)- 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local4). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local5).
- 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 (
- When
arg2 == 101(2 bytes)- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local3). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7).
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
- When
arg2 != 84andarg2 != 215andarg2 != 156andarg2 != 160andarg2 != 151andarg2 != 4andarg2 != 44andarg2 != 101- Then one of these, depending on a condition:
- When
arg2 == 105(4 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg2 != 105(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg2 == 147(14 bytes)- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - s8 128-v 1 byte, read as a signed number, the byte is sent as 128 minus itself. Kept in a local variable (
local7). - u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local8). - s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (
local9). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local10). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local11). - s8 1 byte, read as a signed number. Kept in a local variable (
local15). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local16). - s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (
local17).
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
- When
arg2 != 147(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg2 == 117(15 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - s8 1 byte, read as a signed number. Goes to
local6 = (oK + ((arg1.y() >> 4) & 7)) + <v> - s8 1 byte, read as a signed number. Goes to
local7 = (oL + (arg1.y() & 7)) + <v> - s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (
local8). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local9). - u8 1 byte, read as an unsigned number. Goes to
local10 = <v> * 4 - u8 1 byte, read as an unsigned number. Goes to
local11 = <v> * 4 - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local12). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local13). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local14). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local15).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg2 != 117(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
- 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.
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to
oK - 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.
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.
- The buffer is handed to
Client.a(w.e, int), which reads:- The buffer is handed to
Client.e(w.e), which reads:- When
arg1.k(8) > cD- Switch to bit access: bit cursor i = byte offset x 8
- 8 bits read from the bit stream. Kept in a local variable (
local2).
- When
arg1.k(8) <= cD- Switch to bit access: bit cursor i = byte offset x 8
- 8 bits read from the bit stream. Kept in a local variable (
local2). - Repeated while
<varies> < arg1.k(8):- 1 bits read from the bit stream. Kept in a local variable (
local6). - Then one of these, depending on a condition:
- When
arg1.k(1) == 0(0 bytes): nothing more. - When
arg1.k(1) != 0- 2 bits read from the bit stream. Kept in a local variable (
local7).
- 2 bits read from the bit stream. Kept in a local variable (
- When
arg1.k(1) != 0andarg1.k(2) == 1- 2 bits read from the bit stream. Kept in a local variable (
local7). - 3 bits read from the bit stream. Kept in a local variable (
local8). - 1 bits read from the bit stream. Kept in a local variable (
local9).
- 2 bits read from the bit stream. Kept in a local variable (
- When
arg1.k(1) != 0andarg1.k(2) == 2- 2 bits read from the bit stream. Kept in a local variable (
local7). - 3 bits read from the bit stream. Kept in a local variable (
local8). - 3 bits read from the bit stream. Kept in a local variable (
local9). - 1 bits read from the bit stream. Kept in a local variable (
local10).
- 2 bits read from the bit stream. Kept in a local variable (
- When
- 1 bits read from the bit stream. Kept in a local variable (
- When
- The buffer is handed to
Client.a(int, w.e), which reads:- Repeated while
arg2.i + 21 < arg1 * 8 && arg2.k(14) != 16383:- 14 bits read from the bit stream. Kept in a local variable (
local3). - 5 bits read from the bit stream. Kept in a local variable (
local6). - 5 bits read from the bit stream. Kept in a local variable (
local7). - 1 bits read from the bit stream. Only tested:
<v> == 1 - Then one of these, depending on a condition:
- When
{0 | 1} != 0- 8 bits read from the bit stream. Kept in a local variable (
local8).
- 8 bits read from the bit stream. Kept in a local variable (
- When
{0 | 1} == 0(0 bytes): nothing more.
- When
- 1 bits read from the bit stream. Only tested:
<v> == 1 - Then one of these, depending on a condition:
- When
{0 | 1} != 0- 8 bits read from the bit stream. Goes to
cC[arg2.k(14)].ar = (byte) <v> - 8 bits read from the bit stream. Goes to
cC[arg2.k(14)].ao = (byte) <v> - 8 bits read from the bit stream. Goes to
cC[arg2.k(14)].ap = (byte) <v> - 8 bits read from the bit stream. Goes to
cC[arg2.k(14)].aq = (byte) <v>
- 8 bits read from the bit stream. Goes to
- When
{0 | 1} == 0(0 bytes): nothing more.
- When
- 1 bits read from the bit stream. Only tested:
<v> == 1 - Then one of these, depending on a condition:
- When
{0 | 1} != 0- 8 bits read from the bit stream. Kept in a local variable (
local14).
- 8 bits read from the bit stream. Kept in a local variable (
- When
{0 | 1} == 0(0 bytes): nothing more.
- When
- 1 bits read from the bit stream. Only tested:
<v> == 1 - 14 bits read from the bit stream. Goes to
d.d.c(<v>) - 1 bits read from the bit stream. Only tested:
<v> == 1
- 14 bits read from the bit stream. Kept in a local variable (
- End bit access: byte offset = (bit cursor + 7) / 8
- Repeated while
- The buffer is handed to
Client.b(w.e), which reads:- Repeated while
<varies> < kC:- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local5). - Then one of these, depending on a condition:
- When
arg1.A() & 256 != 0(9 bytes)- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.V - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.X - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.W - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.Y - 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 - 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 - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.ab
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
- When
arg1.A() & 256 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 16 != 0(3 bytes)- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7).
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
- When
arg1.A() & 16 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 8 != 0- u8 1 byte, read as an unsigned number. Kept in a local variable (
local6). - Repeated while
<varies> < arg1.y():- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local9). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local10).
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
<varies>.M - u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
<varies>.N
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg1.A() & 8 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 64 != 0(5 bytes)- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local6). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local7). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local8). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
<varies>.M - u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to
<varies>.N
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
- When
arg1.A() & 64 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 128 != 0(6 bytes)- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
<varies>.z - i32 BE 4 bytes, high byte first. Kept in a local variable (
local6).
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
- When
arg1.A() & 128 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 32 != 0(2 bytes)- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
<varies>.m
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
- When
arg1.A() & 32 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 1 != 0- string text, terminated by byte 10. Goes to
<varies>.q
- string text, terminated by byte 10. Goes to
- When
arg1.A() & 1 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 2 != 0andarg1.y() == 0(3 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local6). - 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>)
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg1.A() & 2 != 0andarg1.y() != 0(3 bytes)- u8 1 byte, read as an unsigned number. Kept in a local variable (
local6). - 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
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg1.A() & 2 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1.A() & 4 != 0(4 bytes)- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
<varies>.Q - u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
<varies>.R
- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
- When
arg1.A() & 4 == 0(0 bytes): nothing more.
- When
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
- Repeated while
- The buffer is handed to
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.
- s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (
local2). - s16 LE 2 bytes, low byte first, read as a signed number. Kept in a local variable (
local3). - 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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - 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.
- 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.
- 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). - 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.
- 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.
- 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). - 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.
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local2). - 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.
The same for players: the local player's movement, other players moving, players entering view, then an update block for each player that changed.
- The buffer is handed to
Client.b(int, w.e), which reads:- The buffer is handed to
Client.c(w.e), which reads:- When
arg1.k(1) == 0- Switch to bit access: bit cursor i = byte offset x 8
- 1 bits read from the bit stream. Kept in a local variable (
local2).
- When
arg1.k(1) != 0andarg1.k(2) == 0- Switch to bit access: bit cursor i = byte offset x 8
- 1 bits read from the bit stream. Kept in a local variable (
local2). - 2 bits read from the bit stream. Kept in a local variable (
local3).
- When
arg1.k(1) != 0andarg1.k(2) == 1- Switch to bit access: bit cursor i = byte offset x 8
- 1 bits read from the bit stream. Kept in a local variable (
local2). - 2 bits read from the bit stream. Kept in a local variable (
local3). - 3 bits read from the bit stream. Kept in a local variable (
local4). - 1 bits read from the bit stream. Kept in a local variable (
local5).
- When
arg1.k(1) != 0andarg1.k(2) == 2- Switch to bit access: bit cursor i = byte offset x 8
- 1 bits read from the bit stream. Kept in a local variable (
local2). - 2 bits read from the bit stream. Kept in a local variable (
local3). - 3 bits read from the bit stream. Kept in a local variable (
local4). - 3 bits read from the bit stream. Kept in a local variable (
local5). - 1 bits read from the bit stream. Kept in a local variable (
local6).
- When
arg1.k(1) != 0andarg1.k(2) != 0andarg1.k(2) != 1andarg1.k(2) != 2- Switch to bit access: bit cursor i = byte offset x 8
- 1 bits read from the bit stream. Kept in a local variable (
local2). - 2 bits read from the bit stream. Kept in a local variable (
local3). - Then one of these, depending on a condition:
- When
arg1.k(2) == 3- 2 bits read from the bit stream. Goes to
dz - 1 bits read from the bit stream. Kept in a local variable (
local4). - 1 bits read from the bit stream. Kept in a local variable (
local5). - 7 bits read from the bit stream. Kept in a local variable (
local6). - 7 bits read from the bit stream. Kept in a local variable (
local7).
- 2 bits read from the bit stream. Goes to
- When
arg1.k(2) != 3(0 bytes): nothing more.
- When
- When
- The buffer is handed to
Client.d(w.e), which reads:- When
arg1.k(8) > dr- 8 bits read from the bit stream. Kept in a local variable (
local2).
- 8 bits read from the bit stream. Kept in a local variable (
- When
arg1.k(8) <= dr- 8 bits read from the bit stream. Kept in a local variable (
local2). - Repeated while
<varies> < arg1.k(8):- 1 bits read from the bit stream. Kept in a local variable (
local7). - Then one of these, depending on a condition:
- When
arg1.k(1) == 0(0 bytes): nothing more. - When
arg1.k(1) != 0- 2 bits read from the bit stream. Kept in a local variable (
local8).
- 2 bits read from the bit stream. Kept in a local variable (
- When
arg1.k(1) != 0andarg1.k(2) == 1- 2 bits read from the bit stream. Kept in a local variable (
local8). - 3 bits read from the bit stream. Kept in a local variable (
local9). - 1 bits read from the bit stream. Kept in a local variable (
local10).
- 2 bits read from the bit stream. Kept in a local variable (
- When
arg1.k(1) != 0andarg1.k(2) == 2- 2 bits read from the bit stream. Kept in a local variable (
local8). - 3 bits read from the bit stream. Kept in a local variable (
local9). - 3 bits read from the bit stream. Kept in a local variable (
local10). - 1 bits read from the bit stream. Kept in a local variable (
local11).
- 2 bits read from the bit stream. Kept in a local variable (
- When
- 1 bits read from the bit stream. Kept in a local variable (
- 8 bits read from the bit stream. Kept in a local variable (
- When
- The buffer is handed to
Client.b(w.e, int), which reads:- Repeated while
arg1.i + 10 < arg2 * 8 && arg1.k(11) != 2047:- 11 bits read from the bit stream. Kept in a local variable (
local3). - 1 bits read from the bit stream. Kept in a local variable (
local5). - 1 bits read from the bit stream. Kept in a local variable (
local6). - 5 bits read from the bit stream. Kept in a local variable (
local7). - 5 bits read from the bit stream. Kept in a local variable (
local8).
- 11 bits read from the bit stream. Kept in a local variable (
- End bit access: byte offset = (bit cursor + 7) / 8
- Repeated while
- The buffer is handed to
Client.a(w.e), which reads:- Repeated while
<varies> < kC:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local7). - Then one of these, depending on a condition:
- When
arg1.y() & 64 != 0(1 byte)- u8 1 byte, read as an unsigned number. Goes to
local7 = <v> + (<v> << 8)
- u8 1 byte, read as an unsigned number. Goes to
- When
arg1.y() & 64 == 0(0 bytes): nothing more.
- When
- The buffer is handed to
Client.a(int, int, w.e, a.k), which reads:- Then one of these, depending on a condition:
- When
arg1 & 1024 != 0(9 bytes)- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
arg4.V - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
arg4.X - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
arg4.W - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
arg4.Y - 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 - 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 - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
arg4.ab
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Goes to
- When
arg1 & 1024 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 256 != 0(6 bytes)- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
arg4.z - i32 BE 4 bytes, high byte first. Kept in a local variable (
local5).
- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
- When
arg1 & 256 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 8 != 0(4 bytes)- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local5). - u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local6). - u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local7).
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
- When
arg1 & 8 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 4 != 0- string text, terminated by byte 10. Kept in a local variable (
local5).
- string text, terminated by byte 10. Kept in a local variable (
- When
arg1 & 4 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 128 != 0- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local5). - s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (
local6). - u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local7). - Then one of these, depending on a condition:
- When
arg4.aZ != nullandarg4.bmand{0 | 1} == 0andoA == 0- bytes a run of bytes: raw bytes into a byte[] argument, last index first; arguments (int, int, byte[]). Goes to
into jT.g
- bytes a run of bytes: raw bytes into a byte[] argument, last index first; arguments (int, int, byte[]). Goes to
- Otherwise (0 bytes): nothing more.
- When
- The position in the buffer is changed:
h = arg3.h + arg3.O()
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
- When
arg1 & 128 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 1 != 0(2 bytes)- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
arg4.m
- u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
- When
arg1 & 1 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 16 != 0- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local5). - bytes a run of bytes: raw bytes into a byte[] argument; arguments (int, int, byte[]). Goes to
into new byte[arg3.O()]
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
- When
arg1 & 16 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 2 != 0(4 bytes)- 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 - u16 LE 2 bytes, low byte first, read as an unsigned number. Goes to
arg4.R
- 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
- When
arg1 & 2 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
arg1 & 32 != 0- u8 1 byte, read as an unsigned number. Kept in a local variable (
local5). - Repeated while
<varies> < arg3.y():- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local7). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local8). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local9).
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
arg4.M - u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
arg4.N
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- When
arg1 & 32 == 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- u8 1 byte, read as an unsigned number. Kept in a local variable (
- Repeated while
- The buffer is handed to
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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local7). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to
oL - 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.
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local2). - 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.
- 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.
- 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local3). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7).
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
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.
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Kept in a local variable (
local2). - u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
local3). - 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local7).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
- 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.
- 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.
- 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 1 byte, read as an unsigned number. Kept in a local variable (
local3). - s8 1 byte, read as a signed number. Goes to
local6 = (oK + ((arg1.y() >> 4) & 7)) + <v> - s8 1 byte, read as a signed number. Goes to
local7 = (oL + (arg1.y() & 7)) + <v> - s16 BE 2 bytes, high byte first, read as a signed number. Kept in a local variable (
local8). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local9). - u8 1 byte, read as an unsigned number. Goes to
local10 = <v> * 4 - u8 1 byte, read as an unsigned number. Goes to
local11 = <v> * 4 - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local12). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local13). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local14). - u8 1 byte, read as an unsigned number. Kept in a local variable (
local15).
- u8 1 byte, read as an unsigned number. Kept in a local variable (
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.
- 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). - 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.
- 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). - 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.
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.
- string text, terminated by byte 10. Kept in a local variable (
local2). - 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.
- u8 1 byte, read as an unsigned number. Kept in a local variable (
local2). - i32 ME[1 0 3 2] 4 bytes, bytes in the mixed order [1 0 3 2]. Kept in a local variable (
local5). - 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.
- 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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6). - s8 128-v 1 byte, read as a signed number, the byte is sent as 128 minus itself. Kept in a local variable (
local7). - u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local8). - s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (
local9). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local10). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local11). - s8 1 byte, read as a signed number. Kept in a local variable (
local15). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local16). - s8 -v 1 byte, read as a signed number, the byte is negated on the wire. Kept in a local variable (
local17).
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
local3). - u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local6). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local7).
- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local6).
- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Kept in a local variable (
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.
- The buffer is handed to
Client.c(w.e, int), which reads:- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local3). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local6). - 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).
- u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
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.
- 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.
- u8 1 byte, read as an unsigned number. Goes to
nf - u8 1 byte, read as an unsigned number. Goes to
ng - u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
nh - u8 1 byte, read as an unsigned number. Goes to
ni - 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.
- u8 1 byte, read as an unsigned number. Only tested:
<v> == 1 - 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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local3). - 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.
- u8 -v 1 byte, read as an unsigned number, the byte is negated on the wire. Goes to
nI - 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 - u8 1 byte, read as an unsigned number. Goes to
nl - i32 ME[2 3 0 1] 4 bytes, bytes in the mixed order [2 3 0 1]. Goes to
nX - 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.
- u8 1 byte, read as an unsigned number. Goes to
lK - u8 1 byte, read as an unsigned number. Goes to
lL - u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
lM - u8 1 byte, read as an unsigned number. Goes to
lN - 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.
- 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.
- i64 BE 8 bytes, high byte first. Kept in a local variable (
local2). - i32 BE 4 bytes, high byte first. Kept in a local variable (
local4). - i32 BE 4 bytes, high byte first. Kept in a local variable (
local5). - Then one of these, depending on a condition:
- When
{0 | 1} == 0andoA == 0- string text, terminated by byte 10. Kept in a local variable (
local7).
- string text, terminated by byte 10. Kept in a local variable (
- Otherwise (0 bytes): nothing more.
- When
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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - 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.
- u8 1 byte, read as an unsigned number. Goes to
gx - u8 1 byte, read as an unsigned number. Goes to
cG - 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.
- 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.
- Repeated while
<varies> < jK:- i64 BE 8 bytes, high byte first. Goes to
kV[<varies>]
- i64 BE 8 bytes, high byte first. Goes to
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.
- The buffer is handed to
Client.c(w.e, int), which reads:- 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). - u8 128-v 1 byte, read as an unsigned number, the byte is sent as 128 minus itself. Kept in a local variable (
local4). - 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local8).
- 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 (
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.
- 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.
- 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.
- 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). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local3). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local4). - 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.
- 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.
- 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). - Switch to bit access: bit cursor i = byte offset x 8
- Repeated while
<varies> < 4:- Repeated while
<varies> < 13:- Repeated while
<varies> < 13:- 1 bits read from the bit stream. Only tested:
<v> == 1 - Then one of these, depending on a condition:
- When
na.k(1) == 1- 26 bits read from the bit stream. Goes to
eV[<varies>][<varies>][<varies>]
- 26 bits read from the bit stream. Goes to
- When
na.k(1) != 1(0 bytes): nothing more.
- When
- 1 bits read from the bit stream. Only tested:
- Repeated while
- Repeated while
- End bit access: byte offset = (bit cursor + 7) / 8
- 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.
- u16 LE 2 bytes, low byte first, read as an unsigned number. Kept in a local variable (
local2). - u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local3). - 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.
- 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). - 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.
- u8 +128 1 byte, read as an unsigned number, the byte has 128 added on the wire. Goes to
mq - 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.
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.
- 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()
- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Repeated while
{e() | e()} != 0:- Then one of these, depending on a condition:
- When
{e() | e()} == 1(2 bytes)- The buffer is handed to
q.a.a.a.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} == 2- The buffer is handed to
q.a.a.a.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
{e() | e()} == 3(1 byte)- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 1and{e() | e()} != 2and{e() | e()} != 3(0 bytes): nothing more. - When
{e() | e()} == 5- The buffer is handed to
q.a.a.a.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Repeated while
{e() | e()} != 0:- Then one of these, depending on a condition:
- When
{e() | e()} == 1(1 byte)- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 2(1 byte)- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 2(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 3(2 bytes)- The buffer is handed to
q.a.a.a.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 3(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 4(2 bytes)- The buffer is handed to
q.a.a.a.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 4(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 5(3 bytes)- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 5(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 7- The buffer is handed to
q.a.a.a.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
{e() | e()} != 7(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
{e() | e()} == 8(1 byte)- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
{e() | e()} != 8(0 bytes): nothing more.
- When
- The buffer is handed to
q.a.a.a.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 0(6 bytes)- The buffer is handed to
q.a.a.a.k.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 1(11 bytes)- The buffer is handed to
q.a.a.a.k.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.k.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.k.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2(4 bytes)- The buffer is handed to
q.a.a.a.k.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.l.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.l.e(), which reads:- 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()
- The buffer is handed to
q.a.a.a.n.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.n.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.n.c(), which reads:- 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()
- The buffer is handed to
l.f.a.c.b.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1(1 byte)- The buffer is handed to
l.f.a.c.b.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 2(8 bytes)- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 4(8 bytes)- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 5- The buffer is handed to
l.f.a.c.b.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 6(4 bytes)- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 7- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
l.f.a.c.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
l.f.a.c.b.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 1ande() != 2ande() != 4ande() != 5ande() != 6ande() != 7(0 bytes): nothing more.
- When
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()
- The buffer is handed to
n.c.b.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- Otherwise (0 bytes): nothing more.
- When
e() == 1- The buffer is handed to
n.c.b.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 2(4 bytes)- The buffer is handed to
n.c.b.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 3(1 byte)- The buffer is handed to
n.c.b.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 4(1 byte)- The buffer is handed to
n.c.b.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 5- The buffer is handed to
n.c.b.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.b.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 6- The buffer is handed to
n.c.b.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 8(2 bytes)- The buffer is handed to
n.c.b.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() == 10- The buffer is handed to
n.c.b.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.b.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 11- The buffer is handed to
n.c.b.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
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()
- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- Otherwise (0 bytes): nothing more.
- When
e() == 1(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 2(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 3(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 4ande() == 0(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 4ande() != 0- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.h.g(), which reads:- i32 BE 4 bytes, high byte first
- Then one of these, depending on a condition:
- When
e() == 2- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
- The buffer is handed to
- When
e() == 5- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 6(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 8(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 9- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 10- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 11- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 12- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- Repeated while
<varies> < 5:- Then one of these, depending on a condition:
- When
<varies> + 1 > e()(0 bytes): nothing more. - When
<varies> + 1 <= e()- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
- Then one of these, depending on a condition:
- The buffer is handed to
- When
e() == 13- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 14(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 15(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 18(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 19(2 bytes)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 20(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 21(1 byte)- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 22(10 bytes)- The buffer is handed to
q.a.a.a.h.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 23- The buffer is handed to
q.a.a.a.h.e(), which reads:- u8 1 byte, read as an unsigned number
- Repeated while
<varies> < 5:- Then one of these, depending on a condition:
- When
<varies> + 1 > e()(0 bytes): nothing more. - When
<varies> + 1 <= e()- The buffer is handed to
q.a.a.a.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
- Then one of these, depending on a condition:
- The buffer is handed to
- When
e() == 24(2 bytes)- The buffer is handed to
q.a.a.a.h.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() == 25(2 bytes)- The buffer is handed to
q.a.a.a.h.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
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_")- The buffer is handed to
q.a.a.a.p.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.p.b(String), which reads:- The buffer is handed to
q.a.a.a.p.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.p.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.p.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- The buffer is handed to
- When
!h().startsWith("dyn_")- The buffer is handed to
q.a.a.a.p.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.p.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
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()
- The buffer is handed to
q.a.a.a.c.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1(4 bytes)- The buffer is handed to
q.a.a.a.c.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
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()
- The buffer is handed to
l.f.a.a.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
l.f.a.a.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
l.f.a.a.d.h(), which reads:- 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()
- The buffer is handed to
l.f.a.i.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1(10 bytes)- The buffer is handed to
l.f.a.i.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
l.f.a.i.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
l.f.a.i.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
l.f.a.i.d.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
l.f.a.i.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 3(1 byte)- The buffer is handed to
l.f.a.i.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 3(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 4(4 bytes)- The buffer is handed to
l.f.a.i.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 4(0 bytes): nothing more.
- When
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)- The buffer is handed to
l.f.a.h.b.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 0- The buffer is handed to
l.f.a.h.b.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
l.f.a.h.b.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
l.f.a.h.b.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
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()
- The buffer is handed to
q.a.a.a.m.c(), which reads:- 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()
- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- Otherwise (0 bytes): nothing more.
- When
e() == 1- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.c.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 2(2 bytes)- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 3(1 byte)- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 4(1 byte)- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 7(1 byte)- The buffer is handed to
n.c.c.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
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()
- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1(2 bytes)- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() == 2(1 byte)- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 3(2 bytes)- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() == 4- The buffer is handed to
q.a.a.a.a.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 5(3 bytes)- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 6(1 byte)- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 7(10 bytes)- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() == 8(1 byte)- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 9- The buffer is handed to
q.a.a.a.a.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.a.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.a.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.a.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 10- The buffer is handed to
q.a.a.a.a.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.a.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 1ande() != 2ande() != 3ande() != 4ande() != 5ande() != 6ande() != 7ande() != 8ande() != 9ande() != 10(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.e.b(int), which reads:- When
e() == 0- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 2- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.e.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 0ande() != 2- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- Then one of these, depending on a condition:
- When
arg1 == 4- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
arg1 != 4andarg1 != 3(4 bytes)- The buffer is handed to
q.a.a.a.e.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
arg1 == 3(0 bytes): nothing more.
- When
- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() is another value (switch default)(0 bytes): nothing more. - When
e() == 1- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 2(4 bytes)- The buffer is handed to
q.a.a.a.e.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
- The buffer is handed to
q.a.a.a.e.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
{0 | 1} != 0- The buffer is handed to
q.a.a.a.e.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
{0 | 1} == 0(0 bytes): nothing more.
- When
- The buffer is handed to
- When
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()
- The buffer is handed to
q.a.a.a.f.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.f.g(), which reads:- i32 BE 4 bytes, high byte first
- Then one of these, depending on a condition:
- When
e() == 1- The buffer is handed to
q.a.a.a.f.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.f.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2- The buffer is handed to
q.a.a.a.f.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 3(1 byte)- The buffer is handed to
q.a.a.a.f.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 3(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 4(4 bytes)- The buffer is handed to
q.a.a.a.f.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
q.a.a.a.f.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
- When
e() != 4(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.o.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1- The buffer is handed to
q.a.a.a.o.d(), which reads:- i64 BE 8 bytes, high byte first
- The buffer is handed to
q.a.a.a.o.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
Methods it calls: e, d, h, O.a, O.c, Client.a
39Kind 39q.a.a.a.g.a()
- The buffer is handed to
q.a.a.a.g.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.g.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
Methods it calls: g, c
40Kind 40q.a.a.a.b.a()
- The buffer is handed to
q.a.a.a.b.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 1- The buffer is handed to
q.a.a.a.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.b.e(), which reads:- u8 1 byte, read as an unsigned number
- Repeated while
<varies> < e():- The buffer is handed to
q.a.a.a.b.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
q.a.a.a.b.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
{0 | 1} != 0- The buffer is handed to
q.a.a.a.b.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
{0 | 1} == 0(0 bytes): nothing more.
- When
- The buffer is handed to
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2(5 bytes)- The buffer is handed to
q.a.a.a.b.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.b.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
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()
- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 0(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 3- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.d.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.d.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() != 3(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 6(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 6(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 7(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 7(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 15(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 15(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 17(9 bytes)- The buffer is handed to
n.c.d.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
n.c.d.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 17(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 18ande() == 0(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 18ande() != 0- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- Otherwise (0 bytes): nothing more.
- When
e() == 2(4 bytes)- The buffer is handed to
n.c.d.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- The buffer is handed to
- When
e() != 18(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 19(4 bytes)- The buffer is handed to
n.c.d.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 19(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 20(4 bytes)- The buffer is handed to
n.c.d.d.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 20(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 21(1 byte)- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 21(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 22- The buffer is handed to
n.c.d.d.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
{0 | 1} == 0- The buffer is handed to
n.c.d.d.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
{0 | 1} != 0(0 bytes): nothing more.
- When
- The buffer is handed to
- When
e() != 22(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.i.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() == 0(5 bytes)- The buffer is handed to
q.a.a.a.i.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
q.a.a.a.i.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 0(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 1(5 bytes)- The buffer is handed to
q.a.a.a.i.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.i.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
e() == 2(12 bytes)- The buffer is handed to
q.a.a.a.i.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.i.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.i.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() != 2(0 bytes): nothing more.
- When
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()
- The buffer is handed to
q.a.a.a.j.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
q.a.a.a.j.e(), which reads:- 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()
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- Then one of these, depending on a condition:
- When
e() is another value (switch default)(0 bytes): nothing more. - When
e() == 0- The buffer is handed to
n.c.e.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 1- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 2- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 3(4 bytes)- The buffer is handed to
n.c.e.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
- When
e() == 4- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.e.h.c(), which reads:- u16 BE 2 bytes, high byte first, read as an unsigned number
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
e() == 5- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
n.c.e.h.g(), which reads:- i32 BE 4 bytes, high byte first
- The buffer is handed to
n.c.e.h.h(), which reads:- string text, terminated by byte 10
- The buffer is handed to
- When
e() == 6(1 byte)- The buffer is handed to
n.c.e.h.e(), which reads:- u8 1 byte, read as an unsigned number
- The buffer is handed to
- When
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.
- 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.
- u8 1 byte, read as an unsigned number. Goes to
kg - Then one of these, depending on a condition:
- When
kg == 1(2 bytes)- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
ol
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
- When
kg != 1(0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
kg >= 2andkg <= 6(5 bytes)- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
lc - u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
ld - u8 1 byte, read as an unsigned number. Goes to
le
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
- Otherwise (0 bytes): nothing more.
- When
- Then one of these, depending on a condition:
- When
kg == 10(2 bytes)- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
lb
- u16 BE 2 bytes, high byte first, read as an unsigned number. Goes to
- When
kg != 10(0 bytes): nothing more.
- When
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.
- u16 BE 2 bytes, high byte first, read as an unsigned number. Kept in a local variable (
local2). - i64 BE 8 bytes, high byte first. Kept in a local variable (
local3). - 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)
- 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
- i8 1 byte. Value:
1
In Client.bG(), when ll and !hM and ff
- 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
- i8 1 byte. Value:
0 - i8 128-v 1 byte, the byte is sent as 128 minus itself. Value:
{0 | 5 | 4 | 3 | 2 | 1} - i8 128-v 1 byte, the byte is sent as 128 minus itself. Value:
<varies> - 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 - 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)
- 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
gw - i16 BE 2 bytes, high byte first. Value:
arg2 - i16 BE 2 bytes, high byte first. Value:
oS - i16 LE 2 bytes, low byte first. Value:
gv
In o.a.a.a.B.a(w.e)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
d - i16 BE 2 bytes, high byte first. Value:
b - i16 BE 2 bytes, high byte first. Value:
a - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg3 - 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)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
c - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- 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)
- 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
- i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.M.a(w.e)
- 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
- i16 BE 2 bytes, high byte first. Value:
arg2
In o.a.a.a.L.a(w.e)
- 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
- i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - i16 LE 2 bytes, low byte first. Value:
arg2 - 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
- i16 LE 2 bytes, low byte first. Value:
gw - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
oS - i16 BE 2 bytes, high byte first. Value:
arg2 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 + Client.el - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
gv - 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
- i16 LE 2 bytes, low byte first. Value:
arg3 + Client.ek - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
nr - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 + Client.el - 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)
- i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value:
0
- i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value:
- When
arg1 != 0andarg1 != 1andarg1 != 2- i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value:
0 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
oQ[<varies> + -1] + Client.ek - Repeated while
<varies> < <varies>:- i8 1 byte. Value:
oQ[(<varies> + -1) + -1] - oQ[<varies> + -1] - i8 1 byte. Value:
oR[(<varies> + -1) + -1] - oR[<varies> + -1]
- i8 1 byte. Value:
- i16 LE 2 bytes, low byte first. Value:
oR[<varies> + -1] + Client.el - i8 -v 1 byte, the byte is negated on the wire. Value:
{1 | 0}
- i32 BE 4 bytes, high byte first (the value 42333 is written as 95233). Value:
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)
- 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
- 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
- i16 BE 2 bytes, high byte first. Value:
arg4
In Client.keyPressed(KeyEvent), when arg1.getKeyCode() == 32 and ff and fQ != 2
- i16 BE 2 bytes, high byte first. Value:
4907
In o.a.a.a.I.a(w.e)
- 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
- i16 BE 2 bytes, high byte first. Value:
arg2 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - 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
- i16 BE 2 bytes, high byte first. Value:
ih.iterator().next().a() - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
ih.iterator().next().b() - 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)
- i16 BE 2 bytes, high byte first. Value:
c - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- i16 LE 2 bytes, low byte first. Value:
arg4 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - 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)
- i16 LE 2 bytes, low byte first. Value:
b - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
c - 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
- i16 BE 2 bytes, high byte first. Value:
arg3 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
gv - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 BE 2 bytes, high byte first. Value:
gw - i16 LE 2 bytes, low byte first. Value:
oS - i16 BE 2 bytes, high byte first. Value:
arg4
In o.a.a.a.y.a(w.e)
- i16 BE 2 bytes, high byte first. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
e - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - i16 BE 2 bytes, high byte first. Value:
f - i16 LE 2 bytes, low byte first. Value:
d - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
oS - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 LE 2 bytes, low byte first. Value:
gv - 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)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
b - i16 LE 2 bytes, low byte first. Value:
c - 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()
- 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
- i16 LE 2 bytes, low byte first. Value:
arg3 + Client.ek - i16 BE 2 bytes, high byte first. Value:
arg4 + Client.el - 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)
- i16 LE 2 bytes, low byte first. Value:
b - i16 BE 2 bytes, high byte first. Value:
c - 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
- 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)
- 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)
- 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
- i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.r.a(w.e)
- 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
- i64 BE 8 bytes, high byte first. Value:
arg1
In o.a.a.a.k.a(w.e)
- 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg4 - i16 LE 2 bytes, low byte first. Value:
arg3 - 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)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - i16 LE 2 bytes, low byte first. Value:
a - 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
- i8 1 byte. Value:
0 - i8 1 byte. Value:
(int) (Math.random() * 256.0) - i8 1 byte. Value:
101 - i8 1 byte. Value:
233 - i16 BE 2 bytes, high byte first. Value:
45092 - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(2 bytes)- i16 BE 2 bytes, high byte first. Value:
35784
- i16 BE 2 bytes, high byte first. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i8 1 byte. Value:
(int) (Math.random() * 256.0) - i8 1 byte. Value:
64 - i8 1 byte. Value:
38 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - 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
- i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - i16 BE 2 bytes, high byte first. Value:
arg2 - 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
- 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
- i16 BE 2 bytes, high byte first. Value:
fv - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 BE 2 bytes, high byte first. Value:
arg4 - 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)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE 2 bytes, high byte first. Value:
b - 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()
- i8 1 byte. Value:
gx - i8 1 byte. Value:
cG - 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
- i8 1 byte. Value:
gx - i8 1 byte. Value:
cG - i8 1 byte. Value:
gc
In Client.a(int, int, int, int, int, String), when arg1 != 702
- i8 1 byte. Value:
gx - i8 1 byte. Value:
cG - 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
- i8 1 byte. Value:
(<varies> + <varies>) + 3 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
oQ[<varies> + -1] + Client.ek - Repeated while
<varies> < <varies>:- i8 1 byte. Value:
oQ[(<varies> + -1) + -1] - oQ[<varies> + -1] - i8 1 byte. Value:
oR[(<varies> + -1) + -1] - oR[<varies> + -1]
- i8 1 byte. Value:
- i16 LE 2 bytes, low byte first. Value:
oR[<varies> + -1] + Client.el - 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
- i8 1 byte. Value:
{1 | 0} - Repeated while
<varies> < 7:- i8 1 byte. Value:
mA[<varies>]
- i8 1 byte. Value:
- Repeated while
<varies> < 5:- i8 1 byte. Value:
lH[<varies>]
- i8 1 byte. Value:
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
- i8 1 byte. Value:
Client.dm.length() - 1 - 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
- i8 1 byte. Value:
concat(arg1).length() - 1 - string text, terminated by byte 10. Value:
arg1
In Client.d(String), when arg1.equals("::damage_test prepare") and !Client.h(arg1)
- i8 1 byte. Value:
<varies> - 1 - string text, terminated by byte 10. Value:
<varies>
In Client.q(), when ff and !nO and !kW and !oB
- i8 1 byte. Value:
<varies> - 1 - string text, terminated by byte 10. Value:
<varies>
In Client.q(), when an != null and ff and !nO and !kW
- i8 1 byte. Value:
an.length() - 1 - 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
- i8 1 byte. Value:
<varies> - 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
- i8 1 byte. Value:
Client.ap.length() - 1 - string text, terminated by byte 10. Value:
Client.ap.substring(2)
In Client.q(), when Client.ao != null and ff and !nO and !kW
- i8 1 byte. Value:
Client.ao.length() - 1 - string text, terminated by byte 10. Value:
Client.ao.substring(2)
In Client.q(), when Client.aq != null and ff and !nO and !kW
- i8 1 byte. Value:
Client.aq.length() - 1 - string text, terminated by byte 10. Value:
Client.aq.substring(2)
In Client.q(), when ar != null and ff and !nO and !kW
- i8 1 byte. Value:
ar.length() - 1 - string text, terminated by byte 10. Value:
ar.substring(2)
In Client.q(), when at != null and ff and !nO and !kW
- i8 1 byte. Value:
at.length() - 1 - string text, terminated by byte 10. Value:
at.substring(2)
In Client.q(), when as != null and ff and !nO and !kW
- i8 1 byte. Value:
as.length() - 1 - string text, terminated by byte 10. Value:
as.substring(2)
In Client.q(), when {0 | 1} != 0 and ff and !nO and !kW
- i8 1 byte. Value:
"::spawn_loadout".length() - 1 - string text, terminated by byte 10. Value:
"::spawn_loadout".substring(2)
In Client.q(int, int)
- i8 1 byte. Value:
concat(arg1, arg2).length() - 1 - string text, terminated by byte 10. Value:
concat(arg1, arg2).substring(2)
In h.d.b(String)
- i8 1 byte. Value:
arg1.length() - 1 - 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
- i8 1 byte. Value:
concat({"::" | ""}, g).length() - 1 - 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()
- i8 1 byte. Value:
n.a.a.iterator().next().length() - 1 - 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
- i8 1 byte. Value:
{new BufferedReader.readLine() | concat(new BufferedReader.readLine())}.length() - 1 - 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)
- i16 LE 2 bytes, low byte first. Value:
c - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE 2 bytes, high byte first. Value:
d - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
e - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg4 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 LE 2 bytes, low byte first. Value:
arg3
In o.a.a.a.t.a(w.e)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
c - 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()
- 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg4 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.Z.a(w.e)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
b - 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
- i8 1 byte. Value:
0 - i64 BE 8 bytes, high byte first. Value:
lk - The buffer is handed to
P.a(String, w.e), which writes:- Repeated while
<varies> < {arg0 | arg0 | arg0.substring(0, 80)}.toLowerCase().length():- i8 1 byte. Value:
<varies>
- i8 1 byte. Value:
- Repeated while
- 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
- i16 BE 2 bytes, high byte first. Value:
arg2
In o.a.a.a.V.a(w.e)
- i16 BE 2 bytes, high byte first. Value:
a
In o.a.a.a.e.a(w.e)
- 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - i16 BE 2 bytes, high byte first. Value:
arg4 - 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)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE 2 bytes, high byte first. Value:
b - 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg2 - 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)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg3 + Client.ek - i16 BE 2 bytes, high byte first. Value:
{(arg2 >> 14) & 32767 | arg5} - 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)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - i16 BE 2 bytes, high byte first. Value:
a - 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
- i64 BE 8 bytes, high byte first. Value:
arg1
In o.a.a.a.b.a(w.e)
- 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
- i16 LE 2 bytes, low byte first. Value:
arg3 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 - i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.w.a(w.e)
- i16 LE 2 bytes, low byte first. Value:
b - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.Y.a(w.e)
- i16 LE 2 bytes, low byte first. Value:
a
In o.a.a.a.f.a(w.e)
- 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - i16 BE 2 bytes, high byte first. Value:
arg4 - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - i16 BE 2 bytes, high byte first. Value:
arg4 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 - 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)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
b - 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
- 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
- i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.T.a(w.e)
- 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
- i16 LE 2 bytes, low byte first. Value:
arg2
In o.a.a.a.J.a(w.e)
- 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg3 + Client.ek - i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - 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
- i8 1 byte. Value:
(<varies> + <varies>) + 3 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
oQ[<varies> + -1] + Client.ek - Repeated while
<varies> < <varies>:- i8 1 byte. Value:
oQ[(<varies> + -1) + -1] - oQ[<varies> + -1] - i8 1 byte. Value:
oR[(<varies> + -1) + -1] - oR[<varies> + -1]
- i8 1 byte. Value:
- i16 LE 2 bytes, low byte first. Value:
oR[<varies> + -1] + Client.el - 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
- i16 LE 2 bytes, low byte first. Value:
arg3 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 - 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
- i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - i16 BE 2 bytes, high byte first. Value:
arg2 - i16 LE 2 bytes, low byte first. Value:
arg3 + Client.ek - 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)
- i16 LE 2 bytes, low byte first. Value:
a - i16 BE 2 bytes, high byte first. Value:
b - i16 LE 2 bytes, low byte first. Value:
c - 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
- 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()
- i16 BE 2 bytes, high byte first. Value:
912
In Client.a(int, int, int, int, int, String), when arg1 != 702
- Then one of these, depending on a condition:
- When
cr(2 bytes)- i16 BE 2 bytes, high byte first. Value:
5000
- i16 BE 2 bytes, high byte first. Value:
- When
!cr(2 bytes)- i16 BE 2 bytes, high byte first. Value:
4999
- i16 BE 2 bytes, high byte first. Value:
- When
In Client.a(int, int, int, int, int, String), when arg1 != 702
- 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
- i16 BE 2 bytes, high byte first. Value:
arg4
In Client.a(int, int, int, int, int, String), when !U and arg1 != 702
- 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
- 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
- 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
- i16 BE 2 bytes, high byte first. Value:
arg4
In Client.a(int, int, int, int, int, String), when arg1 != 702
- 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
- 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
- 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
- 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
- i16 BE 2 bytes, high byte first. Value:
63740
In Client.keyReleased(KeyEvent), when fQ != 1 and fQ != 2
- i16 BE 2 bytes, high byte first. Value:
55313
In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 50 and fQ != 1 and fQ != 2
- i16 BE 2 bytes, high byte first. Value:
55315
In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 51 and fQ != 1 and fQ != 2
- i16 BE 2 bytes, high byte first. Value:
55317
In Client.keyReleased(KeyEvent), when arg1.getKeyCode() == 52 and fQ != 1 and fQ != 2
- i16 BE 2 bytes, high byte first. Value:
55319
In Client.keyReleased(KeyEvent), when gs == 55333 and fQ != 1 and fQ != 2
- 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
- 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
- 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
- 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
- i16 BE 2 bytes, high byte first. Value:
55329
In h.d.a(int)
- i16 BE 2 bytes, high byte first. Value:
arg1
In o.a.a.a.h.a(w.e)
- 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
- i64 BE 8 bytes, high byte first. Value:
arg1
In o.a.a.a.a.a(w.e)
- 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
- 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
- i16 BE 2 bytes, high byte first. Value:
gw - i16 LE 2 bytes, low byte first. Value:
{(arg2 >> 14) & 32767 | arg5} - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg4 + Client.el - i16 LE 2 bytes, low byte first. Value:
gv - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg3 + Client.ek - i16 BE 2 bytes, high byte first. Value:
oS
In o.a.a.a.A.a(w.e)
- i16 BE 2 bytes, high byte first. Value:
c - i16 BE 2 bytes, high byte first. Value:
d - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
e - i16 LE 2 bytes, low byte first. Value:
b - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
f - 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
- 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
- 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)
- 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
- 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)
- 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
eA - i8 -v 1 byte, the byte is negated on the wire. Value:
{0 | 1} - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
eB - 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
33100 - i8 -v 1 byte, the byte is negated on the wire. Value:
0 - 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) - i16 LE 2 bytes, low byte first. Value:
n.c.al.g(arg3, arg4)
In o.a.a.a.X.a(w.e)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
a - i8 -v 1 byte, the byte is negated on the wire. Value:
b - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
c - 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
- i64 BE 8 bytes, high byte first. Value:
arg1
In o.a.a.a.j.a(w.e)
- 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
- i64 BE 8 bytes, high byte first. Value:
O.a(ky) - i8 1 byte. Value:
arg1.J - 601 - 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
- i8 1 byte. Value:
0 - i16 BE 2 bytes, high byte first. Value:
58722 - i8 1 byte. Value:
240 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i8 1 byte. Value:
(int) (Math.random() * 256.0) - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(2 bytes)- i16 BE 2 bytes, high byte first. Value:
51825
- i16 BE 2 bytes, high byte first. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i8 1 byte. Value:
(int) (Math.random() * 256.0) - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i16 BE 2 bytes, high byte first. Value:
7130 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i16 BE 2 bytes, high byte first. Value:
61657 - 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
- i8 1 byte. Value:
0 - i16 BE 2 bytes, high byte first. Value:
58722 - i8 1 byte. Value:
240 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i8 1 byte. Value:
(int) (Math.random() * 256.0) - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(2 bytes)- i16 BE 2 bytes, high byte first. Value:
51825
- i16 BE 2 bytes, high byte first. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i8 1 byte. Value:
(int) (Math.random() * 256.0) - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i16 BE 2 bytes, high byte first. Value:
7130 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i16 BE 2 bytes, high byte first. Value:
61657 - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
{(arg2 >> 14) & 32767 | arg5} - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg4 + Client.el - i16 BE 2 bytes, high byte first. Value:
arg3 + Client.ek
In o.a.a.a.R.a(w.e)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
b - 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
- 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg3 + Client.ek - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
{(arg2 >> 14) & 32767 | arg5} - 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)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
b - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - i16 BE 2 bytes, high byte first. Value:
arg2 - i16 LE 2 bytes, low byte first. Value:
arg3 + Client.ek
In o.a.a.a.S.a(w.e)
- i16 LE 2 bytes, low byte first. Value:
b - i16 BE 2 bytes, high byte first. Value:
a - 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
- i16 BE 2 bytes, high byte first. Value:
arg3 - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 BE 2 bytes, high byte first. Value:
arg4 - 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)
- i16 BE 2 bytes, high byte first. Value:
a - i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
b - i16 BE 2 bytes, high byte first. Value:
c - 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
- i8 1 byte. Value:
0 - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(1 byte)- i8 1 byte. Value:
101
- i8 1 byte. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i8 1 byte. Value:
197 - i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - i8 1 byte. Value:
(int) (Math.random() * 256.0) - i8 1 byte. Value:
67 - i16 BE 2 bytes, high byte first. Value:
14214 - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(2 bytes)- i16 BE 2 bytes, high byte first. Value:
29487
- i16 BE 2 bytes, high byte first. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i16 BE 2 bytes, high byte first. Value:
(int) (Math.random() * 65536.0) - Then one of these, depending on a condition:
- When
(int) (Math.random() * 2.0) == 0(1 byte)- i8 1 byte. Value:
220
- i8 1 byte. Value:
- When
(int) (Math.random() * 2.0) != 0(0 bytes): nothing more.
- When
- i8 1 byte. Value:
180 - 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
- i8 1 byte. Value:
((<varies> + <varies>) + 3) + 14 - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
oQ[<varies> + -1] + Client.ek - Repeated while
<varies> < <varies>:- i8 1 byte. Value:
oQ[(<varies> + -1) + -1] - oQ[<varies> + -1] - i8 1 byte. Value:
oR[(<varies> + -1) + -1] - oR[<varies> + -1]
- i8 1 byte. Value:
- i16 LE 2 bytes, low byte first. Value:
oR[<varies> + -1] + Client.el - 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
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
arg2 - i16 LE 2 bytes, low byte first. Value:
nr
In o.a.a.a.H.a(w.e)
- i16 BE b0+128 2 bytes, high byte first, the lowest byte has 128 added on the wire. Value:
a - 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
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
{(arg2 >> 14) & 32767 | arg5} - i16 LE 2 bytes, low byte first. Value:
arg4 + Client.el - 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)
- i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
a - i16 LE 2 bytes, low byte first. Value:
b - 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
- i16 LE 2 bytes, low byte first. Value:
arg3 + Client.ek - i16 LE b0+128 2 bytes, low byte first, the lowest byte has 128 added on the wire. Value:
arg4 + Client.el - 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.