Save Game Deleted.

Lelou

Villager
Member
Joined
Jan 19, 2015
Messages
14
Reaction score
2
First Language
Italian
Primarily Uses
Hi, sorry to bother. I wanted to ask a question.


While using this script: 




If i show a picture the game then can't save anymore and it deletes the files if you try to save again. I'm trying to figure out why, hope someone can help.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.



Make sure the picture is still not in memory when  you try to save. If it is, the game will usually fail to save, and do exactly what you just described. That may require resetting the variable to 0 once you are done with using it to show a picture.
 

Lelou

Villager
Member
Joined
Jan 19, 2015
Messages
14
Reaction score
2
First Language
Italian
Primarily Uses
Ok, thanks a lot. I used this to have a png image always on the screen, but i guess i can't do that with this script. Sorry for posting in the wrong forum.


So... i need to use another script or make the game reset the variable to 0 when i open the menu...? Is it possible?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
That script actually saves sprites and bitmaps into $game_system, which is saved with the save file, and that is a disaster code-wise and gameplay-wise as well.


Because the save file can not contain sprites/bitmaps, the save fails, and the save file will be deleted (because it is corrupted already and not usable).


I suggest you search for another script instead.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top