This bug report utilizes the unlock.zs script described here:

https://www.armageddongames.net/showthread.php?98648

Steps to recreate:

  1. File->New
  2. ZScript->Compiler Settings
  3. In the Global Settings tab, backspace out "run" and type "main"
  4. Click 'OK'
  5. ZScript->Compile ZScript...
  6. Click 'Load'
  7. Click 'Yes' to erase the current buffer
  8. Load unlock.zs; about 157 bytes should be loaded into the buffer
  9. Click 'Edit'
  10. change "void run()" to "void main()"
  11. Press ESC
  12. Click 'Yes' to save changes to buffer
  13. Click 'Compile'
  14. Observe ZScript compiler fails with return code 11 and the following error printed in the zconsole.exe external parser window:


Code:
[Error] ZQ_BUFFER Line 3 @ Column 1 - Line 9 @ Column 2 - Error S011: Script SecretSound needs a void run() function.