Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ytterbium on Sat 31/01/2004 02:31:19

Title: MAJOR BUG: Room Data Deletion
Post by: Ytterbium on Sat 31/01/2004 02:31:19
I've just had almost all data from one of my rooms deleted. The only things that were left were the room variables, the room messages, and the walkable areas. Everything else: hotspots, interactions, regions, background...gone. I don't know how it happened, but I'd like something to be done about it to prevent it.
Title: Re:MAJOR BUG: Room Data Deletion
Post by: Darth Mandarb on Sat 31/01/2004 04:08:32
This happened to me too!

Twice so far actually.

I just thought I was doing something stupid that was causing it to happen.  Like not saving before testing or something.  But almost the identical thing happened to me (twice!).

I'd also be curious to know why it happens.

I started the game and when I got to the effected room it was just all black.  I could walk about the areas (walkable) but the background was gone.  All objects were deleted as well.
Title: Re:MAJOR BUG: Room Data Deletion
Post by: Ytterbium on Sat 31/01/2004 14:32:31
Wait...did you happen to load the demo game into AGS before it happened?

I did that to look at some of its dialog scripts, and then the room was messed up when I reloaded my game.
Title: Re:MAJOR BUG: Room Data Deletion
Post by: Pumaman on Sat 31/01/2004 14:56:51
I've had a report of this before, but we could never figure out what caused it.

QuoteWait...did you happen to load the demo game into AGS before it happened?

Aha!! Yes, if you load a different game into the editor, it partially wipes out the currently loaded room, but not completely. And it still retains the filename of the room, so if you then select "Yes" in the "Do you want to save the room" dialog, it'll save this wiped out room over the old one.

Well spotted, thanks for the tip off. I'll get it fixed.

In the meantime people, I'd suggest not using the File, Load Game option. If you want to load a different game, quit the editor, start it up again, and select one from the welcome dialog.