Edit on GitHub

GameService Client Room Create

Summary

This packet creates a game room on the sub-server. This also counts as having joined the created room.

The responses are:

Aliases:

Structure

gameservice_client_0008_room_create

Name Type Summary
unknown_a u1 All 0x00.
room_shot_timer_ms u4 Used for VS and Chat modes. Shot timer, in milliseconds.
room_game_timer_ms u4 Used for Tournament and Battle modes. Game timer, in milliseconds.
room_user_max u1 Upper user limit for room.
room_type u1
room_hole_amount u1 Number of holes; set hole in Chat mode.
room_course u1
unknown_b bytes
room_name pstring
room_password pstring
unknown_c bytes All 0x00.

Enums

room_type

Key Value
room_type::vs 0
room_type::chat 2
room_type::tournament 4
room_type::battle 10

room_course

Key Value
room_course::blue_lagoon 0
room_course::blue_water 1
room_course::sepia_wind 2
room_course::wind_hill 3
room_course::wiz_wiz 4
room_course::west_wiz 5
room_course::blue_moon 6
room_course::silvia_cannon 7
room_course::ice_cannon 8
room_course::white_wiz 9
room_course::shining_sand 10
room_course::pink_wind 11
room_course::deep_inferno 13
room_course::ice_spa 14
room_course::lost_seaway 15
room_course::eastern_valley 16
room_course::ice_inferno 18
room_course::wiz_city 19
room_course::abbot_mine 20
room_course::random_course 127

Definition

meta:
  id: gameservice_client_0008_room_create
  title: GameService Client Room Create
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: unknown_a
    type: u1
  - id: room_shot_timer_ms
    type: u4
  - id: room_game_timer_ms
    type: u4
  - id: room_user_max
    type: u1
  - id: room_type
    type: u1
    enum: room_type
  - id: room_hole_amount
    type: u1
  - id: room_course
    type: u1
    enum: room_course
  - id: unknown_b
    size: 5
  - id: room_name
    type: pstring
  - id: room_password
    type: pstring
  - id: unknown_c
    size: 4
enums:
  room_type:
    0: vs
    2: chat
    4: tournament
    10: battle
  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

Examples

No examples available. Contribute one?