DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ClientKickedModule
+ Граф наследования:ClientKickedModule:

Закрытые члены

void ClientKickedModule ()
 
override void InitOptionalVariables ()
 
override void FillErrorDataMap ()
 

Подробное описание

Конструктор(ы)

◆ ClientKickedModule()

void ClientKickedModule ( )
inlineprivate
180 {
181 SetCategory(ErrorCategory.ClientKicked);
182 }
void SetCategory(EDynamicMusicPlayerCategory category, bool forced)
Definition DynamicMusicPlayer.c:241
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
Definition ErrorModuleHandler.c:5

Перекрестные ссылки SetCategory().

Методы

◆ FillErrorDataMap()

override void FillErrorDataMap ( )
inlineprivate
193 {
194 super.FillErrorDataMap();
195
196 InsertDialogueErrorProperties(EClientKicked.SERVER_EXIT, "#STR_server_shutdown");
197 InsertDialogueErrorProperties(EClientKicked.KICK_ALL_ADMIN, "#STR_kickAll_admin");
198 InsertDialogueErrorProperties(EClientKicked.KICK_ALL_SERVER, "#STR_kickAll_server");
199
200 InsertDialogueErrorProperties(EClientKicked.TIMEOUT, "#STR_MP_TIMEOUT_CLIENT");
201 InsertErrorProperties(EClientKicked.LOGOUT); // No handling, just register it exists
203 InsertDialogueErrorProperties(EClientKicked.BAN, "#STR_MP_BANNED_CLIENT");
204 InsertDialogueErrorProperties(EClientKicked.PING, "#STR_MP_MAX_PING");
205 InsertSplitDialogueErrorProperties(EClientKicked.MODIFIED_DATA, "#STR_modified_data" + VERIFY, "#STR_modified_data");
206 InsertSplitDialogueErrorProperties(EClientKicked.UNSTABLE_NETWORK, "#STR_unstable_network_client", "#STR_unstable_network_server");
207 InsertDialogueErrorProperties(EClientKicked.SERVER_SHUTDOWN, "#STR_server_shutdown");
208
209 InsertDialogueErrorProperties(EClientKicked.NOT_WHITELISTED, "#multi_server_not_whitelisted_message");
210 InsertDialogueErrorProperties(EClientKicked.NO_IDENTITY, "#STR_no_identity");
211 InsertDialogueErrorProperties(EClientKicked.NO_INPUT_INTERFACE, "#STR_no_input_interface");
212 InsertDialogueErrorProperties(EClientKicked.INVALID_UID, "#STR_invalid_UID");
213 InsertSplitDialogueErrorProperties(EClientKicked.BANK_COUNT, "#STR_bank_count" + VERIFY, "#STR_bank_count");
214 InsertDialogueErrorProperties(EClientKicked.ADMIN_KICK, "#STR_admin_kick");
215 InsertDialogueErrorProperties(EClientKicked.INVALID_ID, "#STR_invalid_ID");
216
217 InsertDialogueErrorProperties(EClientKicked.INPUT_HACK, "#STR_INPUT_HACK");
218
219 InsertErrorProperties(EClientKicked.QUIT); // No handling, just register it exists
220 InsertErrorProperties(EClientKicked.LEAVE); // No handling, just register it exists
221
222 // LoginMachine kicks
223 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.LOGIN_MACHINE_ERROR, "#server_browser_error_unknown", LOGIN_PREFIX);
224 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PLAYER_STATE_TIMEOUT, "#STR_player_state_timeout", LOGIN_PREFIX);
225 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.IDENTITY_NOT_CREATED, "#STR_identity_not_created", LOGIN_PREFIX);
226 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DUPLICATE_UID, "#STR_duplicate_UID", LOGIN_PREFIX);
227 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_PING_RESPONSE, "#STR_db_ping_response", LOGIN_PREFIX);
230 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_BAD_VERSION, "#STR_db_bad_version", LOGIN_PREFIX);
234 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_BAD_DATA, "#menu_character_check_fail", LOGIN_PREFIX);
235 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.DB_GET_RESPONSE, "#STR_db_get_response", LOGIN_PREFIX);
237 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_NEW_CLIENT, "#STR_create_new_client", LOGIN_PREFIX);
238 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_LOADED_CHAR, "#STR_create_loaded_char", LOGIN_PREFIX);
239 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.LOAD_LOADED_CHAR, "#STR_load_loaded_char", LOGIN_PREFIX);
240 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NO_NETWORK_INFO, "#STR_no_network_info", LOGIN_PREFIX);
241 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.CREATE_READY_CLIENT, "#STR_create_ready_client", LOGIN_PREFIX);
242 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_INFO, "#STR_reconnect_info", LOGIN_PREFIX);
243 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_IDENTITY, "#STR_reconnect_identity", LOGIN_PREFIX);
244 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RECONNECT_CHAR, "#STR_reconnect_char", LOGIN_PREFIX);
245 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.ALREADY_ON_ANOTHER_SERVER, "#STR_already_on_another_server", LOGIN_PREFIX);
247
248 // RespawnMachine Kicks
249 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.INIT_RESPAWN_IDENTITY, "#STR_init_respawn_identity", RESPAWN_PREFIX);
250 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RESPAWN_IDENTITY, "#STR_respawn_identity", RESPAWN_PREFIX);
251 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_NETWORK, "#STR_new_respawn_network", RESPAWN_PREFIX);
252 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_IDENTITY, "#STR_new_respawn_identity", RESPAWN_PREFIX);
253 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.NEW_RESPAWN_INFO, "#STR_new_respawn_info", RESPAWN_PREFIX);
254 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.RESPAWN_NEW_CLIENT, "#STR_respawn_new_client", RESPAWN_PREFIX);
255
256 // PlayerVerification Kicks
257 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PLAYER_VERIFICATION, "#server_browser_error_unknown", VE_PREFIX);
260
261 // VerificationError
262 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VERIFICATION_ERROR, "#server_browser_error_unknown", VE_PREFIX);
263 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UNKNOWN, "#server_browser_error_unknown", VE_PREFIX);
264 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_DECOMPRESS, "#STR_ve_decompress", VE_PREFIX);
265 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_MISSING_MOD, "#STR_ve_missing_mod" + MODS, VE_PREFIX, "#STR_ve_missing_mod");
266 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_EXTRA_MOD, "#STR_ve_extra_mod" + MODS, VE_PREFIX, "#STR_ve_extra_mod");
267 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_CLIENT_CORRUPT, "#STR_ve_client_corrupt" + VERIFY, VE_PREFIX);
268 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_SERVER_CORRUPT, "#STR_ve_server_corrupt", VE_PREFIX);
269 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");
270 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");
271 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UM_CLIENT_UPDATED, "#STR_ve_um_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
272 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UM_SERVER_UPDATED, "#STR_ve_um_server_updated" + CLIENT_MUST_UPDATE, VE_PREFIX);
273 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_UNEXPECTED_SOURCE, "#STR_ve_unexpected_source", VE_PREFIX);
274 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_PATCHED_PBO, "#STR_ve_patched_pbo" + VERIFY, VE_PREFIX);
276 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.VE_MISSING_BISIGN, "#STR_ve_missing_bising" + VERIFY, VE_PREFIX, "#STR_ve_missing_bising");
277 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_MISSING_PBO, "#STR_ve_missing_pbo", VE_PREFIX);
278 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_ROGUE_PBO, "#STR_ve_m_rogue_pbo0"+"\n"+"#STR_ve_m_rogue_pbo1", VE_PREFIX);
279 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_CLIENT_UPDATED, "#STR_ve_m_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
280 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_SERVER_UPDATED, "#STR_ve_m_server_updated0"+"\n"+"#STR_ve_m_server_updated1" + CLIENT_MUST_UPDATE, VE_PREFIX);
281 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_SERVER_CORRUPT, "#STR_ve_m_server_corrupt0"+"\n"+"#STR_ve_m_server_corrupt1"+"\n", VE_PREFIX);
282 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_CLIENT_CORRUPT, "#STR_ve_m_client_corrupt0"+"\n"+"#STR_ve_m_client_corrupt1" + VERIFY, VE_PREFIX);
283 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.VE_M_UNEXPECTED_SOURCE, "#STR_ve_m_unexpected_source", VE_PREFIX);
285
286 // PBO Mismatch
287 InsertExtendedPrefixSplitDialogueErrorProperties(EClientKicked.PBO_MISMATCH, "#STR_pbo_mismatch" + VERIFY, VE_PREFIX, "#STR_pbo_mismatch");
288 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_VERSION_MISMATCH, "#STR_pbo_version_mismatch", VE_PREFIX);
289 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_CLIENT_UPDATED, "#STR_pbo_client_updated" + SERVER_MUST_UPDATE, VE_PREFIX);
290 InsertExtendedPrefixDialogueErrorProperties(EClientKicked.PBO_SERVER_UPDATED, "#STR_pbo_server_updated" + CLIENT_MUST_UPDATE, VE_PREFIX);
291
292 // AuthError Kicks
293 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_ERROR, "#server_browser_error_unknown", AUTH_PREFIX);
294 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_NO_USER, "#STR_auth_no_user", AUTH_PREFIX);
295
296 // Steam Validate
297 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_STEAM_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
298 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_NO_SERVER, "#STR_auth_no_server", AUTH_PREFIX);
299 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_TICKET, "#STR_auth_invalid_ticket", AUTH_PREFIX);
300 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_DUPLICATE_REQUEST, "#STR_auth_duplicate_request", AUTH_PREFIX);
301 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_VERSION, "#STR_auth_invalid_version", AUTH_PREFIX);
302 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_GAME_MISMATCH, "#STR_auth_game_mismatch", AUTH_PREFIX);
303 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_EXPIRED_TICKET, "#STR_auth_expired_ticket", AUTH_PREFIX);
304
305 // Steam OnValidate
306 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_STEAM_ONVALIDATE,"#server_browser_error_unknown", AUTH_PREFIX);
307 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_USER_NOT_CONNECTED, "#STR_auth_user_not_connected", AUTH_PREFIX);
308 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_LICENCE, "#STR_auth_licence", AUTH_PREFIX);
309 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_SERVICE_BAN, "#STR_auth_service_ban", AUTH_PREFIX);
310 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_LOGGED_IN_ELSEWHERE, "#STR_auth_logged_in_elsewhere", AUTH_PREFIX);
311 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_TIMEOUT, "#STR_auth_timeout", AUTH_PREFIX);
312 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_CANCELED, "#STR_auth_cancelled", AUTH_PREFIX);
313 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_ALREADY_USED, "#STR_auth_already_used", AUTH_PREFIX);
314 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_TICKET_INVALID, "#STR_auth_ticket_invalid", AUTH_PREFIX);
315 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_PUBLISHER_BAN, "#STR_auth_publisher_ban", AUTH_PREFIX);
316
317 // Bios Validate
318 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_BIOS_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
319 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_CREATE, "#STR_auth_bios_request_create", AUTH_PREFIX);
320 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_SEND, "#STR_auth_bios_request_send", AUTH_PREFIX);
321 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_REQUEST_WAIT, "#STR_auth_bios_request_wait", AUTH_PREFIX);
322 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_UNKNOWN_BIOS_VALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
323
324 // Bios OnValidate
325 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_INVALID_BIOS_ONVALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
326 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_BIOS_WRONG_RESPONSE, "#STR_auth_bios_wrong_response", AUTH_PREFIX);
327 InsertPrefixDialogueErrorProperties(EClientKicked.AUTH_UNKNOWN_BIOS_ONVALIDATE, "#server_browser_error_unknown", AUTH_PREFIX);
328
329 // BattlEye Kicks
331
332 // Unauthorized Network Message
339 }
const string VE_PREFIX
Definition ClientKickedModule.c:167
const string LOGIN_PREFIX
Definition ClientKickedModule.c:165
const string MODS
Definition ClientKickedModule.c:170
const string UNM_MESSAGE
Definition ClientKickedModule.c:175
const string CLIENT_MUST_UPDATE
Definition ClientKickedModule.c:173
const string VERIFY
Definition ClientKickedModule.c:169
const string SERVER_MUST_UPDATE
Definition ClientKickedModule.c:172
const string RESPAWN_PREFIX
Definition ClientKickedModule.c:166
EClientKicked
Definition ClientKickedModule.c:2
const string AUTH_PREFIX
Definition ClientKickedModule.c:160
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
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
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
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
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
void InsertErrorProperties(int code, string message="")
Insert an error with no handling.
Definition ErrorHandlerModule.c:269
Definition EntityAI.c:95

Перекрестные ссылки AUTH_PREFIX, CLIENT_MUST_UPDATE, InsertDialogueErrorProperties(), InsertErrorProperties(), InsertExtendedPrefixDialogueErrorProperties(), InsertExtendedPrefixSplitDialogueErrorProperties(), InsertPrefixDialogueErrorProperties(), InsertSplitDialogueErrorProperties(), LOGIN_PREFIX, MODS, RESPAWN_PREFIX, SERVER_MUST_UPDATE, UNM_MESSAGE, VE_PREFIX и VERIFY.

◆ InitOptionalVariables()

override void InitOptionalVariables ( )
inlineprivate
185 {
186 super.InitOptionalVariables();
187
188 m_Header = "#menu_warning";
189 m_Prefix = "#STR_MP_KICKED_CLIENT\n";
190 }
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
string m_Prefix
Optional: Prefix (e.g. Fixed text at the start of the messages in the module)
Definition ErrorHandlerModule.c:66

Перекрестные ссылки m_Header и m_Prefix.


Объявления и описания членов класса находятся в файле: