Edit on GitHub

GameService Server Message Data

Summary

This packet relays incoming global-chat messages. This does not include whispered messages, nor does it include private messaging that would happen on the Messaging Server.

See Also:

Structure

gameservice_server_0040_message_data

Name Type Summary
subtype u1 Type of message.
response switch(subtype)
case 0 message_data_00_chat_message Case when subtype == 0
case 11 message_data_0b_unknown Case when subtype == 11
case 12 message_data_0c_countdown Case when subtype == 12
case 17 message_data_11_completion Case when subtype == 17

Subtypes

message_data_00_chat_message

Relays incoming chat messages. These include messages the local user has sent via GameService Client 0x0003 Message Send

Name Type Summary
user_nickname pstring
chat_message pstring

message_data_0b_unknown

Name Type Summary
user_nickname pstring
unknown_a bytes[6]

message_data_0c_countdown

Name Type Summary
unknown_b bytes[4] Appears to always be 0 (0x00000000).
countdown_seconds u4 Countdown until game/event begins. Sent every 30 seconds until 30, then 20, and 10 through 1 seconds.

message_data_11_completion

Announces when a player has finished in a tournament. Immediately precedes GameService Server 0x006C Tournament User Finish.

Name Type Summary
user_nickname pstring
unknown_d bytes[2]
user_score s4 Final score attained in game.
user_pang u4 Final pang attained in game.
unknown_g bytes[4]
user_assist_mode u1 User used shot assist during game.

Definition

meta:
  id: gameservice_server_0040_message_data
  title: GameService Server Message Data
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: subtype
    type: u1
  - id: response
    type:
      switch-on: subtype
      cases:
        0: message_data_00_chat_message
        11: message_data_0b_unknown
        12: message_data_0c_countdown
        17: message_data_11_completion
types:
  message_data_00_chat_message:
    seq:
      - id: user_nickname
        type: pstring
      - id: chat_message
        type: pstring
  message_data_0b_unknown:
    seq:
      - id: user_nickname
        type: pstring
      - id: unknown_a
        size: 6
  message_data_0c_countdown:
    seq:
      - id: unknown_b
        size: 4
      - id: countdown_seconds
        type: u4
  message_data_11_completion:
    seq:
      - id: user_nickname
        type: pstring
      - id: unknown_d
        size: 2
      - id: user_score
        type: s4
      - id: user_pang
        type: u4
      - id: unknown_g
        size: 4
      - id: user_assist_mode
        type: u1

Examples

No examples available. Contribute one?