# ANSI Files

## Introduction

> Instead of hardcoding text strings in GameSrv, I instead decided to have everything handled via text files (or more specifically, ANSI files). In the ANSI subdirectory is where you'll find these files, and below are short descriptions of when each file is used.

## Descriptions

1. DISCONNECT_NODE.ANS
   - Displayed with the DISCONNECT_NODE menu command is executed.
2. EMAIL_VERIFICATION_SEND.ANS
   - Displayed when an email verification message is being sent.
3. EMAIL_VERIFICATION_SEND_FAIL.ANS
   - Displayed when the email verification message fails to send.
4. EMAIL_VERIFICATION_SEND_SUCCESS.ANS
   - Displayed when the email verification message is successfully sent.
5. EMAIL_VERIFICATION_SENT.ANS
   - Displayed when the user requests a resend of the email verification message when they've previously requested one for that session (only 1 message is sent per session).
6. EXCEEDED_CALL_LIMIT.ANS
   - Displayed when a user is logged in, and uses all the time given to them for that call.
7. EXCEEDED_DAILY_LIMIT.ANS
   - Displayed when a user is logged in, and uses all the time given to them for that call.
8. EXCEEDED_IDLE_LIMIT.ANS
   - Displayed when a user doesn't press a key for a certain length of time.
9. LOGIN_ENTER_PASSWORD.ANS
   - Prompts the user to enter their password during the login process.
10. LOGIN_ENTER_USERNAME.ANS
    - Prompts the user to enter their user name during the login process.
11. LOGIN_FAILED.ANS
    - Displayed after three invalid username/password attempts.
12. LOGIN_HEADER.ANS
    - Displayed at the beginning of the login process.
13. LOGIN_INVALID.ANS
    - Displayed after each invalid username/password attempt during the login process.
14. LOGIN_SUCCESS.ANS
    - Displayed when a valid username and password are entered during the login process.
15. LOGIN_TWIT.ANS
    - Displayed after a successful login if the user is assigned to the "twit" user group.
16. LOGIN_TWO_NODES.ANS
    - Displayed after a successful login if the user is already logged into another node.
17. LOGOUT.ANS
    - Displayed after a user logs out of the system.
18. NEWUSER_DUPLICATE_USERNAME.ANS
    - Displayed during the new user registration process when a user requests a username that is already in use
19. NEWUSER_EMAIL_MISMATCH.ANS
    - Displayed when the user enters two different string when entering their email address.
20. NEWUSER_ENTER_EMAIL.ANS
    - Prompts the user to enter their email address.
21. NEWUSER_ENTER_EMAIL_CONFIRM.ANS
    - Prompts the user to re-enter their email address to confirm it is correct.
22. NEWUSER_ENTER_PASSWORD.ANS
    - Prompts the user to enter the password they would like to protect their account with.
23. NEWUSER_ENTER_PASSWORD_CONFIRM.ANS
    - Prompts the user to re-enter the password they would like to protect their account with.
24. NEWUSER_ENTER_REALNAME.ANS
    - Prompts the user to enter their real name.
25. NEWUSER_ENTER_USERNAME.ANS
    - Prompts the user to enter the username they would like to protect their account with.
26. NEWUSER_HEADER.ANS
    - Displayed at the beginning of the new user registration process.
27. NEWUSER_PASSWORD_MISMATCH.ANS
    - Displayed when the user entered two different strings when trying to enter the password they would like to protect their account with.
28. NEWUSER_SUCCESS.ANS
    - Displayed when the user successfully enters all the required new user information.
29. RLOGIN_DENIED.ANS
    - Displayed when a user connects from a host that does not have permission to connect via the RLogin protocol.
30. RLOGIN_INVALID.ANS
    - Displayed when a non-RLogin connection attempt is made to a server thread expecting an RLogin connection.
31. SERVER_BUSY.ANS
    - Displayed when a user connects when there are no free nodes available.
32. SERVER_PAUSED.ANS
    - Displayed when a user connects when the server is in the "paused" state.
33. VERIFYEMAIL_ENTER_STRING.ANS
    - Prompts the user to enter the email verification string that was sent to their email address.
34. VERIFYEMAIL_FAILED.ANS
    - Displayed when the user enters a string that does not match the one that was sent to their email address.
35. VERIFYEMAIL_HEADER.ANS
    - Displayed at the beginning of the email verification process.
36. VERIFYEMAIL_SUCCESS.ANS
    - Displayed when the user successfully enters the string that was sent to their email address.