Counterfeit Monkey on Github

Well, at least it doesn’t crash before the first move on 6L38 anymore. Still doesn’t work properly, though.

I also stitched it back together – It was easier to check against the older versions that way. I’ll cut it up again later.

https://github.com/angstsmurf/counterfeit-monkey/tree/6L38

EDIT: The major bugs seem to be fixed. It might even be possible to finish now. It is just very slow; a mistyped command can take a full minute to parse.

EDIT 2: I got rid of most of the slowdown by replacing the new Threaded Conversation extension with a modified version of the old one that the original code used.

I haven’t looked much into the differences between the two, so I hope we don’t miss out on a lot of bug fixes in the new one.

Perhaps we could get more speed back by doing something similar with Smarter Parser.

EDIT 3: Finally got it to compile on 6M62! That took much too long. Apparently Sequential action is buggy on 6M62 – When I commented out the line in Locksmith that adds (- Constant SEQUENTIAL_ACTION; -) the compiler suddenly stopped crashing. No doubt disabling this will cause trouble elsewhere, but at least it’s playable at last. And it is fast!

EDIT 4: I noticed this was reported already: http://inform7.com/mantis/view.php?id=1838. Apparently it is the declarations of (- Constant SEQUENTIAL_ACTION; -) in both Locksmith and Facing that clashes.