Sprites gone but not forgotten (BUG)

Started by Alynn, Wed 31/03/2004 17:22:14

Previous topic - Next topic

Alynn

Ok, I seemed to have lost the 13 sprites I imported last night into my game, not a huge deal, at first I thought I didn't save, however, All the scripting I did last night for the view to work in the sprites I made last night were there. Well that was strange, but since I only lost 13 sprites, I wasn't too worried, I could just reimport them... so thats what I started to do... which worked fine

Then I tried to change their sprite numbers to what they were last night, and lo and behold, it said that sprite number already existed...

So what it seems to me, AGS still sees the sprites numbers, but they arent showing up in the sprite manager...

Is this a bug, or is there a fix that someone knows about that they can enlighten me with (**BTW AGS 2.6 SP1 version**)

EDIT: Oddly enough the first sprite still shows up in the room as an object, but if I try to change it it says the sprite doesn't exist... so I really don't know what is going on anymore...

Also, I can add new sprites with no problems, just can't change the numbers to what I had them last night.

Pumaman

Did the sprites all appear in the sprite manager when you originally imported them? Which method of import did you use (paste from clipboard/import from file/import multiple files)?

Alynn

Yes they did... I made the view (which disappeared as well but I figured that had to do with the sprites going bye bye)

And I believe I did them one at a time...

I also found that the inventory icon I imported last night was gone (same number problem) and that was a one time import...

Also, that inventory item I made last night disappeared alog with the sprite that went with it... and all the interactions I had set up last night...

All in all it looks like my game file got corrupted... but not badly enough to kill my entire game... But I hope that info helps

Pumaman

#3
Seems like the sprite file got saved successfully, but the game data file didn't. You're not running low on disk space, are you?

You said the script was still there - was it a room script or in the global script?

Also, are any of the files in the game folder marked Read-only?

Alynn

#4
2.35GB free... so I know I'm not low on disk space....

and it was a room script

However, the inventory scripts I did last night were not saved... and a couple of the global script changes I made...

And nothing is read only.

Oh and I did test the game quite a few times last night while making sure all the interactions I was adding were correct, and everything worked like it was supposed to...

Pumaman

Strange - it seems like the room and sprite files were saved properly, but for some reason the main game file wasn't saved. I have to say I'm baffled as to what might cause that, I've never had a report of this happening before. Either it should all save or nothing.

Has it only happened the once?

Alynn

Well, after I found out about it today I havn't closed AGS (as I was in the middle of editing when I found out that little problem, so I'm afraid of it happening again...

HOWEVER, I just did a save, and check the files, and  ac2game.ags, ac2game.dta, were updated to the corect time, I'm asuming the spr file is only saved if anything new was added to the sprites, and the last sprite I added was 2 hours earlier, so that is the right time... all the backup files are timed just before that....

So I guess maybe it was just a hiccup (my term for odd things that happen probably 1 in a million chance with the hard drive working, and memory usage, so on and so forth...)

Gilbert

Hmmm are you sure you'd checked all the folders in the sprite manager?

Alynn

yup all the folders, they are nowhere to be found...

Pumaman

Very odd. Well, I'll add a tool to the editor to detect and remove any "orphan" sprites, so at least it could clean the game up that way. But if it happens again, please do let me know.

SMF spam blocked by CleanTalk