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
-
DISCONNECT_NODE.ANS
- Displayed with the DISCONNECT_NODE menu command is executed.
-
EMAIL_VERIFICATION_SEND.ANS
- Displayed when an email verification message is being sent.
-
EMAIL_VERIFICATION_SEND_FAIL.ANS
- Displayed when the email verification message fails to send.
-
EMAIL_VERIFICATION_SEND_SUCCESS.ANS
- Displayed when the email verification message is successfully sent.
-
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).
-
EXCEEDED_CALL_LIMIT.ANS
- Displayed when a user is logged in, and uses all the time given to them for that call.
-
EXCEEDED_DAILY_LIMIT.ANS
- Displayed when a user is logged in, and uses all the time given to them for that call.
-
EXCEEDED_IDLE_LIMIT.ANS
- Displayed when a user doesn't press a key for a certain length of time.
-
LOGIN_ENTER_PASSWORD.ANS
- Prompts the user to enter their password during the login process.
-
LOGIN_ENTER_USERNAME.ANS
- Prompts the user to enter their user name during the login process.
-
LOGIN_FAILED.ANS
- Displayed after three invalid username/password attempts.
-
LOGIN_INVALID.ANS
- Displayed after each invalid username/password attempt during the login process.
-
LOGIN_SUCCESS.ANS
- Displayed when a valid username and password are entered during the login process.
-
LOGIN_TWIT.ANS
- Displayed after a successful login if the user is assigned to the "twit" user group.
-
LOGIN_TWO_NODES.ANS
- Displayed after a successful login if the user is already logged into another node.
-
LOGOUT.ANS
- Displayed after a user logs out of the system.
-
NEWUSER_DUPLICATE_USERNAME.ANS
- Displayed during the new user registration process when a user requests a username that is already in use
-
NEWUSER_EMAIL_MISMATCH.ANS
- Displayed when the user enters two different string when entering their email address.
-
NEWUSER_ENTER_EMAIL.ANS
- Prompts the user to enter their email address.
-
NEWUSER_ENTER_EMAIL_CONFIRM.ANS
- Prompts the user to re-enter their email address to confirm it is correct.
-
NEWUSER_ENTER_PASSWORD.ANS
- Prompts the user to enter the password they would like to protect their account with.
-
NEWUSER_ENTER_PASSWORD_CONFIRM.ANS
- Prompts the user to re-enter the password they would like to protect their account with.
-
NEWUSER_ENTER_REALNAME.ANS
- Prompts the user to enter their real name.
-
NEWUSER_ENTER_USERNAME.ANS
- Prompts the user to enter the username they would like to protect their account with.
-
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.
-
NEWUSER_SUCCESS.ANS
- Displayed when the user successfully enters all the required new user information.
-
RLOGIN_DENIED.ANS
- Displayed when a user connects from a host that does not have permission to connect via the RLogin protocol.
-
RLOGIN_INVALID.ANS
- Displayed when a non-RLogin connection attempt is made to a server thread expecting an RLogin connection.
-
SERVER_BUSY.ANS
- Displayed when a user connects when there are no free nodes available.
-
SERVER_PAUSED.ANS
- Displayed when a user connects when the server is in the "paused" state.
-
VERIFYEMAIL_ENTER_STRING.ANS
- Prompts the user to enter the email verification string that was sent to their email address.
-
VERIFYEMAIL_FAILED.ANS
- Displayed when the user enters a string that does not match the one that was sent to their email address.
-
VERIFYEMAIL_SUCCESS.ANS
- Displayed when the user successfully enters the string that was sent to their email address.