Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Goot on Sat 11/09/2004 04:12:09

Title: Two problems with custom save/load
Post by: Goot on Sat 11/09/2004 04:12:09
I made a custom save/load screen which shows screenshots and game names. (it reads the names off a hidden list box) However, I've got 2 problems. One is that if you save for the first time and then go back and do load, it doesn't show the game name. Then when you save a second time, it shows it and works perfectly from there on. The other problem is if the player selects an empty slot and presses load, nothing happens. (nothing is supposed to happen. I have it do return; if there's nothing in the slot) if they continue doing it for a while, they keep pressing load with an empty slot, it eventually quits with the error message: Too many screen overlays created. And I didn't create any screen overlays.
Thanks for any help.
Title: Re: Two problems with custom save/load
Post by: Rui 'Trovatore' Pires on Sat 11/09/2004 08:09:36
I believe both are oversights - the first one seems to be an oversight with strings or variables or something, something seems to be triggered only DURING the save code instead of before. As for the second problem, again it's an oversight. It may LOOK like it's doing nothing, but it's obviously doing something. Wait around for some AGS guru to come along, but you might want to post your code.
Title: Re: Two problems with custom save/load
Post by: Pumaman on Sat 11/09/2004 20:34:35
You'll need to post the script that you're using - there's no way we can tell the problem otherwise.