MantisBT - Core Inform
View Issue Details
0000077Core InformScenespublic2010-06-20 01:082010-07-01 23:07
Ron Newcomb 
 
normalmildalways
closedfixed 
PPCMac OS X10.4
6E59 
6E72 
(serious/mild) Game compiles but misbehaves
0000077: explicit listing a rule after "scene change machinery rule" works but never runs. (with solution?)
Similar to previous bug. While "Last scene changing rule" won't list a rule last, the "is listed last" directive will. However, the rule placed just so won't run.

For the example, I get this transcript:
--------------

First.

last scene changing rule redux
An Interactive Fiction by Ron Newcomb
Release 1 / Serial number 100620 / Inform 7 build 6E59 (I6/v6.31 lib 6/12N) SD

spot

>test me
(Testing.)

>[1] z
Time passes.

First.

First.

>[2] z
Time passes.

First.

First.

>[3] z
Time passes.

First.

First.

>
"last scene changing rule redux" by Ron Newcomb


First scene changing rule: say "First."

Scene changing rule (this is the second correcting for off-by-one rule): say "Last."

The second correcting for off-by-one rule is listed after the scene change machinery rule in the scene changing rulebook.

spot is room.

test me with "z/z/z".
The possible solution: I6 function DetectSceneChange() should end with a "rfalse"?

-------I6 code------------

    .CScene;
    if (chs>10) ">--> The scene change machinery is stuck.";

    if (ch>0) DetectSceneChange(++chs);

    rfalse; ! INSERT THIS HERE??
];
No tags attached.
related to 0000075closed graham "Last scene changing rule" isn't. 
Issue History
2010-06-20 01:08Ron NewcombNew Issue
2010-06-20 01:14jmcgrewStatusnew => confirmed
2010-06-20 10:32jmcgrewRelationship addedrelated to 0000075
2010-06-20 10:35jmcgrewNote Added: 0000092
2010-06-20 10:35jmcgrewStatusconfirmed => resolved
2010-06-20 10:35jmcgrewResolutionopen => fixed
2010-06-30 18:07jmcgrewFixed in Version => 6E72
2010-07-01 23:07jmcgrewStatusresolved => closed

Notes
(0000092)
jmcgrew   
2010-06-20 10:35   
Graham mentioned in 0000075:0000074 that this has been fixed.