Restoring a Saved Game ERROR

steve the gaming guy
20 Jun 2005, 20:58
I think I should be addressing Al or MaDbRiT but if any of you have a suggestion, please let me know.

I have been notified that a game I entered in the archive seems to have a problem restoring. The game is King's Quest V - Part One.
The problem is when at any point in the game, you are killed, if you click the "restore a saved game", it will allow you to choose a saved game and then act like it's going to open but then suddenly the following error appears and shuts Quest down:

Run-time error '9':
Subscript out of range



If you open Quest up and then open the game and restore the game, it opens to the saved point with no problem.

Any idea what the problem could be? If you need the code, you can either download the game from the archive or if you'd like, I can pm/email the code to you. It's a rather long code so that's why I think I would just send it directly to you....

Thanks!

MaDbRiT
21 Jun 2005, 07:40
Steve


Failure to restore properly from a saved game position sounds suspiciously like a genuine bug in Quest itself to me. What we as coders do shouldn't really affect Quest's ability to restore from a saved position.

Seeing as though you say it works fine if you start a new instance of Quest and load the saved position into that, my guess is there is something 'not quite right' with the restore code within the Quest player.

If you've not done so already, send a bug report to Alex (ideally with the qsg file and instructions on how to make it 'fail'.

Al (MaDbRiT)

francisstokes
21 Jun 2005, 15:56
I get that error wheni accidently put a peice of code thats supposed to be on 1 line onto 2.

Probably not relevent though.

steve the gaming guy
21 Jun 2005, 17:42
Thanks, MaDbRiT!