Edit on GitHub
This packet relates to game state resynching.
Its one of the responses to:
Name | Type | Summary |
---|---|---|
connection_id | u4 | |
item_count | u1 | |
items | item[item_count] | |
padding | bytes[2048 - item_count * 16] | All 0x00. Padded so packet is always 2055 bytes long (128 item slots available), but only if there is at least 1 item. |
Name | Type | Summary |
---|---|---|
item_id_collectable | u4 | From pangya_xx.iff/Item.iff. Appears to always be a field collectable (coin, spin cube, etc.) |
room_course | u1 | |
hole_number | u1 | |
unknown_a | u2 | Non-zero. Consistent for similar items (all coins have same value, etc.) |
unknown_b | u4 | Non-zero. Consistent for similar items (all coins have same value, etc.) |
unknown_c | bytes[4] | All 0x00. |
meta:
id: gameservice_server_00cc_shot_resync_collectables
title: GameService Server Shot Resync Collectables
encoding: ASCII
endian: le
imports:
- ../../common/pstring
seq:
- id: connection_id
type: u4
- id: item_count
type: u1
- id: items
type: item
repeat: expr
repeat-expr: item_count
- id: padding
size: 2048 - item_count * 16
if: item_count > 0
types:
item:
seq:
- id: item_id_collectable
type: u4
- id: room_course
type: u1
enum: room_course
- id: hole_number
type: u1
- id: unknown_a
type: u2
- id: unknown_b
type: u4
- id: unknown_c
size: 4
enums:
room_course:
0: blue_lagoon
1: blue_water
2: sepia_wind
3: wind_hill
4: wiz_wiz
5: west_wiz
6: blue_moon
7: silvia_cannon
8: ice_cannon
9: white_wiz
10: shining_sand
11: pink_wind
13: deep_inferno
14: ice_spa
15: lost_seaway
16: eastern_valley
18: ice_inferno
19: wiz_city
20: abbot_mine
127: random_course