General
Note
- id:
general- endian:
le- imports:
net
Type packet
params
- id:
id- type:
u4
Sequence
[switch-on:id]
Type Cases 0 handshake1 disconnect_notify
Type handshake
Sequence
[u4] network_version
[net::padding(4)]
[u2:net::service_id] service_id
[net::padding(2)]
[u4] process_id
[u2] port
[net::padding(35)]
Type disconnect_notify
Sequence
[u4:disconnect_reason] reason
- if:
reason == disconnect_reason::wrong_game_version or reason == disconnect_reason::wrong_server_version[u4] version
Enum packet_id
- 0:
handshake- 1:
disconnect_notify
Enum disconnect_reason
- 0:
unknown_server_errorUnspecified disconnect reason.
- 1:
wrong_game_versionThe client’s [`handshake::network_version`] did not match the server’s [`handshake::network_version`]. The message contains the server network version number.
- 2:
wrong_server_versionUnused for client-server.
- 3:
connection_on_invalid_portConnection attempt on invalid port, server emulators probably won’t send this as they usually won’t have server-server communication using LU’s protocol.
- 4:
duplicate_loginThere was another login with your account and your session has been closed in favor of the new login.
- 5:
server_shutdownThe server is shutting down.
- 6:
unable_to_load_mapNo server hosting this map is available.
- 7:
invalid_session_keyThe provided [`world::client_validation::session_key`] is incorrect.
- 8:
account_not_in_pending_listServer did not expect a [`world::client_validation`] at this time.
- 9:
character_not_foundThe provided [`world::character_login_request::char_id`] was not a valid character ID of this account.
- 10:
character_corruptionThe character seems to be corrupted in the database.
- 11:
kickYou were kicked from the server.
- 12:
save_failureError saving or loading progress.
- 13:
free_trial_expiredThe account’s time-limited free trial expired, unused.
- 14:
play_schedule_time_upThe parental controls for this account prevent it from further play.