Scenario: APP_NAME reflected in the log
Scenario: APP_NAME reflected in the welcome message
Scenario: APP_NAME used when trying to ignore a staff member
Scenario: APP_NAME used in user list
Scenario: APP_NAME used in conference help
Scenario: APP_NAME reflected in the main menu
Scenario: APP_NAME reflected in the account menu
Scenario: APP_NAME reflected in the character menu
Scenario: APP_NAME reflected in welcome back message
Scenario: APP_NAME used in high score list
(In retrospect, I should probably go back and make the naming more consistent.)
After writing the support code for these, I still couldn’t get “APP_NAME used when trying to ignore
a staff member” to pass. Instead of the expected chastisement:
…we get nothing. Looking in the logs for some insight:
6/25/2016 10:50:05 AM: {SystemFailure} DBPlayer.getPlayerTable(142, ImpLevel) Field was not found in any player table.
ImpLevel? But in my database it’s actually impLevel, and everywhere else in the code it’s
referred to as impLevel. Let’s check the scripts bundled with the server code:
Oh, so it’s actually supposed to be ImpLevel. Messed around with SQL Server a bit to make sure
I’m being properly case-insensitive, but that doesn’t help much when the server code is grabbing
all fields and doing a string compare.
Scenario: APP_NAME used in high score list
Given I use the "minimal" database as-is
And I set "APP_NAME" in the config file to "Test HigSco"
And the server executable is started
And I allow time for the server to complete startup
When I log on using a standard account
And I enter the chat
And I issue the high scores command
Then I saw a high score list with application name "Test HigSco"
Doesn’t seem like it should be a problem, right? But the command /scores all is just returning
usage info for the scores command. We know well enough to check the logs: