The place to discuss the ADRIFT Interactive Fiction toolkit

Behavior of saved game depends on when you RESTORE

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Behavior of saved game depends on when you RESTORE

Postby Denk » Tue Aug 13, 2019 4:01 pm

One of my playtesters just ran into this bug. I have now identified the problem. ADRIFT has a bug, which makes the behaviour of a saved game depend on when you restore the game.

In this attached example, the player must wait one turn before RESTORE otherwise, a bug will occur.
(15.23 KiB) Downloaded 88 times

Try running the attached taf-file and try the following:

adrift Code: Select all
1. Restart the game
2. Wait
3. Wait            [nothing happens]
3. Save temp       [any file name will do - here I use "temp"]
4. wait
5. wait            [nothing happens]
6. restart
7. wait
8. restore temp
9. wait
10. wait           [nothing happens]
11. restart
12. restore temp
13. wait           [bug occurs]

So the bug only occurs if the first command after restarting is RESTORE.

Note also, that if you want to reproduce this bug, the save file must not be saved immediately after restart. That is why I am waiting twice before SAVE TEMP.
The Bash Saga:
1. The Dragon Diamond 2. The Way Home 3. Stone of Wisdom
User avatar
Posts: 531
Joined: Mon Feb 22, 2016 6:21 pm
Location: Hjørring, Denmark
Points: 251

Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 4 guests