If you edit Spencer dialog and use lua block comments taking out everything
after about node 52, FDDNM works fine. I did quite a bit of this block
commenting to narrow down problematic nodes.
What doesn't help are line like:
hide("nodeX") show("nodeY")
I don't think the lua interpreter appreciates those two commands on the same
line and the behaviour IMO is undefined. Probably the hide command gets executed
but the show command -- maybe.
FDDNM was never meant to be a syntax checker for lua. If the code is bad, FDDNM
will fail - period. The segmentation fault is not always because of it's code.
Sure the error handling could be better, but I still make no promises in parsing
bad code. |