Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string ErrorString(ushort code)
- {
- string[] errors = { "", "Invalid nick or password","Service temporarily unavailable","All other errors","Incorrect nick or password, re-enter",
- "Mismatch nick or password, re-enter","Internal client error (bad input to authorizer)","Invalid account","Deleted account",
- "Expired account","No access to database","No access to resolver"," Invalid database fields","Bad database status","Bad resolver status",
- "Internal error","Service temporarily offline","Suspended account","DB send error","DB link error","Reservation map error",
- "Reservation link error","The users num connected from this IP has reached the maximum","The users num connected from this IP has reached the maximum (reservation)",
- "Rate limit exceeded (reservation). Please try to reconnect in a few minutes","User too heavily warned","Reservation timeout","You are using an older version of ICQ. Upgrade required",
- "You are using an older version of ICQ. Upgrade recommended","Rate limit exceeded. Please try to reconnect in a few minutes","Can't register on the ICQ network. Reconnect in a few minutes",
- "Invalid SecurID","Account suspended because of your age (age < 13)"};
- if (code > errors.Length)
- {
- return "Unknown Error";
- }
- else
- {
- return errors[code];
- }
- }
Add Comment
Please, Sign In to add comment