Difference between revisions of "Emuera/config"
| Line 41: | Line 41: | ||
In case of other than the above, i.e. if a normal ERB instruction is executed, the name of MASTER will be forcibly changed to "CHEATER".<BR> | In case of other than the above, i.e. if a normal ERB instruction is executed, the name of MASTER will be forcibly changed to "CHEATER".<BR> | ||
This is a measure to prevent abuse, since Debug Commands also has the nature of being cheats. | This is a measure to prevent abuse, since Debug Commands also has the nature of being cheats. | ||
| − | [[Category:EmuEra]] | + | [[Category:EmuEra]] [[Category:Contributing]] |
Revision as of 03:55, 2 July 2020
Debug Commands
※Debug Commands are not available by default.
Check the "Use Debug Commands" checkbox in the settings if necessary.
※This is a simple feature in versions without debug mode.
For debugging the current version, it is recommended to start with debug mode.
When the script is running (in game), entering a string beginning with "@" will be accepted as Debug Commands.
Case insensitivity depends on "Ignore capitalization" in emuera.config.
Debug Commands are specified in the same format as ERB.
For example,
@MONEY = 10000
@PRINTV FLAG:200
@PRINTFORM %NAME:MASTER%'s CFLAG(1) = {CFLAG:MASTER:1}
@ADDCHARA 1
It can be written as follows.
Also, if you simply enter a variable or formula, those values will be output
(A space after @ is not required below.)
@ FLAG:200
@ @"%NAME:MASTER%'s CFLAG(1) = {CFLAG:MASTER:1}"
However, instructions that change the flow of the script, such as IF and CALL,
and instructions that require input, such as INPUT and WAIT, cannot be used.
There are some instructions that are not in the ERB.
- @REBOOT
- Restart and re-read the emuera.config, csv and erb files.
- @OUTPUT
- Outputs the current log to emuera.log. If it already exists, it will be overwritten.
This is the same behavior as the OUTPUTLOG instruction.
- Outputs the current log to emuera.log. If it already exists, it will be overwritten.
- @EXIT
- Quit Emuera, which is the same as the QUIT instruction.
- @CONFIG
- Open the configuration dialog.
- @DEBUG
- Open the debug dialog. This only works if you start with debug mode.
In case of other than the above, i.e. if a normal ERB instruction is executed, the name of MASTER will be forcibly changed to "CHEATER".
This is a measure to prevent abuse, since Debug Commands also has the nature of being cheats.