From c532266cb8b1ba577e063c6ed14a810374c8c84f Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Mon, 21 Oct 2019 20:46:17 +0200 Subject: [PATCH] Fixed server group copy --- src/Error.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Error.cpp b/src/Error.cpp index 78c5ee5..0b47c63 100644 --- a/src/Error.cpp +++ b/src/Error.cpp @@ -11,9 +11,11 @@ const std::vector ts::avariableErrors = { {0x0001, "undefined" , "undefined error" }, {0x0002, "not_implemented" , "not implemented" }, {0x0005, "lib_time_limit_reached" , "library time limit reached" }, + {0x0100, "command_not_found" , "command not found" }, {0x0101, "unable_to_bind_network_port" , "unable to bind network port" }, {0x0102, "no_network_port_available" , "no network port available" }, + {0x0200, "client_invalid_id" , "invalid clientID" }, {0x0201, "client_nickname_inuse" , "nickname is already in use" }, {0x0202, "" , "invalid error code" }, @@ -32,6 +34,7 @@ const std::vector ts::avariableErrors = { {0x020F, "client_login_not_permitted" , "client is not permitted to log in" }, {0x0210, "client_not_subscribed" , "client is not subscribed to the channel" }, {0x0211, "client_unknown" , "client is not known" }, + {0x0300, "channel_invalid_id" , "invalid channelID" }, {0x0301, "channel_protocol_limit_reached" , "max channels protocol limit reached" }, {0x0302, "channel_already_in" , "already member of channel" }, @@ -49,6 +52,7 @@ const std::vector ts::avariableErrors = { {0x030E, "channel_is_private_channel" , "channel is private channel" }, {0x030F, "channel_invalid_security_hash" , "invalid security hash supplied by client" }, {0x0310, "channel_is_deleted" , "target channel is deleted" }, + {0x0400, "server_invalid_id" , "invalid serverID" }, {0x0401, "server_running" , "server is running" }, {0x0402, "server_is_shutting_down" , "server is shutting down" }, @@ -66,12 +70,14 @@ const std::vector ts::avariableErrors = { {0x040D, "server_already_joined" , "query client already joined to the server" }, {0x040E, "server_is_not_shutting_down" , "server isn't shutting down" }, {0x040F, "server_max_vs_reached" , "You reached the maximal virtual server limit" }, + {0x0500, "sql" , "sql error" }, {0x0501, "database_empty_result" , "sql empty result set" }, {0x0502, "database_duplicate_entry" , "sql duplicate entry" }, {0x0503, "database_no_modifications" , "sql no modifications" }, {0x0504, "database_constraint" , "sql invalid constraint" }, {0x0505, "database_reinvoke" , "sql reinvoke command" }, + {0x0600, "parameter_quote" , "invalid quote" }, {0x0601, "parameter_invalid_count" , "invalid parameter count" }, {0x0602, "parameter_invalid" , "invalid parameter" }, @@ -80,6 +86,7 @@ const std::vector ts::avariableErrors = { {0x0605, "parameter_invalid_size" , "invalid parameter size" }, {0x0606, "parameter_missing" , "missing required parameter" }, {0x0607, "parameter_checksum" , "invalid checksum" }, + {0x0700, "vs_critical" , "virtual server got a critical error" }, {0x0701, "connection_lost" , "Connection lost" }, {0x0702, "not_connected" , "not connected" }, @@ -93,6 +100,7 @@ const std::vector ts::avariableErrors = { {0x070A, "serverlibrary_not_initialised" , "server library not initialized" }, {0x070B, "whisper_too_many_targets" , "too many whisper targets" }, {0x070C, "whisper_no_targets" , "no whisper targets found" }, + {0x0800, "file_invalid_name" , "invalid file name" }, {0x0801, "file_invalid_permissions" , "invalid file permissions" }, {0x0802, "file_already_exists" , "file already exists" }, @@ -120,7 +128,9 @@ const std::vector ts::avariableErrors = { {0x0A08, "server_insufficeient_permissions" , "insufficient client permissions" }, + {0x0B01, "accounting_slot_limit_reached" , "max slot limit reached" }, + {0x0D01, "server_connect_banned" , "connection failed, you are banned" }, {0x0D03, "ban_flooding" , "flood ban" }, @@ -153,6 +163,9 @@ const std::vector ts::avariableErrors = { {0x1202, "query_too_many_simultaneously_sessions", "too many simultaneously connected sessions" }, {0x1203, "query_maxclients_reached" , "query server reached its limit" }, + {0x1300, "group_invalid_id" , "Invalid group id" }, + {0x1301, "group_name_inuse" , "Group name is already in use" }, + {0xE000, "resource_limit_reached" , "resource limit reached" }, {0xFFFF, "custom_error" , "costume" },