DayZ 1.24
Loading...
Searching...
No Matches
ClientKickedModule.c
Go to the documentation of this file.
2{
3 UNKNOWN = -1, // -1 must always be UNKNOWN
4 OK = 0, // 0 must always be OK
5
6 SERVER_EXIT, // Server last ditch effort to try and disconnect players
7 KICK_ALL_ADMIN, // Admin kicked all (RCON)
8 KICK_ALL_SERVER, // Server kicked all
9
10 TIMEOUT, // Players network timed out
11 LOGOUT, // Player logged out (does not need a message as it is not an "error")
12 KICK, // Generic kick
13 BAN, // Player was banned
14 PING, // Player went over ping limit
15 MODIFIED_DATA, // Player has modified data or has a corrupted install
16 UNSTABLE_NETWORK, // Player internet is too unstable
17 SERVER_SHUTDOWN, // Server is shutting down and therefore kicks all players
18
19 NOT_WHITELISTED, // Player is not whitelisted
20 NO_IDENTITY, // No identity received while creating identity
21 INVALID_UID, // UID was incorrect while creating identity
22 BANK_COUNT, // Amount of banks was changed
23 ADMIN_KICK, // Kicked by admin
24 INVALID_ID, // Player has an invalid ID
25
26 INPUT_HACK, // Player is sending more Inputs than possible
27
28 QUIT, // Player closed the game
29 LEAVE, // Player pressed the Leave button
30
31 // LoginMachine kicks (0x0030)
32 LOGIN_MACHINE_ERROR = 48, // Generic LoginMachine error (fallback)
33 PLAYER_STATE_TIMEOUT, // Player spent too much time in one state of the LoginMachine
34 IDENTITY_NOT_CREATED, // Player was assigned but identity was not yet created
35 DUPLICATE_UID, // Player tried to log in while not being logged out yet
36 DB_PING_RESPONSE, // Unknown/unexpected database response
37 DB_IDENTITY, // Identity not found
38 DB_TIMEOUT, // Database connection timed out
39 DB_BAD_VERSION, // Unsupported version of character data
40 DB_ERROR, // Database error
41 DB_APP_ERROR, // Something went wrong on server
42 DB_APP_EXIT, // Application is exiting
43 DB_BAD_DATA, // Character data check failed
44 DB_GET_RESPONSE, // Unknown/unexpected database response
45 NO_PLAYER, // Player was not created on server
46 CREATE_NEW_CLIENT, // Creating of the client with a new character failed
47 CREATE_LOADED_CHAR, // Creating the existing character failed
48 LOAD_LOADED_CHAR, // Loading the existing character failed
49 NO_NETWORK_INFO, // Network info for player not found
50 CREATE_READY_CLIENT, // Creating of the client with loaded character failed
51 RECONNECT_INFO, // No info for reconnecting character
52 RECONNECT_IDENTITY, // No identity for reconnecting character
53 RECONNECT_CHAR, // No character for reconnecting character
54
55 // RespawnMachine Kicks (0x0050)
56 INIT_RESPAWN_IDENTITY = 80, // No identity when initializing respawn
57 RESPAWN_IDENTITY, // No identity when respawning
58 NEW_RESPAWN_NETWORK, // No network info when respawning
59 NEW_RESPAWN_IDENTITY, // No identity when respawning
60 NEW_RESPAWN_INFO, // No info when respawning
61 RESPAWN_NEW_CLIENT, // Creating of client with new respawned character failed
62
63 // PlayerVerification Kicks (0x0060)
64 PLAYER_VERIFICATION = 96, // Generic PlayerVerification error (fallback)
65 NO_INFO, // No player info
66 BROKEN_DATA, // Data could not be verified because it is corrupt
67
68 // VerificationError (0x0070)
69 VERIFICATION_ERROR = 112, // Generic Verification error (fallback)
70 VE_UNKNOWN, // Unknown/unexpected error
71 VE_DECOMPRESS, // Data received by Server is corrupted
72 VE_MISSING_MOD, // Client is missing a mod which is on Server
73 VE_EXTRA_MOD, // Client has a mod which is not on Server
74 VE_CLIENT_CORRUPT, // Client installation is corrupt
75 VE_SERVER_CORRUPT, // Server installation is corrupt
76 VE_UNEXPECTED_MOD_PBO, // Client has a PBO which is not part of Server
77 VE_UM_ROGUE_PBO, // Client has a PBO which is not part of Server
78 VE_UM_CLIENT_UPDATED, // Extra PBO most likely because Client has a newer version of mod
79 VE_UM_SERVER_UPDATED, // Extra PBO most likely because Server has a newer version of mod
80 VE_UNEXPECTED_SOURCE, // The source of the Extra PBO could not be determined
81 VE_PATCHED_PBO, // Client has a patched PBO
82 VE_INTEGRITY, // Client has a corrupted file
83 VE_MISSING_BISIGN, // Client has a PBO which is missing a .bisign
84 VE_MISSING_PBO, // Missing PBO
85 VE_M_ROGUE_PBO, // Missing PBO from unknown origins
86 VE_M_CLIENT_UPDATED, // Missing PBO most likely because Client has a newer version of mod
87 VE_M_SERVER_UPDATED, // Missing PBO most likely because Server has a newer version of mod
88 VE_M_SERVER_CORRUPT, // Server installation is corrupt
89 VE_M_CLIENT_CORRUPT, // Client installation is corrupt
90 VE_M_UNEXPECTED_SOURCE, // The source of the Missing PBO could not be determined
91 VE_GPROJ, // The Client and Server .gproj are not equal
92
93 // PBO Mismatch (0x0090)
94 PBO_MISMATCH = 144, // Server and Client are using different PBO
95 PBO_VERSION_MISMATCH, // Server and Client are using different PBO versions
96 PBO_CLIENT_UPDATED, // Client has a more recent version
97 PBO_SERVER_UPDATED, // Server has a more recent version
98
99 // AuthError Kicks (0x00A0)
100 AUTH_ERROR = 160, // Generic Auth error (fallback)
101 AUTH_NO_USER, // The user was not found
102
103 // Steam Validate (0x00B0)
104 AUTH_INVALID_STEAM_VALIDATE = 176, // Unknown error (API update needed?)
105 AUTH_NO_SERVER, // Server not initialized properly
106 AUTH_INVALID_TICKET, // Ticket is not valid.
107 AUTH_DUPLICATE_REQUEST, // A ticket has already been submitted for this steamID
108 AUTH_INVALID_VERSION, // Ticket is from an incompatible interface version
109 AUTH_GAME_MISMATCH, // Ticket is not for this game
110 AUTH_EXPIRED_TICKET, // Ticket has expired
111
112 // Steam OnValidate (0x00C0)
113 AUTH_INVALID_STEAM_ONVALIDATE = 192, // Unknown error (API update needed?)
114 AUTH_USER_NOT_CONNECTED, // The user in question is not connected to steam
115 AUTH_LICENCE, // The license has expired.
116 AUTH_SERVICE_BAN, // The user is VAC banned for this game.
117 AUTH_LOGGED_IN_ELSEWHERE, // The user account has logged in elsewhere.
118 AUTH_TIMEOUT, // VAC has been unable to perform anti-cheat checks on this user
119 AUTH_CANCELED, // The ticket has been canceled by the issuer
120 AUTH_ALREADY_USED, // This ticket has already been used, it is not valid.
121 AUTH_TICKET_INVALID, // This ticket is not from a user instance currently connected to steam.
122 AUTH_PUBLISHER_BAN, // The user is banned for this game.
123
124 // Bios Validate (0x00D0)
125 AUTH_INVALID_BIOS_VALIDATE = 208, // Unknown error (API update needed?)
126 AUTH_BIOS_REQUEST_CREATE, // Failed to create the request to identify user.
127 AUTH_BIOS_REQUEST_SEND, // Failed to send request
128 AUTH_BIOS_REQUEST_WAIT, // Failed to receive response
130
131 // Bios OnValidate (0x00E0)
132 AUTH_INVALID_BIOS_ONVALIDATE = 224, // Unknown error (API update needed?)
133 AUTH_BIOS_WRONG_RESPONSE, // Response has unexpected format
135
136 // BattlEye Kicks (0x00F0)
137 BATTLEYE = 240, // Kick administred by BattlEye (Can also be Admin Kick)
138
139 // Unauthorized Network Message (0x0100)
140 UNM1 = 256,
146};
147
148#ifdef PLATFORM_WINDOWS
149 const string AUTH_PREFIX = "#STR_MP_STEAM_AUTH_FAILED\n";
150#else
151 #ifdef PLATFORM_XBOX
152 const string AUTH_PREFIX = "#STR_xbox_authentification_fail\n";
153 #else
154 #ifdef PLATFORM_PS4
155 const string AUTH_PREFIX = "#STR_ps4_authentification_fail\n";
156 #else
157 const string AUTH_PREFIX = "#STR_authentification_fail\n";
158 #endif
159 #endif
160#endif
161
162const string LOGIN_PREFIX = "#STR_LOGIN_PREFIX" + "\n";
163const string RESPAWN_PREFIX = "#STR_RESPAWN_PREFIX" + "\n";
164const string VE_PREFIX = "#STR_VE_PREFIX" + "\n";
165
166const string VERIFY = "\n" + "#STR_VERIFY";
167const string MODS = "\n" + "#STR_MODS0" + "\n" + "#STR_MODS1" + "\n";
168
169const string SERVER_MUST_UPDATE = "\n" + "#STR_S_UPDATE";
170const string CLIENT_MUST_UPDATE = "\n" + "#STR_C_UPDATE" + VERIFY;
171
172const string UNM_MESSAGE = "#STR_UNM_MESSAGE";
173
174class ClientKickedModule : ErrorHandlerModuleScript
175{
177 {
178 SetCategory(ErrorCategory.ClientKicked);
179 }
180
181 override void InitOptionalVariables()
182 {
183 super.InitOptionalVariables();
184
185 m_Header = "#menu_warning";
186 m_Prefix = "#STR_MP_KICKED_CLIENT\n";
187 }
188
189 override void FillErrorDataMap()
190 {
191 super.FillErrorDataMap();
192
193 InsertDialogueErrorProperties(EClientKicked.SERVER_EXIT, "#STR_server_shutdown");
194 InsertDialogueErrorProperties(EClientKicked.KICK_ALL_ADMIN, "#STR_kickAll_admin");
195 InsertDialogueErrorProperties(EClientKicked.KICK_ALL_SERVER, "#STR_kickAll_server");
196
197 InsertDialogueErrorProperties(EClientKicked.TIMEOUT, "#STR_MP_TIMEOUT_CLIENT");
198 InsertErrorProperties(EClientKicked.LOGOUT); // No handling, just register it exists
200 InsertDialogueErrorProperties(EClientKicked.BAN, "#STR_MP_BANNED_CLIENT");
201 InsertDialogueErrorProperties(EClientKicked.PING, "#STR_MP_MAX_PING");
202 InsertSplitDialogueErrorProperties(EClientKicked.MODIFIED_DATA, "#STR_modified_data" + VERIFY, "#STR_modified_data");
203 InsertSplitDialogueErrorProperties(EClientKicked.UNSTABLE_NETWORK, "#STR_unstable_network_client", "#STR_unstable_network_server");
204 InsertDialogueErrorProperties(EClientKicked.SERVER_SHUTDOWN, "#STR_server_shutdown");
205
206 InsertDialogueErrorProperties(EClientKicked.NOT_WHITELISTED, "#multi_server_not_whitelisted_message");
207 InsertDialogueErrorProperties(EClientKicked.NO_IDENTITY, "#STR_no_identity");
208 InsertDialogueErrorProperties(EClientKicked.INVALID_UID, "#STR_invalid_UID");
209 InsertSplitDialogueErrorProperties(EClientKicked.BANK_COUNT, "#STR_bank_count" + VERIFY, "#STR_bank_count");
210 InsertDialogueErrorProperties(EClientKicked.ADMIN_KICK, "#STR_admin_kick");
211 InsertDialogueErrorProperties(EClientKicked.INVALID_ID, "#STR_invalid_ID");
212
213 InsertDialogueErrorProperties(EClientKicked.INPUT_HACK, "#STR_INPUT_HACK");
214
215 InsertErrorProperties(EClientKicked.QUIT); // No handling, just register it exists
216 InsertErrorProperties(EClientKicked.LEAVE); // No handling, just register it exists
217
218 // LoginMachine kicks
219 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.LOGIN_MACHINE_ERROR, "#server_browser_error_unknown", LOGIN_PREFIX);
220 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PLAYER_STATE_TIMEOUT, "#STR_player_state_timeout", LOGIN_PREFIX);
221 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.IDENTITY_NOT_CREATED, "#STR_identity_not_created", LOGIN_PREFIX);
222 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DUPLICATE_UID, "#STR_duplicate_UID", LOGIN_PREFIX);
223 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_PING_RESPONSE, "#STR_db_ping_response", LOGIN_PREFIX);
226 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_BAD_VERSION, "#STR_db_bad_version", LOGIN_PREFIX);
230 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_BAD_DATA, "#menu_character_check_fail", LOGIN_PREFIX);
231 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_GET_RESPONSE, "#STR_db_get_response", LOGIN_PREFIX);
233 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_NEW_CLIENT, "#STR_create_new_client", LOGIN_PREFIX);
234 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_LOADED_CHAR, "#STR_create_loaded_char", LOGIN_PREFIX);
235 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.LOAD_LOADED_CHAR, "#STR_load_loaded_char", LOGIN_PREFIX);
236 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NO_NETWORK_INFO, "#STR_no_network_info", LOGIN_PREFIX);
237 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_READY_CLIENT, "#STR_create_ready_client", LOGIN_PREFIX);
238 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_INFO, "#STR_reconnect_info", LOGIN_PREFIX);
239 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_IDENTITY, "#STR_reconnect_identity", LOGIN_PREFIX);
240 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_CHAR, "#STR_reconnect_char", LOGIN_PREFIX);
241
242 // RespawnMachine Kicks
243 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.INIT_RESPAWN_IDENTITY, "#STR_init_respawn_identity", RESPAWN_PREFIX);
244 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RESPAWN_IDENTITY, "#STR_respawn_identity", RESPAWN_PREFIX);
245 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_NETWORK, "#STR_new_respawn_network", RESPAWN_PREFIX);
246 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_IDENTITY, "#STR_new_respawn_identity", RESPAWN_PREFIX);
247 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_INFO, "#STR_new_respawn_info", RESPAWN_PREFIX);
248 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RESPAWN_NEW_CLIENT, "#STR_respawn_new_client", RESPAWN_PREFIX);
249
250 // PlayerVerification Kicks
251 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PLAYER_VERIFICATION, "#server_browser_error_unknown", VE_PREFIX);
254
255 // VerificationError
256 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VERIFICATION_ERROR, "#server_browser_error_unknown", VE_PREFIX);
257 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UNKNOWN, "#server_browser_error_unknown", VE_PREFIX);
258 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_DECOMPRESS, "#STR_ve_decompress", VE_PREFIX);
259 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_MISSING_MOD, "#STR_ve_missing_mod" + MODS, VE_PREFIX, "#STR_ve_missing_mod");
260 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_EXTRA_MOD, "#STR_ve_extra_mod" + MODS, VE_PREFIX, "#STR_ve_extra_mod");
261 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_CLIENT_CORRUPT, "#STR_ve_client_corrupt" + VERIFY, VE_PREFIX);
262 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_SERVER_CORRUPT, "#STR_ve_server_corrupt", VE_PREFIX);
263 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_UNEXPECTED_MOD_PBO, "#STR_ve_unexpected_mod_pbo0" + "\n" + "#STR_ve_unexpected_mod_pbo1" + "\n" + "#STR_ve_unexpected_mod_pbo2" + "\n" + "#STR_ve_unexpected_mod_pbo3" + "\n", VE_PREFIX, "#STR_ve_unexpected_mod_pbo0");
264 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_UM_ROGUE_PBO, "#STR_ve_unexpected_mod_pbo0" + "\n" + "#STR_ve_unexpected_mod_pbo1" + "\n" + "#STR_ve_unexpected_mod_pbo2" + "\n" + "#STR_ve_unexpected_mod_pbo3" + "\n", VE_PREFIX, "#STR_ve_unexpected_mod_pbo0");
265 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UM_CLIENT_UPDATED, "#STR_ve_um_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
266 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UM_SERVER_UPDATED, "#STR_ve_um_server_updated" + CLIENT_MUST_UPDATE, VE_PREFIX);
267 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UNEXPECTED_SOURCE, "#STR_ve_unexpected_source", VE_PREFIX);
268 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_PATCHED_PBO, "#STR_ve_patched_pbo" + VERIFY, VE_PREFIX);
270 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_MISSING_BISIGN, "#STR_ve_missing_bising" + VERIFY, VE_PREFIX, "#STR_ve_missing_bising");
271 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_MISSING_PBO, "#STR_ve_missing_pbo", VE_PREFIX);
272 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_ROGUE_PBO, "#STR_ve_m_rogue_pbo0" + "\n" + "#STR_ve_m_rogue_pbo1", VE_PREFIX);
273 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_CLIENT_UPDATED, "#STR_ve_m_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
274 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_SERVER_UPDATED, "#STR_ve_m_server_updated0" + "\n" + "#STR_ve_m_server_updated1" + CLIENT_MUST_UPDATE, VE_PREFIX);
275 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_SERVER_CORRUPT, "#STR_ve_m_server_corrupt0" + "\n" + "#STR_ve_m_server_corrupt1" + "\n", VE_PREFIX);
276 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_CLIENT_CORRUPT, "#STR_ve_m_client_corrupt0" + "\n" + "#STR_ve_m_client_corrupt1" + VERIFY, VE_PREFIX);
277 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_UNEXPECTED_SOURCE, "#STR_ve_m_unexpected_source", VE_PREFIX);
279
280 // PBO Mismatch
281 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.PBO_MISMATCH, "#STR_pbo_mismatch" + VERIFY, VE_PREFIX, "#STR_pbo_mismatch");
282 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_VERSION_MISMATCH, "#STR_pbo_version_mismatch", VE_PREFIX);
283 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_CLIENT_UPDATED, "#STR_pbo_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
284 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_SERVER_UPDATED, "#STR_pbo_server_updated" + CLIENT_MUST_UPDATE, VE_PREFIX);
285
286 // AuthError Kicks
287 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_ERROR, "#server_browser_error_unknown", AUTH_PREFIX);
288 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_NO_USER, "#STR_auth_no_user", AUTH_PREFIX);
289
290 // Steam Validate
291 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_STEAM_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
292 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_NO_SERVER, "#STR_auth_no_server", AUTH_PREFIX);
293 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_TICKET, "#STR_auth_invalid_ticket", AUTH_PREFIX);
294 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_DUPLICATE_REQUEST, "#STR_auth_duplicate_request", AUTH_PREFIX);
295 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_VERSION, "#STR_auth_invalid_version", AUTH_PREFIX);
296 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_GAME_MISMATCH, "#STR_auth_game_mismatch", AUTH_PREFIX);
297 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_EXPIRED_TICKET, "#STR_auth_expired_ticket", AUTH_PREFIX);
298
299 // Steam OnValidate
300 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_STEAM_ONVALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
301 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_USER_NOT_CONNECTED, "#STR_auth_user_not_connected", AUTH_PREFIX);
302 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_LICENCE, "#STR_auth_licence", AUTH_PREFIX);
303 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_SERVICE_BAN, "#STR_auth_service_ban", AUTH_PREFIX);
304 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_LOGGED_IN_ELSEWHERE, "#STR_auth_logged_in_elsewhere", AUTH_PREFIX);
305 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_TIMEOUT, "#STR_auth_timeout", AUTH_PREFIX);
306 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_CANCELED, "#STR_auth_cancelled", AUTH_PREFIX);
307 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_ALREADY_USED, "#STR_auth_already_used", AUTH_PREFIX);
308 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_TICKET_INVALID, "#STR_auth_ticket_invalid", AUTH_PREFIX);
309 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_PUBLISHER_BAN, "#STR_auth_publisher_ban", AUTH_PREFIX);
310
311 // Bios Validate
312 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_BIOS_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
313 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_CREATE, "#STR_auth_bios_request_create", AUTH_PREFIX);
314 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_SEND, "#STR_auth_bios_request_send", AUTH_PREFIX);
315 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_WAIT, "#STR_auth_bios_request_wait", AUTH_PREFIX);
316 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_UNKNOWN_BIOS_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
317
318 // Bios OnValidate
319 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_BIOS_ONVALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
320 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_WRONG_RESPONSE, "#STR_auth_bios_wrong_response", AUTH_PREFIX);
321 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_UNKNOWN_BIOS_ONVALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
322
323 // BattlEye Kicks
325
326 // Unauthorized Network Message
333 }
334}
335
336/*class ClientKickedModuleUI : UIScriptedMenu
337 {
338 override bool OnModalResult(Widget w, int x, int y, int code, int result)
339 {
340 super.OnModalResult(w, x, y, code, result);
341
342 int error = ErrorModuleHandler.GetCodeFromError(code);
343 switch ( error )
344 {
345 default:
346 break;
347 }
348
349 return true;
350 }
351 }*/
const string VE_PREFIX
const string LOGIN_PREFIX
const string MODS
const string UNM_MESSAGE
const string CLIENT_MUST_UPDATE
const string VERIFY
const string SERVER_MUST_UPDATE
const string RESPAWN_PREFIX
EClientKicked
@ VE_INTEGRITY
@ PBO_SERVER_UPDATED
@ AUTH_INVALID_STEAM_ONVALIDATE
@ VE_GPROJ
@ IDENTITY_NOT_CREATED
@ VE_UNEXPECTED_SOURCE
@ AUTH_ALREADY_USED
@ AUTH_NO_USER
@ AUTH_CANCELED
@ AUTH_UNKNOWN_BIOS_VALIDATE
@ PLAYER_STATE_TIMEOUT
@ PLAYER_VERIFICATION
@ VE_CLIENT_CORRUPT
@ AUTH_NO_SERVER
@ VE_MISSING_BISIGN
@ AUTH_UNKNOWN_BIOS_ONVALIDATE
@ AUTH_PUBLISHER_BAN
@ NOT_WHITELISTED
@ NO_PLAYER
@ AUTH_BIOS_REQUEST_SEND
@ VE_UM_CLIENT_UPDATED
@ RECONNECT_IDENTITY
@ AUTH_EXPIRED_TICKET
@ LOAD_LOADED_CHAR
@ BROKEN_DATA
@ AUTH_INVALID_VERSION
@ INIT_RESPAWN_IDENTITY
@ AUTH_INVALID_STEAM_VALIDATE
@ BANK_COUNT
@ KICK_ALL_SERVER
@ PBO_MISMATCH
@ VE_UM_ROGUE_PBO
@ RECONNECT_CHAR
@ AUTH_USER_NOT_CONNECTED
@ VE_M_ROGUE_PBO
@ NO_INFO
@ VE_UNKNOWN
@ VE_M_SERVER_UPDATED
@ SERVER_SHUTDOWN
@ UNKNOWN
@ DB_GET_RESPONSE
@ MODIFIED_DATA
@ AUTH_INVALID_BIOS_VALIDATE
@ AUTH_DUPLICATE_REQUEST
@ INVALID_ID
@ VE_PATCHED_PBO
@ INPUT_HACK
@ AUTH_SERVICE_BAN
@ RESPAWN_NEW_CLIENT
@ VE_M_SERVER_CORRUPT
@ VE_M_CLIENT_CORRUPT
@ NO_IDENTITY
@ ADMIN_KICK
@ AUTH_GAME_MISMATCH
@ VE_M_CLIENT_UPDATED
@ DB_BAD_DATA
@ RECONNECT_INFO
@ AUTH_TIMEOUT
@ SERVER_EXIT
@ DB_BAD_VERSION
@ AUTH_BIOS_REQUEST_CREATE
@ CREATE_READY_CLIENT
@ VE_DECOMPRESS
@ DUPLICATE_UID
@ AUTH_LOGGED_IN_ELSEWHERE
@ TIMEOUT
@ RESPAWN_IDENTITY
@ AUTH_INVALID_BIOS_ONVALIDATE
@ VE_M_UNEXPECTED_SOURCE
@ AUTH_BIOS_WRONG_RESPONSE
@ INVALID_UID
@ PBO_CLIENT_UPDATED
@ AUTH_LICENCE
@ AUTH_BIOS_REQUEST_WAIT
@ DB_IDENTITY
@ AUTH_ERROR
@ AUTH_INVALID_TICKET
@ PBO_VERSION_MISMATCH
@ AUTH_TICKET_INVALID
@ VE_UNEXPECTED_MOD_PBO
@ VE_EXTRA_MOD
@ UNSTABLE_NETWORK
@ CREATE_LOADED_CHAR
@ VE_MISSING_PBO
@ DB_APP_EXIT
@ NEW_RESPAWN_NETWORK
@ NEW_RESPAWN_IDENTITY
@ DB_TIMEOUT
@ DB_APP_ERROR
@ VE_SERVER_CORRUPT
@ VERIFICATION_ERROR
@ DB_PING_RESPONSE
@ VE_UM_SERVER_UPDATED
@ VE_MISSING_MOD
@ KICK_ALL_ADMIN
@ NO_NETWORK_INFO
@ LOGIN_MACHINE_ERROR
@ CREATE_NEW_CLIENT
@ NEW_RESPAWN_INFO
@ DB_ERROR
const string AUTH_PREFIX
void InsertExtendedPrefixDialogueErrorProperties(int code, string message, string prefix, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling with extended prefix.
void InsertSplitDialogueErrorProperties(int code, string message, string serverMessage, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling with separate server message.
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
void InsertExtendedPrefixSplitDialogueErrorProperties(int code, string message, string prefix, string serverMessage, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling with extended prefix and separate server message.
void InsertDialogueErrorProperties(int code, string message, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling, using the Optional Variables.
void InsertPrefixDialogueErrorProperties(int code, string message, string prefix, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)
Insert an error with Dialogue as handling with custom prefix.
string m_Prefix
Optional: Prefix (e.g. Fixed text at the start of the messages in the module)
void InsertErrorProperties(int code, string message="")
Insert an error with no handling.
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
override void InitOptionalVariables()
override void FillErrorDataMap()