Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
129  AUTH_UNKNOWN_BIOS_VALIDATE, // Unknown error
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 
162 const string LOGIN_PREFIX = "#STR_LOGIN_PREFIX"+"\n";
163 const string RESPAWN_PREFIX = "#STR_RESPAWN_PREFIX"+"\n";
164 const string VE_PREFIX = "#STR_VE_PREFIX"+"\n";
165 
166 const string VERIFY = "\n"+"#STR_VERIFY";
167 const string MODS = "\n"+"#STR_MODS0"+"\n"+"#STR_MODS1"+"\n";
168 
169 const string SERVER_MUST_UPDATE = "\n"+"#STR_S_UPDATE";
170 const string CLIENT_MUST_UPDATE = "\n"+"#STR_C_UPDATE" + VERIFY;
171 
172 const string UNM_MESSAGE = "#STR_UNM_MESSAGE";
173 
175 {
176  void ClientKickedModule()
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);
253  InsertExtendedPrefixDialogueErrorProperties(EClientKicked.BROKEN_DATA, "#STR_broken_data", 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);
269  InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_INTEGRITY, "#STR_ve_integrity" + 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 }*/
INPUT_HACK
@ INPUT_HACK
Definition: clientkickedmodule.c:26
VE_M_CLIENT_CORRUPT
@ VE_M_CLIENT_CORRUPT
Definition: clientkickedmodule.c:89
IDENTITY_NOT_CREATED
@ IDENTITY_NOT_CREATED
Definition: clientkickedmodule.c:34
EClientKicked
EClientKicked
Definition: clientkickedmodule.c:1
SERVER_SHUTDOWN
@ SERVER_SHUTDOWN
Definition: clientkickedmodule.c:17
LOGIN_MACHINE_ERROR
@ LOGIN_MACHINE_ERROR
Definition: clientkickedmodule.c:32
RECONNECT_CHAR
@ RECONNECT_CHAR
Definition: clientkickedmodule.c:53
INVALID_UID
@ INVALID_UID
Definition: clientkickedmodule.c:21
NEW_RESPAWN_IDENTITY
@ NEW_RESPAWN_IDENTITY
Definition: clientkickedmodule.c:59
KICK_ALL_SERVER
@ KICK_ALL_SERVER
Definition: clientkickedmodule.c:8
AUTH_LOGGED_IN_ELSEWHERE
@ AUTH_LOGGED_IN_ELSEWHERE
Definition: clientkickedmodule.c:117
RESPAWN_IDENTITY
@ RESPAWN_IDENTITY
Definition: clientkickedmodule.c:57
AUTH_ERROR
@ AUTH_ERROR
Definition: clientkickedmodule.c:100
AUTH_USER_NOT_CONNECTED
@ AUTH_USER_NOT_CONNECTED
Definition: clientkickedmodule.c:114
VE_MISSING_BISIGN
@ VE_MISSING_BISIGN
Definition: clientkickedmodule.c:83
DB_ERROR
@ DB_ERROR
Definition: clientkickedmodule.c:40
AUTH_TIMEOUT
@ AUTH_TIMEOUT
Definition: clientkickedmodule.c:118
ADMIN_KICK
@ ADMIN_KICK
Definition: clientkickedmodule.c:23
VE_PREFIX
const string VE_PREFIX
Definition: clientkickedmodule.c:164
CLIENT_MUST_UPDATE
const string CLIENT_MUST_UPDATE
Definition: clientkickedmodule.c:170
PBO_MISMATCH
@ PBO_MISMATCH
Definition: clientkickedmodule.c:94
TIMEOUT
@ TIMEOUT
Definition: clientkickedmodule.c:10
DB_GET_RESPONSE
@ DB_GET_RESPONSE
Definition: clientkickedmodule.c:44
VE_UM_CLIENT_UPDATED
@ VE_UM_CLIENT_UPDATED
Definition: clientkickedmodule.c:78
PBO_VERSION_MISMATCH
@ PBO_VERSION_MISMATCH
Definition: clientkickedmodule.c:95
VERIFICATION_ERROR
@ VERIFICATION_ERROR
Definition: clientkickedmodule.c:69
AUTH_BIOS_REQUEST_WAIT
@ AUTH_BIOS_REQUEST_WAIT
Definition: clientkickedmodule.c:128
PING
@ PING
Definition: clientkickedmodule.c:14
NEW_RESPAWN_INFO
@ NEW_RESPAWN_INFO
Definition: clientkickedmodule.c:60
DB_BAD_VERSION
@ DB_BAD_VERSION
Definition: clientkickedmodule.c:39
CREATE_LOADED_CHAR
@ CREATE_LOADED_CHAR
Definition: clientkickedmodule.c:47
UNM1
@ UNM1
Definition: clientkickedmodule.c:140
VE_SERVER_CORRUPT
@ VE_SERVER_CORRUPT
Definition: clientkickedmodule.c:75
PLAYER_VERIFICATION
@ PLAYER_VERIFICATION
Definition: clientkickedmodule.c:64
VE_CLIENT_CORRUPT
@ VE_CLIENT_CORRUPT
Definition: clientkickedmodule.c:74
InsertPrefixDialogueErrorProperties
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.
Definition: errorhandlermodule.c:245
BROKEN_DATA
@ BROKEN_DATA
Definition: clientkickedmodule.c:66
PBO_CLIENT_UPDATED
@ PBO_CLIENT_UPDATED
Definition: clientkickedmodule.c:96
InsertErrorProperties
void InsertErrorProperties(int code, string message="")
Insert an error with no handling.
Definition: errorhandlermodule.c:269
DB_APP_EXIT
@ DB_APP_EXIT
Definition: clientkickedmodule.c:42
AUTH_PREFIX
const string AUTH_PREFIX
Definition: clientkickedmodule.c:157
VE_DECOMPRESS
@ VE_DECOMPRESS
Definition: clientkickedmodule.c:71
VE_M_SERVER_CORRUPT
@ VE_M_SERVER_CORRUPT
Definition: clientkickedmodule.c:88
LOGOUT
@ LOGOUT
Definition: clientkickedmodule.c:11
DB_PING_RESPONSE
@ DB_PING_RESPONSE
Definition: clientkickedmodule.c:36
UNM_MESSAGE
const string UNM_MESSAGE
Definition: clientkickedmodule.c:172
BANK_COUNT
@ BANK_COUNT
Definition: clientkickedmodule.c:22
VE_UNEXPECTED_SOURCE
@ VE_UNEXPECTED_SOURCE
Definition: clientkickedmodule.c:80
INIT_RESPAWN_IDENTITY
@ INIT_RESPAWN_IDENTITY
Definition: clientkickedmodule.c:56
UNM3
@ UNM3
Definition: clientkickedmodule.c:142
AUTH_DUPLICATE_REQUEST
@ AUTH_DUPLICATE_REQUEST
Definition: clientkickedmodule.c:107
NOT_WHITELISTED
@ NOT_WHITELISTED
Definition: clientkickedmodule.c:19
VE_INTEGRITY
@ VE_INTEGRITY
Definition: clientkickedmodule.c:82
DB_TIMEOUT
@ DB_TIMEOUT
Definition: clientkickedmodule.c:38
CREATE_NEW_CLIENT
@ CREATE_NEW_CLIENT
Definition: clientkickedmodule.c:46
VE_M_CLIENT_UPDATED
@ VE_M_CLIENT_UPDATED
Definition: clientkickedmodule.c:86
ErrorCategory
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
Definition: errormodulehandler.c:4
VE_UM_ROGUE_PBO
@ VE_UM_ROGUE_PBO
Definition: clientkickedmodule.c:77
VE_UM_SERVER_UPDATED
@ VE_UM_SERVER_UPDATED
Definition: clientkickedmodule.c:79
DB_APP_ERROR
@ DB_APP_ERROR
Definition: clientkickedmodule.c:41
DB_BAD_DATA
@ DB_BAD_DATA
Definition: clientkickedmodule.c:43
InsertDialogueErrorProperties
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.
Definition: errorhandlermodule.c:233
MODS
const string MODS
Definition: clientkickedmodule.c:167
InsertExtendedPrefixSplitDialogueErrorProperties
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.
Definition: errorhandlermodule.c:257
VE_M_UNEXPECTED_SOURCE
@ VE_M_UNEXPECTED_SOURCE
Definition: clientkickedmodule.c:90
VE_PATCHED_PBO
@ VE_PATCHED_PBO
Definition: clientkickedmodule.c:81
UNM6
@ UNM6
Definition: clientkickedmodule.c:145
AUTH_INVALID_TICKET
@ AUTH_INVALID_TICKET
Definition: clientkickedmodule.c:106
AUTH_UNKNOWN_BIOS_ONVALIDATE
@ AUTH_UNKNOWN_BIOS_ONVALIDATE
Definition: clientkickedmodule.c:134
VE_MISSING_PBO
@ VE_MISSING_PBO
Definition: clientkickedmodule.c:84
RECONNECT_IDENTITY
@ RECONNECT_IDENTITY
Definition: clientkickedmodule.c:52
AUTH_INVALID_STEAM_ONVALIDATE
@ AUTH_INVALID_STEAM_ONVALIDATE
Definition: clientkickedmodule.c:113
AUTH_PUBLISHER_BAN
@ AUTH_PUBLISHER_BAN
Definition: clientkickedmodule.c:122
SERVER_MUST_UPDATE
const string SERVER_MUST_UPDATE
Definition: clientkickedmodule.c:169
NO_NETWORK_INFO
@ NO_NETWORK_INFO
Definition: clientkickedmodule.c:49
BAN
@ BAN
Definition: clientkickedmodule.c:13
KICK
@ KICK
Definition: clientkickedmodule.c:12
UNM4
@ UNM4
Definition: clientkickedmodule.c:143
AUTH_TICKET_INVALID
@ AUTH_TICKET_INVALID
Definition: clientkickedmodule.c:121
InsertSplitDialogueErrorProperties
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.
Definition: errorhandlermodule.c:263
VE_EXTRA_MOD
@ VE_EXTRA_MOD
Definition: clientkickedmodule.c:73
LOAD_LOADED_CHAR
@ LOAD_LOADED_CHAR
Definition: clientkickedmodule.c:48
OK
@ OK
Definition: clientkickedmodule.c:4
AUTH_SERVICE_BAN
@ AUTH_SERVICE_BAN
Definition: clientkickedmodule.c:116
DB_IDENTITY
@ DB_IDENTITY
Definition: clientkickedmodule.c:37
m_Header
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
CREATE_READY_CLIENT
@ CREATE_READY_CLIENT
Definition: clientkickedmodule.c:50
RESPAWN_PREFIX
const string RESPAWN_PREFIX
Definition: clientkickedmodule.c:163
KICK_ALL_ADMIN
@ KICK_ALL_ADMIN
Definition: clientkickedmodule.c:7
SERVER_EXIT
@ SERVER_EXIT
Definition: clientkickedmodule.c:6
QUIT
@ QUIT
Definition: clientkickedmodule.c:28
AUTH_BIOS_REQUEST_SEND
@ AUTH_BIOS_REQUEST_SEND
Definition: clientkickedmodule.c:127
UNSTABLE_NETWORK
@ UNSTABLE_NETWORK
Definition: clientkickedmodule.c:16
VE_M_ROGUE_PBO
@ VE_M_ROGUE_PBO
Definition: clientkickedmodule.c:85
NEW_RESPAWN_NETWORK
@ NEW_RESPAWN_NETWORK
Definition: clientkickedmodule.c:58
AUTH_CANCELED
@ AUTH_CANCELED
Definition: clientkickedmodule.c:119
AUTH_NO_USER
@ AUTH_NO_USER
Definition: clientkickedmodule.c:101
VE_UNKNOWN
@ VE_UNKNOWN
Definition: clientkickedmodule.c:70
AUTH_EXPIRED_TICKET
@ AUTH_EXPIRED_TICKET
Definition: clientkickedmodule.c:110
AUTH_LICENCE
@ AUTH_LICENCE
Definition: clientkickedmodule.c:115
RESPAWN_NEW_CLIENT
@ RESPAWN_NEW_CLIENT
Definition: clientkickedmodule.c:61
AUTH_INVALID_BIOS_ONVALIDATE
@ AUTH_INVALID_BIOS_ONVALIDATE
Definition: clientkickedmodule.c:132
m_Prefix
protected string m_Prefix
Optional: Prefix (e.g. Fixed text at the start of the messages in the module)
Definition: errorhandlermodule.c:66
VERIFY
const string VERIFY
Definition: clientkickedmodule.c:166
NO_INFO
@ NO_INFO
Definition: clientkickedmodule.c:65
DUPLICATE_UID
@ DUPLICATE_UID
Definition: clientkickedmodule.c:35
VE_M_SERVER_UPDATED
@ VE_M_SERVER_UPDATED
Definition: clientkickedmodule.c:87
LEAVE
@ LEAVE
Definition: clientkickedmodule.c:29
INVALID_ID
@ INVALID_ID
Definition: clientkickedmodule.c:24
AUTH_NO_SERVER
@ AUTH_NO_SERVER
Definition: clientkickedmodule.c:105
InsertExtendedPrefixDialogueErrorProperties
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.
Definition: errorhandlermodule.c:251
AUTH_ALREADY_USED
@ AUTH_ALREADY_USED
Definition: clientkickedmodule.c:120
VE_UNEXPECTED_MOD_PBO
@ VE_UNEXPECTED_MOD_PBO
Definition: clientkickedmodule.c:76
LOGIN_PREFIX
const string LOGIN_PREFIX
Definition: clientkickedmodule.c:162
AUTH_BIOS_REQUEST_CREATE
@ AUTH_BIOS_REQUEST_CREATE
Definition: clientkickedmodule.c:126
AUTH_UNKNOWN_BIOS_VALIDATE
@ AUTH_UNKNOWN_BIOS_VALIDATE
Definition: clientkickedmodule.c:129
VE_MISSING_MOD
@ VE_MISSING_MOD
Definition: clientkickedmodule.c:72
PBO_SERVER_UPDATED
@ PBO_SERVER_UPDATED
Definition: clientkickedmodule.c:97
PLAYER_STATE_TIMEOUT
@ PLAYER_STATE_TIMEOUT
Definition: clientkickedmodule.c:33
UNKNOWN
@ UNKNOWN
Definition: clientkickedmodule.c:3
UNM2
@ UNM2
Definition: clientkickedmodule.c:141
AUTH_BIOS_WRONG_RESPONSE
@ AUTH_BIOS_WRONG_RESPONSE
Definition: clientkickedmodule.c:133
ClientKickedModule
Definition: clientkickedmodule.c:174
UNM5
@ UNM5
Definition: clientkickedmodule.c:144
AUTH_GAME_MISMATCH
@ AUTH_GAME_MISMATCH
Definition: clientkickedmodule.c:109
AUTH_INVALID_BIOS_VALIDATE
@ AUTH_INVALID_BIOS_VALIDATE
Definition: clientkickedmodule.c:125
AUTH_INVALID_STEAM_VALIDATE
@ AUTH_INVALID_STEAM_VALIDATE
Definition: clientkickedmodule.c:104
ErrorHandlerModuleScript
void ErrorHandlerModuleScript()
Constructor, by default calls the function that will fill the ErrorDataMap.
Definition: errorhandlermodule.c:81
AUTH_INVALID_VERSION
@ AUTH_INVALID_VERSION
Definition: clientkickedmodule.c:108
NO_PLAYER
@ NO_PLAYER
Definition: clientkickedmodule.c:45
VE_GPROJ
@ VE_GPROJ
Definition: clientkickedmodule.c:91
NO_IDENTITY
@ NO_IDENTITY
Definition: clientkickedmodule.c:20
BATTLEYE
@ BATTLEYE
Definition: clientkickedmodule.c:137
RECONNECT_INFO
@ RECONNECT_INFO
Definition: clientkickedmodule.c:51
MODIFIED_DATA
@ MODIFIED_DATA
Definition: clientkickedmodule.c:15