Citadel Status Codes
work in progress, please be patient.
find more detailed descritpions of the behaviours here Citadels reply codes are 3 digit integers. The most significant digit indicates the following:
| Reply Name | Integer Representation | Meaning |
|---|---|---|
| LISTING_FOLLOWS | 100 | The requested operation is progressing and is now delivering text. The client *must* now read lines of text until it receives the termination sequence (“000” on a line by itself). |
| CIT_OK | 200 | The requested operation succeeded. |
| MORE_DATA | 300 | The requested operation succeeded so far, but another command is required to complete it. |
| SEND_LISTING | 400 | The requested operation is progressing and is now expecting text. The client *must* now transmit zero or more lines of text followed by the termination sequence (“000” on a line by itself). |
| ERROR | 500 | The requested operation failed. The second and third digits of the error code and/or the error message following it describes why. |
| BINARY_FOLLOWS | 600 | After this line please read n bytes. (n follows after a blank) |
| SEND_BINARY | 700 | you now may send us n bytes binary data. (n follows after a blank) |
| START_CHAT_MODE | 800 | ok, we are in chat mode now. every line you send will be broadcasted. |
| ASYNC_MSG | 900 | theres a page waiting for you, please fetch it. |
All replies may be followed by a plain text message explaining why what happened. The later two digits may contain these codes giving more information about the reply. The first digit mostly contains the information about how you should send / retrieve data.
| Reply Name | Integer Representation | Meaning |
|---|---|---|
| ASYNC_GEXP | 02 | |
| INTERNAL_ERROR | 10 | |
| TOO_BIG | 11 | |
| ILLEGAL_VALUE | 12 | |
| NOT_LOGGED_IN | 20 | |
| CMD_NOT_SUPPORTED | 30 | |
| SERVER_SHUTTING_DOWN | 31 | |
| PASSWORD_REQUIRED | 40 | |
| ALREADY_LOGGED_IN | 41 | |
| USERNAME_REQUIRED | 42 | |
| HIGHER_ACCESS_REQUIRED | 50 | |
| MAX_SESSIONS_EXCEEDED | 51 | |
| RESOURCE_BUSY | 52 | |
| RESOURCE_NOT_OPEN | 53 | |
| NOT_HERE | 60 | |
| INVALID_FLOOR_OPERATION | 61 | |
| NO_SUCH_USER | 70 | |
| FILE_NOT_FOUND | 71 | |
| ROOM_NOT_FOUND | 72 | |
| NO_SUCH_SYSTEM | 73 | |
| ALREADY_EXISTS | 74 | |
| MESSAGE_NOT_FOUND | 75 |