Used for launching a flare.
def Flare
int8 :action_identifier
byte24 :zero
int32 :const
int8 :zero2
array :receiving,
type => :int8,
initial_length => 8
byte24 :zero3
float :x_coord
float :y_coord
int8 :player_number
int8 :player_id
int16 :zero4
end
:action_identifier
Always has the value 0x0b
.
:zero
The 3 bytes after :action_identifier are always zero.
:const
These 4 bytes are always 0xFFFFFFFF
.
:zero2
The one byte after :player_id is always zero. Could also represent "Gaia" in :receiving or be a counter of some sorts that is never used.
:receiving
Every byte in this array represents a player number (first byte: player 1, second byte: player 2, ...). If the value of byte X is 0x01
, player X will see the flare. If the value of byte X is 0x00
, player X won't see the flare.
:zero3
The 3 bytes after :receiving are always zero.
:x_coord
The x-coordinate of the targeted position.
:y_coord
The y-coordinate of the targeted position.
:player_number
The player's number which can be changed in the lobby. Is only different from :player_id if playing in coop mode.
:player_id
The ID of the player.
:zero4
The 3 bytes after :player_id are always zero.
73 00 00 00 ff ff ff ff 00 01 01 01 00 00 00 00 00 00 00 00 00 00 c7 42 00 80 33 43 03 04 00 00
73
— action_identifier
00 00 00
— zero
ff ff ff ff
— const
00
— zero2
01
— receiving_p1
01
— receiving_p2
01
— receiving_p3
00
— receiving_p4
00
— receiving_p5
00
— receiving_p6
00
— receiving_p7
00
— receiving_p8
00 00 00
— zero3
00 00 c7 42
— x_coord
00 80 33 43
— y_coord
03
— player_number
04
— player_id
00
— disconnect