Page 1 of 1

[0.12.12] Crash with a syntactic typo in code

Posted: Wed Oct 21, 2015 6:37 pm
by Adil
Whilst searching for errors in one of my mods I've come over this crash with this code.
The code contains a typo, which causes a crash even before interpreter reaches the erroneous line of code.
code
What's weird for me is that it keeps coming up with new ways to crash with the same code.
First crashlog
If you keep poking it, it'll dump this:
Different crashlog
EDIT: Yes, it definitely hates bad grammer now, I've faced another one when put space between "else" and "if".

Re: [0.12.12] Crash with a syntactic typo in code

Posted: Wed Oct 21, 2015 7:28 pm
by orzelek
Please add mod and zip with save file :)

Re: [0.12.12] Crash with a syntactic typo in code

Posted: Wed Oct 21, 2015 8:36 pm
by Adil
It's not a mod or save, it's interpreter issue.
You can actually crash the game by typing the following

Code: Select all

/c if (true==false then end
or by making a typo in a script.
Crashing with the console typo

Re: [0.12.12] Crash with a syntactic typo in code

Posted: Wed Oct 21, 2015 8:59 pm
by prg
That's the pcall on Linux thing, you already commented in that thread.