Edit on GitHub

GameService Server Achievement Association Report

Summary

This packet lists all the user's achievements and assocates real IDs with user-specific status IDs.

Important: This packet is segmented into 18-group lists. When more than 18 groups exist, multiple of this packet will be sent consecutively. The 'pending' integer in each is the total count of groups in the current packet plus all future packets in the series.

This packet is sent during the response to GameService Client 0x0002 Hello.

Structure

gameservice_server_021e_achievement_association_report

Name Type Summary
unknown_a bytes
achievement_groups_pending u4
achievement_group_count u4
achievement_groups achievement_group

Subtypes

achievement_group

Name Type Summary
unknown_b bytes
achievement_group_id u4 From pangya_xx.iff/Achievement.iff.
achievement_group_slot u4 Unconfirmed.
unknown_c u4 All examples show 3 (0x00000003).
achievement_count u4
achievements achievement

achievement

Name Type Summary
achievement_id u4 From pangya_xx.iff/Achievement.iff
achievement_status_id u4 Ref. [GameService Server 0x0216 User Status Update](/packets/gameservice/server/0216.ksy). Identical for entire group.
achievement_status_slot u4 Ref. [GameService Server 0x0216 User Status Update](/packets/gameservice/server/0216.ksy). Achieved are unique; unachieved identical for entire group.
unknown_unix_time u4 Timestamp of when achieved. Unachieved are 0 (0x00000000).

Definition

meta:
  id: gameservice_server_021e_achievement_association_report
  title: GameService Server Achievement Association Report
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: unknown_a
    size: 4
  - id: achievement_groups_pending
    type: u4
  - id: achievement_group_count
    type: u4
  - id: achievement_groups
    type: achievement_group
    repeat: expr
    repeat-expr: achievement_group_count
types:
  achievement_group:
    seq:
      - id: unknown_b
        size: 1
      - id: achievement_group_id
        type: u4
      - id: achievement_group_slot
        type: u4
      - id: unknown_c
        type: u4
      - id: achievement_count
        type: u4
      - id: achievements
        type: achievement
        repeat: expr
        repeat-expr: achievement_count
  achievement:
    seq:
      - id: achievement_id
        type: u4
      - id: achievement_status_id
        type: u4
      - id: achievement_status_slot
        type: u4
      - id: unknown_unix_time
        type: u4

Examples

No examples available. Contribute one?