Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v. 1.4
The Fortress of Fear
Skybreak v 1.2
Lost Coastlines
The Lost Labyrinth of Lazaitch
the virtual human
The Dwarf of Direwood Forest
Classic Adventure
The Lost Children
Starship Quest
 
Latest Forum Posts
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
An' anuvver fing....
 
Latest Reviews
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1

Make a donation

Cursor  %object2% reference with no %object1% fails "exists" restriction

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Critical Mon 4th Aug 2014 1 vote Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.31.4 Fri 28th Nov 2014 5.0.33 Fri 28th Nov 2014 Log In
 
saabieMon 4th Aug 2014 10:16
If you write a task with an %object2% reference but no %object1% reference (which I did to try and find a workaround for bug #18924) then it fails the Referenced Object 2 must exist restriction, even though other debug output shows it as a blue pen.

Debugger messages:
Task 'Write text on assumed object' matches input.
Referenced Object 2 must exist: Failed
Referenced Object 2 must exist: Failed
Task doesn't pass restrictions, but is current highest priority failing task with restriction output.
Attempting to execute task Write text on assumed object...
Checking double reference task write hyjygy [with/using] a blue pen
Referenced Object 2 must exist: Failed
Failed Restrictions
First Reference: (no output)
Second Reference: a blue pen(no output)
 
CampbellThu 28th Aug 2014 21:51
Note to self, will need to store matching reference (%object2%) within clsNewReference structure.
 
saabieThu 27th Nov 2014 08:08
This is actually more serious than I though.
If you have a task with references then they MUST be written in the order %object1% %object2% %object3% or else ADRIFT will store them incorrectly.
In fact, no matter what order you write the references in the command line, ADRIFT will store them in numbered order, completely ignoring what you wrote.
So if you write the references: %object3% %object4% %object2%, the object keys get stored in %object1% %object2% %object3% instead.

Even more seriously, if you need a task like:
fill %object2% with %objects%
and the player types:
fill the drum with the water and the oil
Then what you get is:
%object2% = the water and the oil
%objects% = the drum

Changing the order of references for different commands in the same task like:
remove %objects%{,} %Character%
%Character%{,} remove %objects%
can also end up scrambled, especially if you try to pass references to a called task.
 
CampbellFri 28th Nov 2014 01:28
This should be fixed now.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster