Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002093I6 LibraryGeneralpublic2019-03-23 17:482019-03-26 22:49
Assigned ToDavidG 
PrioritynormalSeveritymildReproducibilityhave not tried
PlatformOSOS Version
Product Version6/12 
Target Version6/13Fixed in Version 
Summary0002093: Entering a door that lacks a "door_dir" property sends player to limbo.
DescriptionThis was sent to me by Jason Self.

Suppose we have an object with a door property, but no door_dir property. If you try to ENTER the object (or SIT or STAND ON), the result is something like this:

(on top of the door)

[** Programming error: Room (object number 37)  has no property <number
0> to read **]

[** Programming error: tried to "move" yourself to Class **]

[** Programming error: tried to find the "child" of Class **]

It is pitch dark, and you can't see a thing.

The Room

[** Programming error: tried to "give" an attribute to Class **]
Additional InformationAlso reported at [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
DavidG (developer)
2019-03-23 18:41
edited on: 2019-03-23 18:42

Constant Story "DOOR BUGS";
Constant Headline "^An Interactive Bug Reproduction^";
Constant DEBUG;
!Constant NO_SCORE;

Include "parser.h";
Include "verblib.h";

!statusline time;

Object Start_Room "Somewhere"
  with description "You're not sure where you are.",
  has light;

Object -> mysteriousdoor "mysterious door"
	with name 'mysterious' 'door',
	description "A huge and mysterious door just standing in the middle
		of the room.",
	with_key onyxkey,
	has static door openable locked;

Object -> onyxkey "onyx key" 
	with namy 'onyx' 'key',
	description "An old-fashioned warded key with a handle of black
		onyx.  It is inscribed with ~PROPERTY OF MANGAR~.";

[ Initialise;
  location = Start_Room;
!  sys_statusline_flag = true;
!  the_time = 45;

  "It is time to do some bugfixing...";

Include "grammar.h";

DavidG (developer)
2019-03-26 21:25

Fascinating. This bug goes at least as far back as 6/11 (6.11)
DavidG (developer)
2019-03-26 22:35

If an object has the "door" attribute but lacks a "door_dir" property, then attempting to enter the door, the player will be sent to some sort of limbo where it's dark, but the outside room is still visible. This happens whether or not the door is closed.
DavidG (developer)
2019-03-26 22:49

Fixed in [^]

- Issue History
Date Modified Username Field Change
2019-03-23 17:48 DavidG New Issue
2019-03-23 17:48 DavidG Status new => assigned
2019-03-23 17:48 DavidG Assigned To => DavidG
2019-03-23 18:41 DavidG Note Added: 0004834
2019-03-23 18:42 DavidG Note Edited: 0004834 View Revisions
2019-03-26 21:25 DavidG Note Added: 0004837
2019-03-26 22:35 DavidG Note Added: 0004838
2019-03-26 22:38 DavidG Assigned To DavidG =>
2019-03-26 22:38 DavidG Assigned To => DavidG
2019-03-26 22:40 DavidG Summary SIT ON DOOR causes a cascade of errors => Entering a door that lacks a "door_dir" property sends player to limbo.
2019-03-26 22:40 DavidG Description Updated View Revisions
2019-03-26 22:49 DavidG Note Added: 0004839
2019-03-26 22:49 DavidG Status assigned => resolved
2019-03-26 22:49 DavidG Resolution open => fixed

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker