Two problems with custom save/load

Started by Goot, Sat 11/09/2004 04:12:09

Previous topic - Next topic

Goot

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.

Rui 'Trovatore' Pires

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.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

You'll need to post the script that you're using - there's no way we can tell the problem otherwise.

SMF spam blocked by CleanTalk