SDK Reason Codes
Current version
Reason code | Value | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RC_SUCCESS | 0 | Success
|
|||||||||
RC_CITIZENSHIP_EXPIRED | 1 | Citizenship has expired
|
|||||||||
RC_LAND_LIMIT_EXCEEDED | 2 | Land limit exceeded
|
|||||||||
RC_NO_SUCH_CITIZEN | 3 | No such citizen
|
|||||||||
RC_LICENSE_PASSWORD_CONTAINS_SPACE | 5 | License password contains space
|
|||||||||
RC_LICENSE_PASSWORD_TOO_LONG | 6 | License password too long
|
|||||||||
RC_LICENSE_PASSWORD_TOO_SHORT | 7 | License password too short
|
|||||||||
RC_LICENSE_RANGE_TOO_LARGE | 8 | License range too large
|
|||||||||
RC_LICENSE_RANGE_TOO_SMALL | 9 | License range too small
|
|||||||||
RC_LICENSE_USERS_TOO_LARGE | 10 | License users too large
|
|||||||||
RC_LICENSE_USERS_TOO_SMALL | 11 | License users too small
|
|||||||||
RC_INVALID_PASSWORD | 13 | Invalid password
|
|||||||||
RC_LICENSE_WORLD_TOO_SHORT | 15 | License world too short
|
|||||||||
RC_LICENSE_WORLD_TOO_LONG | 16 | License world too long
|
|||||||||
RC_MUST_UPGRADE | 18 | SDK update required
|
|||||||||
RC_INVALID_WORLD | 20 | Invalid world
|
|||||||||
RC_SERVER_OUTDATED | 21 | Server outdated
|
|||||||||
RC_WORLD_ALREADY_STARTED | 22 | World already started
|
|||||||||
RC_NO_SUCH_WORLD | 27 | No such world
|
|||||||||
RC_UNAUTHORIZED | 32 | Unauthorized
|
|||||||||
RC_NO_SUCH_LICENSE | 34 | No such license
|
|||||||||
RC_TOO_MANY_WORLDS | 57 | Too many worlds
|
|||||||||
RC_MUST_UPGRADE | 58 | Must upgrade
|
|||||||||
RC_BOT_LIMIT_EXCEEDED | 59 | Bot limit exceeded
|
|||||||||
RC_WORLD_EXPIRED | 61 | World expired
|
|||||||||
RC_CITIZEN_DOES_NOT_EXPIRE | 62 | Citizen does not expire
|
|||||||||
RC_LICENSE_STARTS_WITH_NUMBER | 64 | License starts with number
|
|||||||||
RC_NO_SUCH_EJECTION | 66 | No such ejection
|
|||||||||
RC_NO_SUCH_SESSION | 67 | No such session
|
|||||||||
RC_WORLD_RUNNING | 72 | World running
|
|||||||||
RC_WORLD_NOT_SET | 73 | World not set
|
|||||||||
RC_NO_SUCH_CELL | 74 | No such cell
|
|||||||||
RC_NO_REGISTRY | 75 | No registry
|
|||||||||
RC_CANT_OPEN_REGISTRY | 76 | Can't open registry | |||||||||
RC_CITIZEN_DISABLED | 77 | Citizen disabled
|
|||||||||
RC_WORLD_DISABLED | 78 | World disabled
|
|||||||||
RC_TELEGRAM_BLOCKED | 85 | Telegram blocked | |||||||||
RC_UNABLE_TO_UPDATE_TERRAIN | 88 | Unable to update terrain | |||||||||
RC_EMAIL_CONTAINS_INVALID_CHAR | 100 | Email contains invalid char
|
|||||||||
RC_EMAIL_ENDS_WITH_BLANK | 101 | Email ends with blank
|
|||||||||
RC_NO_SUCH_OBJECT | 101 | No such object
|
|||||||||
RC_EMAIL_MISSING_DOT | 102 | Email missing dot
|
|||||||||
RC_NOT_DELETE_OWNER | 102 | Not delete owner | |||||||||
RC_EMAIL_MISSING_AT | 103 | Email missing at
|
|||||||||
RC_EMAIL_STARTS_WITH_BLANK | 104 | Email starts with blank
|
|||||||||
RC_EMAIL_TOO_LONG | 105 | Email too long
|
|||||||||
RC_EMAIL_TOO_SHORT | 106 | Email too short
|
|||||||||
RC_NAME_ALREADY_USED | 107 | Name already used
|
|||||||||
RC_NAME_CONTAINS_NONALPHANUMERIC_CHAR | 108 | Name contains nonalphanumeric character
|
|||||||||
RC_NAME_CONTAINS_INVALID_BLANK | 109 | Name contains invalid blank
|
|||||||||
RC_NAME_ENDS_WITH_BLANK | 111 | Name ends with blank
|
|||||||||
RC_NAME_TOO_LONG | 112 | Name too long
|
|||||||||
RC_NAME_TOO_SHORT | 113 | Name too short
|
|||||||||
RC_PASSWORD_TOO_LONG | 115 | Password too long
|
|||||||||
RC_PASSWORD_TOO_SHORT | 116 | Password too short
|
|||||||||
RC_UNABLE_TO_DELETE_CITIZEN | 124 | Unable to delete citizen
|
|||||||||
RC_NUMBER_ALREADY_USED | 126 | Number already used
|
|||||||||
RC_NUMBER_OUT_OF_RANGE | 127 | Number out of range
|
|||||||||
RC_PRIVILEGE_PASSWORD_IS_TOO_SHORT | 128 | Privilege password is too short
|
|||||||||
RC_PRIVILEGE_PASSWORD_IS_TOO_LONG | 129 | Privilege password is too long
|
|||||||||
RC_NOT_CHANGE_OWNER | 203 | Not change owner
|
|||||||||
RC_CANT_FIND_OLD_ELEMENT | 204 | Can't find old element
|
|||||||||
RC_IMPOSTER | 212 | Imposter
|
|||||||||
RC_ENCROACHES | 300 | Encroaches
|
|||||||||
RC_OBJECT_TYPE_INVALID | 301 | Object type invalid | |||||||||
RC_TOO_MANY_BYTES | 303 | Too many bytes
|
|||||||||
RC_UNREGISTERED_OBJECT | 306 | Unregistered object
|
|||||||||
RC_ELEMENT_ALREADY_EXISTS | 308 | Element already exists | |||||||||
RC_RESTRICTED_COMMAND | 309 | Restricted command | |||||||||
RC_OUT_OF_BOUNDS | 311 | Out of bounds | |||||||||
RC_RESTRICTED_OBJECT | 313 | Restricted object
|
|||||||||
RC_RESTRICTED_AREA | 314 | Restricted area
|
|||||||||
RC_NOT_YET | 401 | Not yet
|
|||||||||
RC_TIMEOUT | 402 | Timeout
|
|||||||||
RC_UNABLE_TO_CONTACT_UNIVERSE | 404 | Unable to contact universe
|
|||||||||
RC_NO_CONNECTION | 439 | No connection
|
|||||||||
RC_NOT_INITIALIZED | 444 | Not initialized
|
|||||||||
RC_NO_INSTANCE | 445 | No instance | |||||||||
RC_INVALID_ATTRIBUTE | 448 | Invalid attribute | |||||||||
RC_TYPE_MISMATCH | 449 | Type mismatch | |||||||||
RC_STRING_TOO_LONG | 450 | String too long | |||||||||
RC_READ_ONLY | 451 | Read only
|
|||||||||
RC_INVALID_INSTANCE | 453 | Invalid instance | |||||||||
RC_VERSION_MISMATCH | 454 | Version mismatch
|
|||||||||
RC_QUERY_IN_PROGRESS | 464 | Query in progress
|
|||||||||
RC_EJECTED | 466 | Ejected
|
|||||||||
RC_NOT_WELCOME | 467 | Not welcome
|
|||||||||
RC_CONNECTION_LOST | 471 | Connection lost | |||||||||
RC_NOT_AVAILABLE | 474 | Not available | |||||||||
RC_CANT_RESOLVE_UNIVERSE_HOST | 500 | Can't resolve universe host | |||||||||
RC_INVALID_ARGUMENT | 505 | Invalid argument | |||||||||
RC_UNABLE_TO_UPDATE_CAV | 514 | Unable to update custom avatar | |||||||||
RC_UNABLE_TO_DELETE_CAV | 515 | Unable to delete custom avatar | |||||||||
RC_NO_SUCH_CAV | 516 | No such custom avatar | |||||||||
RC_WORLD_INSTANCE_ALREADY_EXISTS | 521 | World instance already exists | |||||||||
RC_WORLD_INSTANCE_INVALID | 522 | World instance invalid | |||||||||
RC_PLUGIN_NOT_AVAILABLE | 523 | Plugin not available | |||||||||
RC_DATABASE_ERROR | 600 | Database error | |||||||||
RC_Z_BUF_ERROR | 4995 | Buffer error (zlib)
|
|||||||||
RC_Z_MEM_ERROR | 4996 | Memory error (zlib)
|
|||||||||
RC_Z_DATA_ERROR | 4997 | Data error (zlib)
|
Addition older reason codes, not used by the free SDK
Reason code | Value | Description |
---|---|---|
RC_MESSAGE_LENGTH_BAD | 4 | Message length bad |
RC_LICENSE_CONTAINS_INVALID_CHAR | 12 | License contains invalid character |
RC_SERVER_OUT_OF_MEMORY | 17 | Server out of memory |
RC_NOT_LOGGED_IN | 31 | Not logged in
|
RC_WORLD_ALREADY_EXISTS | 33 | World already exists
|
RC_NO_SUCH_ACTING_CITIZEN | 42 | No such acting citizen |
RC_ACTING_PASSWORD_INVALID | 43 | Acting password invalid |
RC_EJECTION_EXPIRED | 69 | Ejection expired
|
RC_ACTING_CITIZEN_EXPIRED | 70 | Acting citizen expired |
RC_ALREADY_STARTED | 71 | Already started |
RC_ACTING_CITIZEN_DISABLED | 80 | Acting citizen disabled |
RC_TELEGRAM_TOO_LONG | 86 | Telegram too long |
RC_NAME_DOESNT_EXIST | 110 | Name doesn't exist |
RC_NAME_UNUSED | 114 | Name unused |
RC_PASSWORD_WRONG | 117 | Password wrong
|
RC_UNABLE_TO_DELETE_NAME | 119 | Unable to delete name |
RC_UNABLE_TO_GET_CITIZEN | 120 | Unable to get citizen |
RC_UNABLE_TO_INSERT_CITIZEN | 121 | Unable to insert citizen |
RC_UNABLE_TO_INSERT_NAME | 122 | Unable to insert name |
RC_UNABLE_TO_PUT_CITIZEN_COUNT | 123 | Unable to put citizen count |
RC_UNABLE_TO_CHANGE_ATTRIBUTE | 210 | Unable to change attribute |
RC_INVALID_REQUEST | 213 | Invalid request |
RC_CANT_BUILD_HERE | 216 | Can't build here |
RC_UNABLE_TO_STORE | 305 | Unable to store |
RC_NO_BUILD_RIGHTS | 310 | No build rights |
RC_OUT_OF_MEMORY | 400 | Out of memory |
RC_NULL_POINTER | 403 | Null pointer |
RC_UNABLE_TO_CONTACT_WORLD | 405 | Unable to contact world |
RC_INVALID_WORLD_NAME | 406 | Invalid world name |
RC_SEND_FAILED | 415 | Send failed |
RC_RECEIVE_FAILED | 416 | Receive failed
|
RC_STREAM_EMPTY | 421 | Stream empty |
RC_STREAM_MESSAGE_TOO_LONG | 422 | Stream message too long |
RC_WORLD_NAME_TOO_LONG | 423 | World name too long |
RC_MESSAGE_TOO_LONG | 426 | Message too long |
RC_UNABLE_TO_CREATE_SOCKET | 428 | Unable to create socket |
RC_UNABLE_TO_CONNECT | 429 | Unable to connect |
RC_UNABLE_TO_SET_NONBLOCKING | 430 | Unable to set nonblocking |
RC_CANT_OPEN_STREAM | 434 | Can't open stream |
RC_CANT_WRITE_STREAM | 435 | Can't write stream |
RC_CANT_CLOSE_STREAM | 436 | Can't close stream |
RC_UNABLE_TO_INITIALIZE_NETWORK | 442 | Unable to initialize network |
RC_INCORRECT_MESSAGE_LENGTH | 443 | Incorrect message length |
RC_OUT_BUFFER_FULL | 446 | Out buffer full |
RC_INVALID_CALLBACK | 447 | Invalid callback |
RC_IN_BUFFER_FULL | 461 | In buffer full |
RC_PROTOCOL_ERROR | 463 | Protocol error |
RC_NO_STREAM | 473 | No stream |
RC_OLD_UNIVERSE | 487 | Old universe
|
RC_OLD_WORLD | 488 | Old world
|
RC_WORLD_NOT_RUNNING | 489 | World not running
|
Not used by the free SDK
Reason code | Value | Description |
---|---|---|
RC_UNABLE_TO_MAIL_BACK_NUMBER | 14 | Unable to mail back number |
RC_IDENTITY_ALREADY_IN_USE | 39 | Identity already in use |
RC_UNABLE_TO_REPORT_LOCATION | 40 | Unable to report location |
RC_INVALID_EMAIL | 41 | Invalid email |
RC_UNIVERSE_FULL | 45 | Universe full |
RC_BILLING_TIMEOUT | 46 | Billing timeout |
RC_BILLING_RECV_FAILED | 47 | Billing recv failed |
RC_BILLING_RESPONSE_INVALID | 48 | Billing response invalid |
RC_BILLING_REJECTED | 55 | Billing rejected |
RC_BILLING_BLOCKED | 56 | Billing blocked |
RC_BETA_REQUIRED | 79 | Beta required |
RC_INVALID_USER_COUNT | 81 | Invalid user count |
RC_PRIVATE_WORLD | 91 | Private world |
RC_NO_TOURISTS | 92 | No tourists |
RC_CANT_CHANGE_OWNER | 211 | Can't change owner |
RC_JOIN_REFUSED | 250 | Join refused |
RC_TOO_MANY_RESETS | 427 | Too many resets |
RC_UNABLE_TO_REGISTER_RESOLVE | 452 | Unable to register resolve |
RC_WORLD_FULL | 465 | World full |
RC_UNABLE_TO_BIND | 468 | Unable to bind |
RC_UNABLE_TO_LISTEN | 469 | Unable to listen |
RC_UNABLE_TO_ACCEPT | 470 | Unable to accept |
RC_EMAIL_CHANGE_NOT_ALLOWED | 525 | Email change not allowed |
RC_NAME_CHANGE_NOT_ALLOWED | 526 | Name change not allowed |
RC_EMAIL_ALREADY_USED | 527 | Email already used |
RC_EMAIL_NOT_ALLOWED | 528 | Email not allowed |
RC_WORLD_REDIRECT | 529 | World redirect
|