ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Error Codes (Sdk)
Error Codes // SdktrekkerxNov 11, 2001, 6:31pm
Heres a little command I made for my C++ bots. It returns the error, and
stuff. I give it out so it can save some people some typing. Im gonna go eat some lunch now... (not that you people care) Have fun with it. //###################################################### char* ErrCode(int rcErr) { switch (rcErr) { case 0: return "Success"; break; case 1: return "Citizenship Expired"; break; case 3: return "No Such Citizen"; break; case 4: return "Message length is bad"; break; case 5: return "Access denied"; break; case 6: return "The handle is invalid"; break; case 7: return "Password to short"; break; case 8: return "Lisens to long"; break; case 9: return "Lisens to small"; break; case 13: return "Invalid password"; break; case 17: return "Server out of Memory"; break; case 27: return "World not running"; break; case 31: return "Not logged in"; break; case 32: return "Unauthorized"; break; case 42: return "No such acting Citizen"; break; case 43: return "Invalid privlage password"; break; case 58: return "Software is out of date"; break; case 59: return "Bot limit Exceeded"; break; case 66: return "No such ejection"; break; case 67: return "No such session"; break; case 77: return "Citizenship disabled"; break; case 107: return "Name aready in use"; break; case 108: return "Name contains invalid characters"; break; case 109: return "Too many spaces"; break; case 111: return "Name ends with space"; break; case 112: return "Name too long"; break; case 113: return "Name to short"; break; case 114: return "Name unused"; break; case 115: return "Password too long"; break; case 116: return "Password too short"; break; case 117: return "Password incorrect"; break; case 128: return "Privlage password too long"; break; case 204: return "Could not find old element"; break; case 211: return "Cannot change owner"; break; case 216: return "Cannot build here"; break; case 232: return "Not allowed"; break; case 300: return "Encroachment"; break; case 301: return "No Such object"; break; case 302: return "Not Delete owner"; break; case 303: return "To many bytes"; break; case 306: return "Unregisterd object"; break; case 308: return "Element already exist"; break; case 310: return "No building rights"; break; case 311: return "Out of bounds"; break; case 313: return "Restricted object"; break; case 314: return "Restricted area"; break; case 400: return "Out of memory"; break; case 401: return "Not Yet"; break; case 402: return "Communications timed out"; break; case 403: return "Null pointer"; break; case 404: return "Unable to contact universe server"; break; case 405: return "Unable to contact world server"; break; case 406: return "Invalid world name"; break; case 415: return "Send failed"; break; case 416: return "Recived failed"; break; case 421: return "Stream empty"; break; case 422: return "Stream message too long"; break; case 423: return "World name too long"; break; case 426: return "Message too long"; break; case 429: return "Unable to connect"; break; case 439: return "No internet connection"; break; case 442: return "Unable to initialize network"; break; case 443: return "Incorrect message length"; break; case 444: return "Not initialized"; break; case 445: return "No instance"; break; case 446: return "Out buffer full"; break; case 447: return "Invalid calback"; break; case 448: return "Invalid attribute"; break; case 449: return "Type mismatch"; break; case 450: return "String too long"; break; case 451: return "Read only"; break; case 453: return "Invalid instance"; break; case 454: return "Version mismatch"; break; case 461: return "Buffer full"; break; case 463: return "Protocall error"; break; case 464: return "Query in progress"; break; case 466: return "Ejected"; break; case 467: return "Not welcome"; break; case 471: return "Connection lost"; break; case 474: return "Not available"; break; case 11001: return "No internet connection"; break; } return "Unknown Error"; } //###################################################### -- TrekkerX - CEO Commatron http://www.commatron.com |