I've encountered a bug related to EVENTs and RULEs.
When I've added the following code to a pre-existing adventure, the compiled game would hang forever on entering the level5 location:
WHEN hero AT Level5 =>
SCHEDULE Level5Event AT Level5 AFTER 0.
EVENT Level5Event
IF hero at Level5 THEN
"$pA supernatural voice screams at you:
$n""Mortal, are you worthy of using the StdLib?"""
SCHEDULE Level5Event AT Level5 AFTER 0.
ELSE
CANCEL Level5Event.
END IF.
END EVENT.
I wasn't able to provide a link to the full adventure because it was a WIP adventure that wasn't committed to any repository, but I'm positively sure that the above code was the sole culprit of the terp hanging.
Possibly this leads to a stall situation which is not being foreseen by the compiler.
I've encountered a bug related to EVENTs and RULEs.
When I've added the following code to a pre-existing adventure, the compiled game would hang forever on entering the
level5location:I wasn't able to provide a link to the full adventure because it was a WIP adventure that wasn't committed to any repository, but I'm positively sure that the above code was the sole culprit of the terp hanging.
Possibly this leads to a stall situation which is not being foreseen by the compiler.