Skip to content

Commit

Permalink
document game service packet 0x131 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
hex-agon committed Jun 27, 2023
1 parent dc1a81b commit 50d5367
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions src/packets/gameservice/server/0131.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
#pragma.parseAs GameserviceServerPacket
---
meta:
id: gameservice_server_0131_unknown
title: GameService Server 0131 Unknown
id: gameservice_server_treasure_hunter_info
title: GameService Server Treasure Hunter Info
encoding: ASCII
endian: le
imports:
- ../../common/pstring

doc: |
This packet has unknown meaning.
This packet contains the treasure hunter bar value for all courses visible while selecting the course.
This is a response to [Gameservice Client 0x0002 Hello / Login](/packets/gameservice/client/0002.ksy),
but it also apparently sent automatically at the top of the hour.
Expand All @@ -20,7 +20,6 @@ seq:
type: u1
- id: entry_count
type: u1
doc: Only 21 (0x15) witnessed.
- id: entries
type: entry
repeat: expr
Expand All @@ -29,9 +28,9 @@ seq:
types:
entry:
seq:
- id: entry_index
- id: course_id
type: u1
doc: Increments from 0x00 to (entry_count - 1)
doc: The course_id
- id: entry_value
type: u4
doc: All seen values multiples of 10, in no particular order.
doc: The treasure hunter value, based on some empirical tests the minimum value to display anything is 720 and the maximum is 1000.
2 changes: 1 addition & 1 deletion src/packets/gameservice/server/index.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ seq:
0x012e: gameservice_server_012e_custom_asset_response
0x012f: gameservice_server_012f_room_invite_send_response
0x0130: gameservice_server_0130_room_invite_send_response
0x0131: gameservice_server_0131_unknown
0x0131: gameservice_server_treasure_hunter_info
0x0132: gameservice_server_0132_treasure_point_status
0x0133: gameservice_server_0133_treasure_point_result
0x0134: gameservice_server_0134_treasure_point_winnings
Expand Down

0 comments on commit 50d5367

Please sign in to comment.