General
Note
- id:
general
- endian:
le
- imports:
net
Type packet
params
- id:
id
- type:
u4
Sequence
[switch-on:id]
0 handshake
1 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_error
Unspecified disconnect reason.
- 1:
wrong_game_version
The 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_version
Unused for client-server.
- 3:
connection_on_invalid_port
Connection 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_login
There was another login with your account and your session has been closed in favor of the new login.
- 5:
server_shutdown
The server is shutting down.
- 6:
unable_to_load_map
No server hosting this map is available.
- 7:
invalid_session_key
The provided [`world::client_validation::session_key`] is incorrect.
- 8:
account_not_in_pending_list
Server did not expect a [`world::client_validation`] at this time.
- 9:
character_not_found
The provided [`world::character_login_request::char_id`] was not a valid character ID of this account.
- 10:
character_corruption
The character seems to be corrupted in the database.
- 11:
kick
You were kicked from the server.
- 12:
save_failure
Error saving or loading progress.
- 13:
free_trial_expired
The account’s time-limited free trial expired, unused.
- 14:
play_schedule_time_up
The parental controls for this account prevent it from further play.