Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document game service packet 0x131 #52

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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