Page 1 of 1
Error crashed the game
Posted: Sun Feb 09, 2020 1:48 am
by mroyer
Got this error during playtest - any ideas where I might look to fix this issue?
Thanks for any thoughts,
-Mark R.

RE: Error crashed the game
Posted: Mon Feb 10, 2020 6:40 pm
by Hubert Cater
Is it possible that your UNIT event script is currently empty? This might explain it even if it should not be crashing, i.e. a fault in my code etc.
If this is the case, could you try adding a dummy unit script event to see if this resolves it?
RE: Error crashed the game
Posted: Tue Feb 11, 2020 12:31 am
by mroyer
I have a pile of "scripts" in unit.txt. (Terminology question: what is a "script"? Is unit.txt a script, or is it a set of scripts, i.e., each {} block is a scrip?)
I'm certain I have a mistake that touched off the exception, but I'm not sure where to look. Until your response I wasn't even sure if it was a unit.txt issue. I will search that file to see if anything obvious is out of whack.
Thanks Hubert,
-Mark R.
RE: Error crashed the game
Posted: Tue Feb 18, 2020 10:50 am
by Hubert Cater
Apologies for not getting back sooner. I just use 'scripts' for each file, and 'events' for the events within the file, e.g. the blocks within {}, but there is no right or wrong, and essentially your file is not empty which is good to know.
If you have a crash save from the above please send it over and I'll be happy to take a look.