Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002077Core InformRules and rulebookspublic2018-10-11 08:132018-12-03 06:34
ReporterSkinny Mike 
Assigned To 
PlatformOSMac OS XOS Version10.9.5
Product Version6M62 
Target VersionFixed in Version 
Summary0002077: trouble with getting a rule and/or rulebook to return a list of numbers
DescriptionA number based rulebook producing a list of numbers can be successfully created and compiles, but when compiled to Glulx, the game runs and then freezes when the result is called.
Minimal Source Text To Reproduce
Lab is a room. 

The set rules is a number based rulebook producing a list of numbers.

A set rule for a number (called n) (this is the default set rule):
   let x be {1, 2};
   add n to x;
   say "[x].";
   rule succeeds with result x.
Instead of jumping:
   let y be 20;
   let z be the list of numbers produced by the set rules for y;
   say "Boo!";
   say "[z].".
Additional InformationOutput (when compiling to Glulx only):

1, 2 and 20.

followed by this error message at the bottom of the window:

Glulxe fatal error: Memory access out of range (-7FFFFFD2)

The code works as expected when compiled to zcode. Output:

1, 2 and 20.
1, 2 and 20.

A thread was started here: [^]
TagsNo tags attached.
Effect(serious/mild) Game compiles but misbehaves
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-10-11 08:13 Skinny Mike New Issue
2018-12-03 05:30 Markus34 Issue Monitored: Markus34
2018-12-03 06:34 Markus34 Issue End Monitor: Markus34

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker