Type98 Posted April 19, 2006 Share Posted April 19, 2006 Ran the Linux server today and accidently entered "objective" rather than "Objective" and the server ran without complaining about bad syntax. The default game type was CTF though and not Objective with "-gametype objective". Link to comment Share on other sites More sharing options...
ClaytoniousRex Posted April 19, 2006 Share Posted April 19, 2006 Scenario authors can create any number of game types in their scenarios and give each of them its own name. Many of our scenarios in the base game have game types called "Objective" and "CTF" in them, but there's nothing magic about these names. Over time, when players create their own scenarios or when we release new ones, there will be other game types such as "Capture the Comm Station" or "Destroy the Bridge". So we can't reject the game type you have entered on the command line as "bad syntax" simply because the first scenario in your server's list doesn't contain that game type. We could, however, treat the game type names as case insensitive. This still wouldn't have helped if you had used a game type of "Objektive" but at least it would have helped you in the case of "objective". Link to comment Share on other sites More sharing options...
Type98 Posted April 19, 2006 Author Share Posted April 19, 2006 Thanks for the answer, it make sense to have that flexibility. Just a suggestion: Can the game code do a quick scan of the scenarios to see if what was typed on the command line is actually available or least put something in the log such as gametype=objective requested; gametype=CTF started ? It took a while to find the typo. Link to comment Share on other sites More sharing options...
ClaytoniousRex Posted April 19, 2006 Share Posted April 19, 2006 Yes, we can definitely do that. Link to comment Share on other sites More sharing options...
Recommended Posts