Game > GameAnvil > Error Code

Client

ResultCode Name Value Description
ErrorCode SUCCESS 0 Success
SYSTEM_ERROR 1 System error
TIMEOUT -1 Timeout
ResultCodeConnect CONNECT_SUCCESS 0 Connection success
CONNECT_FAIL 1 Connection failed
CONNECT_ALREADY_CONNECTED 2 Already connected
CONNECT_ALREADY_REQUEST 3 Already trying to connect.
ResultCodeAuth AUTH_SUCCESS 0 Authentication successful
AUTH_FAIL_CONTENT 201 Authentication failed. Rejected from content.
AUTH_FAIL_MAINTENANCE 202 Authentication failed. Under maintenance.
AUTH_FAIL_INVALID_ACCOUNT_ID 203 Authentication failed. Invalid AccountId.
ResultCodeChannelList CHANNEL_LIST_SUCCESS 0 Retrieve channel list success
CHANNEL_LIST_FAIL_INVALID_SERVICEID 1801 Failed to retrieve channel list. Invalid service ID.
ResultCodeChannelInfo CHANNEL_INFO_SUCCESS 0 Channel information retrieval success
CHANNEL_INFO_FAIL_INVALID_SERVICEID 1901 Failed to retrieve channel information. Invalid service ID.
ResultCodeLogin LOGIN_SUCCESS 0 Login successful
LOGIN_FAIL_CONTENT 301 Failed to log in. Rejected from content.
LOGIN_FAIL_NOT_EXIST_NODE 302 Failed to log in. Node does not exist.
LOGIN_FAIL_MAINTENANCE 303 Failed to log in. Under maintenance.
LOGIN_FAIL_TIMEOUT_GAME_SERVER 304 Failed to log in. Game server does not respond.
LOGIN_FAIL_INVALID_SERVICEID 310 Failed to log in. Invalid service ID.
LOGIN_FAIL_INVALID_USERTYPE 311 Failed to log in. Invalid user type.
LOGIN_FAIL_INVALID_USERID 312 Failed to log in. Invalid user ID.
LOGIN_FAIL_INVALID_SUB_ID 313 Failed to log in. Invalid SubId.
LOGIN_FAIL_LOGINED_OTHER_SERVICE 320 Failed to log in. Already logged into another service.
LOGIN_FAIL_LOGINED_OTHER_CHANNEL 321 Failed to log in. Logged into another channel.
LOGIN_FAIL_LOGINED_OTHER_USER_TYPE 322 Failed to log in. A different UserType is logged in using the same account ID.
LOGIN_FAIL_LOGINED_OTHER_DEVICE 323 Failed to log in. A different DeviceId is logged in using the same account ID.
ResultCodeLogout LOGOUT_SUCCESS 0 Logout success.
LOGOUT_FAIL_CONTENT 401 Failed to log out. Rejected from content.
ResultCodeCreateRoom CREATE_ROOM_SUCCESS 0 Room creation success.
CREATE_ROOM_FAIL_CONTENT 601 Failed to create a room. Rejected from content.
CREATE_ROOM_FAIL_ALREADY_
JOINED_ROOM
602 Failed to create a room. Already in a room.
CREATE_ROOM_FAIL_CREATE_ROOM_ID 603 Failed to create a room. Failed to issue a room ID
ResultCodeJoinRoom JOIN_ROOM_SUCCESS 0 Joined a room.
JOIN_ROOM_FAIL_CONTENT 701 Failed to join a room. Rejected from content.
JOIN_ROOM_FAIL_ROOM_
DOES_NOT_EXIST
702 Failed to join a room. The room does not exist.
JOIN_ROOM_FAIL_ALREADY_
JOINED_ROOM
703 Failed to join a room. Already in a room.
ResultCodeLeaveRoom LEAVE_ROOM_SUCCESS 0 Left the room.
LEAVE_ROOM_FAIL_CONTENT 801 Failed to leave the room. Rejected from content.
ResultCodeMatchRoom MATCH_ROOM_SUCCESS 0 Room matched.
MATCH_ROOM_FAIL_CONTENT 901 Failed to match a room. Rejected from content.
MATCH_ROOM_FAIL_ROOM_
DOES_NOT_EXIST
902 Failed to match a room. The room does not exist.
MATCH_ROOM_FAIL_ALREADY_
JOINED_ROOM
903 Failed to match a room. Already in a room.
MATCH_ROOM_FAIL_LEAVE_ROOM 904 Failed to match a room. When the user failed to leave the existing room while they are matched using the room move feature.
MATCH_ROOM_FAIL_IN_PROGRESS 905 Failed to match a room. Matchmaking is already in progress.
MATCH_ROOM_FAIL_MATCHED_ROOM_
DOES_NOT_EXIST
906 Failed to match a room. The room disappeared while joining the room to find one that satisfies the conditions.
ResultCodeNamedRoom NAMED_ROOM_SUCCESS 0 Joined the room with the specified name.
NAMED_ROOM_FAIL_CONTENT 1001 Failed to join the room with the specified name. Rejected from content.
NAMED_ROOM_FAIL_ROOM_
DOES_NOT_EXIST
1002 Failed to join the room with the specified name. Cannot find the room as it is failed to be created.
NAMED_ROOM_FAIL_ALREADY_
JOINED_ROOM
1003 Failed to join the room with the specified name. Already in a room.
NAMED_ROOM_FAIL_INVALID_
ROOM_NAME
1004 Failed to join the room with the specified name. Sent a wrong room name.
ResultCodeMatchUserStart MATCH_USER_START_SUCCESS 0 User matching started
MATCH_USER_START_FAIL_CONTENT 1101 Failed to start user matching. Rejected from content.
MATCH_USER_START_FAIL_ALREADY_
JOINED_ROOM
1102 Failed to start user matching. Already in a room.
ResultCodeMatchUserCancel MATCH_USER_CANCEL_SUCCESS 0 Canceled user matching.
MATCH_USER_CANCEL_FAIL_CONTENT 1201 Failed to cancel user matching. Rejected from content.
MATCH_USER_CANCEL_FAIL_ALREADY_
JOINED_ROOM
1202 Failed to cancel user matching. Already matched.
ResultCodeMatchPartyStart MATCH_PARTY_START_SUCCESS 0 Started party matching.
MATCH_PARTY_START_FAIL_CONTENT 1301 Failed to start party matching. Rejected from content.
MATCH_PARTY_START_FAIL_PARTY_
MATCH_WEIRD
1302 Failed to start party matching. The room is not for party matching when party matching is requested.
ResultCodeMatchPartyCancel MATCH_PARTY_CANCEL_SUCCESS 0 Canceled party matching.
MATCH_PARTY_CANCEL_FAIL_CONTENT 1401 Failed to cancel party matching. Rejected from content.
MATCH_PARTY_CANCEL_FAIL_PARTY_
MATCH_WEIRD
1402 Failed to cancel party matching. When the room is not for party matching when party matching is canceled.
ResultCodeMatchUserDone MATCH_USER_DONE_SUCCESS 0 User matching (party matching) success
MATCH_USER_DONE_FAIL_CONTENT 1501 User matching (party matching) failed. Rejected from content (couldn't find the room that meets the conditions).
MATCH_USER_DONE_FAIL_ROOM_
DOES_NOT_EXIST
1502 Failed to match users (party matching). The room that meets the condition disappears while entering it.
ResultCodeMoveChannel MOVE_CHANNEL_SUCCESS 0 Moved a channel.
MOVE_CHANNEL_FAIL_CONTENT 1601 Failed to move a channel. Rejected from content.
MOVE_CHANNEL_FAIL_NODE_
NOT_FOUND
1602 Failed to move a channel. Cannot find the channel node.
MOVE_CHANNEL_FAIL_ALREADY_
JOINED_CHANNEL
1603 Failed to move a channel. Already in the requested channel.
MOVE_CHANNEL_FAIL_ALREADY_
JOINED_ROOM
1604 Failed to move a channel. Cannot move a channel as the user already joined a channel.
ResultCodeDisconnect FORCE_CLOSE_SYSTEM_ERROR 2000 Forcibly closed due to system error.
It is unlikely for client to receive this code. If you received this code, contact the GameAnvil development team.
FORCE_CLOSE_BASE_CONNECTION 2010 Calls the close() of BaseConnection from the server
FORCE_CLOSE_BASE_USER 2011 Calls the closeConnection() of BaseUser from the server
FORCE_CLOSE_ADMIN_KICK 2012 Forcibly shut down from Admin.
FORCE_CLOSE_MAINTENANCE 2020 Forcibly shut down due to server maintenance.
FORCE_CLOSE_INVALID_NODE 2021 When the status of GameNode has changed to invalid.
FORCE_CLOSE_USER_TRANSFER_FAIL 2022 When user transfer failed.
FORCE_CLOSE_USER_TRANSFER_ERROR 2023 When a system error occurs while transferring user.
FORCE_CLOSE_AUTHENTICATION_FAIL 2030 Forcibly shut down due to authentication failure.
FORCE_CLOSE_DUPLICATE_LOGIN 2031 Forcibly shut down due to duplicate login.
FORCE_CLOSE_BY_NEW_CONNECTION 2040 When a new login request is received to the same account information and
the user tries to reconnect to the network due to a temporary power shortage, sever the existing connection and use this code.
It is not likely the user would receive this code, so if you received this code, contact the GameAnvil development team.
FORCE_CLOSE_DISCONNECT_ALARM 2041 If the session information cannot be found,.
the client rarely receives this code. Please contact the GameAnvil development team if this code is received.
FORCE_CLOSE_CHECK_CLIENT_STATE_FAIL 2042 If the client does not respond to the server status check,.
the client rarely receives this code. Please contact the GameAnvil development team if this code is received.
FORCE_CLOSE_GHOST_USER 2043 For a ghost user,.
the client rarely receives this code. Please contact the GameAnvil development team if this code is received.
SOCKET_DISCONNECT 2100 The network connection is lost.
The client rarely receives this code. Please contact the GameAnvil development team if this code is received.
SOCKET_TIME_OUT 2101 A timeout occurred and the connector severed the connection.
The client rarely receives this code. Please contact the GameAnvil development team if this code is received.
SOCKET_ERROR 2102 The connection is severed due to a socket error.
The client rarely receives this code. Please contact the GameAnvil development team if this code is received.

Server

Category Name Value Description
Common NODE_NOT_FOUND 10010
NODE_INFO_INVALID_ID 10020
NODE_INFO_NOT_FOUND 10021
NODE_INFO_INVALID_STATE 10022
Location LOCATION_ERROR 10100
LOCATION_CONNECTION_LOC_ERROR 10110
LOCATION_CONNECTION_LOC_EMPTY_ACCOUNT_ID 10111
LOCATION_CONNECTION_LOC_NOT_EXIST 10112
LOCATION_UPDATE_CONNECTION_LOC_ERROR 10120
LOCATION_UPDATE_CONNECTION_LOC_EMPTY_ACCOUNT_ID 10121
LOCATION_UPDATE_CONNECTION_LOC_INVALID_NODE_ID 10122
LOCATION_UPDATE_CONNECTION_LOC_INVALID_CID 10123
LOCATION_ROOM_LOC_ERROR 10130
LOCATION_ROOM_LOC_INVALID_ROOM_ID 10131
LOCATION_INDEX_ERROR 10140
LOCATION_INDEX_INVALID_SENDER_NODE_INFO 10141
LOCATION_INDEX_INVALID_CLUSTER_SIZE 10142
LOCATION_INDEX_INVALID_REPLICA_SIZE 10143
LOCATION_INDEX_INVALID_SHARD_FACTOR 10144
Match User MATCH_USER_ERROR 10200
MATCH_USER_REGISTER_ERROR 10210
MATCH_USER_REGISTER_INFO_NULL 10211
MATCH_USER_REGISTER_FAIL 10212
MATCH_USER_REGISTER_REFILL_FAIL 10213
MATCH_USER_REFILL_ERROR 10220
MATCH_USER_REFILL_INFO_NULL 10221
MATCH_USER_REFILL_REGISTER_FAIL 10222
MATCH_USER_UNREGISTER_ERROR 10230
MATCH_USER_UNREGISTER_INFO_NULL 10231
MATCH_USER_UNREGISTER_INVALID_USER_ID 10232
MATCH_USER_UNREGISTER_FAIL 10233
MATCH_USER_MADE 10240
MATCH_USER_MADE_CREATE_ROOM_ID_FAIL 10241
MATCH_USER_MADE_FAIL_USER_TRANSFER 10242
Match Room MATCH_ROOM_ERROR 10300
MATCH_ROOM_FIND_ERROR 10310
MATCH_ROOM_FIND_MATCH_INVALID_ROOM_ID 10311
Transfer TRANSFER_USER_ERROR 10400
TRANSFER_USER_TRANSFER_OUT 10410
TRANSFER_USER_TRANSFER_OUT_TIMER 10411
TRANSFER_USER_TRANSFER_GET_INFO 10412
TRANSFER_USER_TRANSFER_SET_INFO 10420
TRANSFER_USER_TRANSFER_IN 10421
TRANSFER_USER_TRANSFER_IN_TIMER 10422
TRANSFER_USER_UPDATE_LOCATION_FAIL 10423
TRANSFER_USER_TRANSFER_END_TO_SESSION 10424
TRANSFER_USER_POST_TRANSFER_IN 10425
TRANSFER_ROOM_ERROR 10500
TRANSFER_ROOM_TRANSFER_OUT_DATA 10510
TRANSFER_ROOM_TRANSFER_OUT_DATA_USERS 10511
TRANSFER_ROOM_TRANSFER_OUT_TIMER 10512
TRANSFER_ROOM_UPDATE_LOCATION_FAIL 10513
TRANSFER_ROOM_CREATE_USER_FAIL 10521
TRANSFER_ROOM_CREATE_ROOM_FAIL 10522
TRANSFER_ROOM_TRANSFER_IN_DATA 10523
TRANSFER_ROOM_TRANSFER_IN_TIMER 10524
TRANSFER_ROOM_DST_UPDATE_LOCATION_FAIL 10525
TRANSFER_ROOM_UPDATE_SESSION_LOGIN_LOC_FAIL 10526
TRANSFER_ROOM_GET_PACKETS 10527
TRANSFER_ROOM_FROM_SRC_ERROR 10530
TRANSFER_ROOM_FROM_SRC_NOT_EXIST 10531
TRANSFER_ROOM_GET_PACKETS_ERROR 10540
TRANSFER_ROOM_GET_PACKETS_NOT_EXIST 10541
TRANSFER_ROOM_GET_PACKETS_NOT_EXIST_ROOM 10542
TRANSFER_ROOM_GET_PACKETS_INVALID_STATE 10543
TRANSFER_ROOM_GET_PACKETS_SET_DATA_FAILED 10544
TOP