Azoth Central — Javelin::ClientMessages::ActionListComponentServerFacet_ReceiveInputFromClient

All Packets #1589

Javelin::ClientMessages::ActionListComponentServerFacet_ReceiveInputFromClient

SolvedCaptured ✓

We know its format and the Azoth server already uses it.

What it doesWe know what this does

Sends the server what you are doing: moving, turning the camera, pressing hotkeys, interacting and attacking. It is sent many times every second.

Activity: Movement

How to capture

We already have this packet in a recording. You only need to record it again if you want to help check it.

  1. Log in and walk, sprint and jump around.
  2. Turn the camera in a full circle.
  3. Press a few hotkeys and interact with something (a door or a chest).
  4. Attack, block and swap weapons in a fight.
  5. Write down the time of each action.

Recording tips

  • Record one activity per recording.
  • Keep each recording under 5 minutes.
  • Write down the time of each step.
  • Send the ledger.bin file only through /capture on Discord.

Send your recording or use /capture on Discord.

FieldsSpec: Verified

When: Sent by the client all the time while you are in the world, about 20 to 30 times a second: the keys and buttons you are holding, plus where the camera is and where it points. Each message carries the last 1 to 5 input frames, newest first. The server never gets the character's position from this message, only the camera's. Only the start of the message and the newest frame up to the camera position are described here; the end of that frame and the older frames (sent as small differences against each other) are not.

16 B headervariable size

Offsets count from the first byte after the message type. The first 16 bytes name the component the call is addressed to; the arguments start at offset 16. Where a field's offset is shown as "varies", it moves with the length of the fields before it; it is matched by name.

AtFieldTypeSizeMeaningExample
16 preamble.byte0 nested structure 1 B — 0
also seen: 0, 1
range 0 to 1
17 preamble.byte1 u8 1 B — 1
also seen: 1, 0
range 0 to 1
18 preamble.byte2 u8 1 B — 0
also seen: 0, 1
range 0 to 1
19 preamble.byte3 u8 1 B — 0
20 preamble.vlq64A vlq64 — — 46
also seen: 46, 45, 47, 50, 52, 51, 49, 48, 44, 58
range 0 to 3373
varies preamble.vlq32A vlq32 — — 59
also seen: 59, 60, 149, 143, 137, 127, 120, 129, 138, 131
range 0 to 213
varies preamble.vlq32B vlq32 — — 0
also seen: 0, 1
range 0 to 1
varies preamble.byte4 u8 1 B — 0
varies preamble.hasExtra u8 1 B — 1
also seen: 1, 0
range 0 to 1
varies preamble.extra vlq64 — — 24596
also seen: 24596, 24598, 24600, 24602, 24604, 24606, 24608, 24610, 24612, 24614
range 1 to 309121
varies preamble.u64 u64be 8 B — 0xffffffffffffffff
also seen: 0xffffffffffffffff, 0, 1, 3, 15, 63, 255, 1023, 4095, 16383
range 0 to 0xffffffffffffffff
varies preamble.byte5 u8 1 B — 1
also seen: 1, 2, 0
range 0 to 2
varies preamble.vlq32C vlq32 — — 16
also seen: 16, 63, 32, 61, 64
range 16 to 64
varies preamble.vlq32D vlq32 — — 1
also seen: 1, 47, 48, 50, 49, 16, 2, 17, 27, 26
range 0 to 51
varies preamble.vlq32E vlq32 — — 8
also seen: 8, 7, 169, 170, 172, 171, 32, 31, 33, 132
range 5 to 172
varies preamble.byte6 u8 1 B — 87
also seen: 87, 88, 90, 89, 24, 23, 20, 21, 22, 46
range 19 to 94
varies preamble.pairs.count vlq32 — — 0
varies preamble.vlq64B vlq64 — — 0
varies preamble.vlq64C vlq64 — — 0
varies preamble.vlq32F vlq32 — — 13
also seen: 13, 12, 14, 27, 28, 44, 18, 17, 26, 41
range 7 to 2414
varies preamble.vlq32G vlq32 — — 59
also seen: 59, 56, 58, 60, 55, 70, 63, 64, 67, 66
range 1 to 104
varies frame.byte08 u8 1 B — 15
also seen: 15, 14
range 14 to 15
varies frame.quantized2c raw2 2 B — 0083
also seen: 0083, 0205, 0206, 01ee, 01df, 01e7, 0203, 01f7, 01eb, 01e6
varies rest raw — — not shown (may contain names/chat)
varies frame.byte28 u8 1 B — 1
also seen: 1, 2
range 1 to 2
varies frame.bool0c u8 1 B — 1
varies frameCount u8 1 B How many input frames this message carries (1 to 5), newest first. Every message repeats the last few frames, so one key press shows up in up to 5 messages in a row and the server has to count it once. 3
also seen: 3, 4, 2, 1, 5
range 1 to 5
varies frame.presenceMask u24le 3 B Three bytes, little-endian, one bit per optional field of the frame: bit 0 frame flags, bits 1, 2 and 3 three single bytes, bit 4 a 2-byte value, bit 5 the time step, bit 6 camera heading, bit 7 camera position. The higher bits switch on fields near the end of the frame, which are not decoded here. 2291
also seen: 2291, 2299, 2275, 2295, 2279, 5, 2283, 3315, 2547, 3571
range 1 to 48883
varies frame.id u16be 2 B The frame counter (2 bytes, big-endian). Frame ids go down by one from the newest frame to the oldest inside a message, and the newest one goes up by one from message to message. 9808
also seen: 9808, 9809, 9810, 9811, 9812, 9813, 9814, 9815, 9816, 9817
range 1 to 55864
varies frame.flags vlq64 — Frame flags (a variable-length number). They decide which optional fields appear at the end of the frame, which are not decoded here. 33555696
also seen: 33555696, 35652848, 169870576, 171967728, 138413296, 4466935024, 266240, 33817840, 1264, 4328522992
range 1136 to 4466935024
varies input.wordCount u8 1 B How many 32-bit words the input bit set holds: 19 in nearly every frame, which is nine 64-bit words and one 32-bit word. 0 means no words follow and every input is off. 19
also seen: 19, 0
range 0 to 19
varies input.word0 vlq64 — Input bit set, word 0, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 0 to 63, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 3 alternate attack (held), 4 move back (on press), 7 turn (yaw axis), 10 rune ability (held), 26 summon mount, 27 cycle quick slot up, 39 ability 1 (held), 40 weapon slot 1. 0
also seen: 0, 128, 0x800000000000000, 67108864, 16384, 16, 8796093038720, 8796093038592, 8796109815936, 8796109815808
range 0 to 0x1000000000000000
varies input.word1 vlq64 — Input bit set, word 1, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 64 to 127, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 67 dodge (held down), 73 sprint (held), 88 autorun, 100 consumable slot 2, 109 move right (on press), 115 ability 2. 0
also seen: 0, 8796093022208, 26388279066624, 17592186044416, 16777216, 43980465111040, 8796093022216, 8, 35184372088832, 562954248388608
range 0 to 0x4008080000000000
varies input.word2 vlq64 — Input bit set, word 2, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 128 to 191, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 133 move forward (on press), 139 ability 3, 191 primary attack (held). 0
also seen: 0, 8796093022208, 1099511627776, 34359738368, 43980465111040, 0x800000000000000, 32, 8796093022216, 8, 35184372088832
range 0 to 0x8000100000000000
varies input.word3 vlq64 — Input bit set, word 3, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 192 to 255, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 192 alternate attack, 194 consumable slot 3, 218 weapon swap. 0
also seen: 0, 140737488355328, 1073741824, 0x400000000000000, 0x100000000800000, 0x100000000000000, 8589950976, 8589934592, 2199023255552, 4194432
range 0 to 0x8000000000000000
varies input.word4 vlq64 — Input bit set, word 4, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 256 to 319, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 277 crouch toggle, 286 block, 288 move left, 306 weapon slot 2, 313 walk. 0
also seen: 0, 2, 4294967296, 0x400000000000000, 309237645312, 4096, 2684354560, 2251800887427200, 2251799813685248, 2251804108652544
range 0 to 0x1000000000000000
varies input.word5 vlq64 — Input bit set, word 5, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 320 to 383, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 322 dodge, 327 move back, 331 prone toggle. 16777216
also seen: 16777216, 0, 0x200000000000000, 2251799813685248, 128, 4, 64, 2199023255552, 2, 0x100000000000000
range 0 to 0x2400008000000090
varies input.word6 vlq64 — Input bit set, word 6, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 384 to 447, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 391 jump, 402 ability 1, 416 move forward, 428 sheathe, 435 consumable slot 1. 0
also seen: 0, 0x80000000000000, 0x400000000000000, 0x80000000000040, 32, 0x80000000000020, 0x84000100000000, 4294967296, 0x80000100000000, 4294967360
range 0 to 0x480000101000000
varies input.word7 vlq64 — Input bit set, word 7, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 448 to 511, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 450 rune ability, 460 consumable slot 4, 466 block (held down), 482 move left (on press). 0x402000008000000
also seen: 0x402000008000000, 0x502000008000000, 0x402000408000000, 0x402000008000002, 0x402000008004000, 0x402200008000000, 0x4020c1008840000, 0x402040008140000, 0x402040408140000, 0x402040088140800
range 0x400000008000000 to 0x4402800008000000
varies input.word8 vlq64 — Input bit set, word 8, a 64-bit word (a variable-length number). Bit b of word k is input number 64 x k + b; this word covers inputs 512 to 575, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 540 move right, 555 primary attack, 556 sprint, 560 sheathe (held), 567 primary attack (release). 0x200000000000000
also seen: 0x200000000000000, 0x200000800000000, 0x300000010000000, 0x200000040000000, 0x200000860000000, 0x300000050000000, 0x200000000000040, 0x200040000000000, 0x200080040000000, 0x200000041000000
range 0 to 0x2280000000000000
varies input.word9 vlq32 — Input bit set, word 9, a 32-bit word (a variable-length number of up to 5 bytes). Bit b of word k is input number 64 x k + b; this word covers inputs 576 to 607, and a bit is 1 while that input is active in the frame. Inputs known in this word (number and action): 585 turn (pitch axis), 590 shoot (release). 4
also seen: 4, 516, 0, 512, 5, 2048, 1024, 1536, 17920, 17408
range 0 to 17920
varies frame.analogAxes raw4 4 B Four bytes that look like analog stick axes at rest: 0x80 each in every capture. 80808080
varies frame.dt f32be 4 B The length of the client tick that produced the frame, in seconds. The captures show 0.05 and 0.0333. 0.033333335
also seen: 0.033333335, 0.05
range 0.033333335 to 0.05
varies frame.yaw f32be 4 B Which way the camera looks sideways, in radians. 0 looks along +Y, and the range is -pi to pi. 3.0150065
also seen: 3.0150065, 3.0164938, 3.0194056, 3.0194066, 3.0194075, 3.0194046, 1.3357458, -2.8966122, 1.4230127, 1.4235617
range -3.1393182 to 3.1415927
varies frame.pitch f32be 4 B Camera up/down angle in radians; positive looks down. 0.17453283
also seen: 0.17453283, 0.17402612, 0.17328238, 0.1664878, 0.1647282, 0.16475064, 0.16706489, 0.1687885, 0.17043053, 0.17134853
range -0.6204763 to 1.2217304
varies frame.cameraX f32be 4 B X of the camera, in world metres. This is the camera, not the character: the client never sends the character position. The camera follows the character at a distance that depends on zoom (up to about 6 m), so a server works the character position out from the camera and the keys. 9239.0205
also seen: 9239.0205, 9239.024, 9239.037, 9239.053, 9239.078, 9239.102, 9239.127, 9239.154, 9239.1875, 9239.219
range 1149.8707 to 11613.409
varies frame.cameraY f32be 4 B Y of the camera, in world metres. 3366.1274
also seen: 3366.1274, 3366.1416, 3366.1934, 3366.2563, 3366.3596, 3366.4578, 3366.565, 3366.6794, 3366.8218, 3366.9607
range 672.34674 to 7963.757
varies frame.cameraZ u16be 2 B Height of the camera as a 2-byte number (big-endian): metres = value / 65535 x 1100 - 100. 10519
also seen: 10519, 10520, 10522, 10526, 10528, 10532, 10535, 10539, 10543, 10546
range 8362 to 40576
How to capture