My scripts won't compile! Why?
From OHRRPGCE-Wiki
There are various possible reasons why your plotscripts might not compile. To figure out what the problem is, you have to be able to answer the question: what happens when you try?
- Do you see an error message when you try to compile your script?
- Is the error message a Windows pop-up?
- Is the error message a DOS black-screen?
- Does a DOS black-screen popup and disappear before you can read it?
See I can't read the HSPEAK error screen! After you find out what the error message is, see the links below.
- Does a DOS black-screen popup and disappear before you can read it?
- Does the compilation appear to work, but then no .HS file appears?
Contents |
[edit] HSPEAK Problems
HSPEAK.EXE is the plotscript compiler. Errors that appear as white (or colored) text on a black DOS screen are most likely compiler errors.
- No data to compile
- Expected number but found ___
- Expected top-level declaration but found ___
- Unrecognised name ___. It has not been defined as script, constant, variable, or anything else
- I can't compile my script because it says that I haven't defined a standard command!
- Expected name but defineoperator block ended
- script ___ is missing end or )
- Script error! Failed to unlump (scriptid).hsx
- ERROR: file plotscr.hsd not found
[edit] HssEd Problems
HssEd is a script editor and front-end for HSPEAK. It is optional. You can write and compile scripts without using it.
[edit] File-System Problems
[edit] Other Errors
If you encounter an error message that is not listed here, feel free to add it to the list so a plotscripting guru can explain why it happens.
