Page 1 of 1

Behavior of saved game depends on when you RESTORE

PostPosted: Tue Aug 13, 2019 4:01 pm
by Denk
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.
EventBug.taf
(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.