Editing
Terminal
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Errors === There are 6 (internally, 7) error messages that can display for various invalid command uses. 3 of them are contained in '''terminalList.txt''' and 3 are in '''TerminalState.hx'''. They are as follows: {| class="wikitable" style="margin:auto" |+ 6 errors |- ! Error !! Text !! Cause |- | '''term_unknown''' || ''Unknown command "[input]"'' || Using an invalid command |- | '''term_grant_error1''' || ''[input] is not a valid user or character.'' || Using an invalid parameter for the second argument of ''admin''.<br>Does not display if the first argument is also invalid. |- | '''term_admin_error1'''<br>'''term_admin_error2'''<br>(used together) || ''No version of the "admin" command takes [number] parameter(s).'' || Using anything other than 0 or 2 arguments for ''admin''. This<br>displays regardless if the first argument is entered correctly.<br>The number of arguments is counted by each word proceeding<br>from ''admin'' separated by whitespace. |- | ''No variable name'' || ''File not found.'' || Using an invalid parameter for ''open'' |- | ''No variable name'' || ''Invalid keys. Valid keys: [number]'' || Using any fewer than the 3 parameters for ''vault''. The number<br>counts how many correct parameters were in the input; for<br>example, using ''vault free'' will return ''Invalid keys. Valid keys: 1''. |- | ''No variable name'' || ''Invalid Parameter'' || ''Intended'' to appear when the first argument of ''admin'' is invalid, but<br>it does not display in the game. |} The last error message listed is bugged - henceforth, when the player uses the ''admin'' command with two arguments and the first one is invalid, it returns nothing. This is because the code that handles the admin command output does not reset the previous text in the ''else'' branch of the statement evaluating if the first argument is ''grant''.
Summary:
Please note that all contributions to Dave and Bambi Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Dave and Bambi Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information