Updating HTML without losing save.

White Flare

Villager
Member
Joined
Mar 23, 2016
Messages
20
Reaction score
5
First Language
English
Primarily Uses
I'm having a friend test out my game on a makeshift website I'm hosting from my computer. Every time I re-deploy the game it wipes out his save file and he is getting sick of the intro. Is there a way to re-deploy without losing save data?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,671
Reaction score
2,993
First Language
Tagalog
Primarily Uses
I think you should be making the save on his computer, or make a backup of it before you redeploy then copy that backup into the deployment folder maybe.
 

Lynx Cat

Villager
Member
Joined
Mar 30, 2017
Messages
16
Reaction score
1
First Language
Portuguese
Primarily Uses
RMMV
AFAIK saves are lost whenever you add or change a plugin. If you just change minor stuff on the maps (e.g. events), then the save still works - that I know from experience. Not sure about major changes, adding/deleting maps, changing assets, and whatnot.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,569
Reaction score
6,893
First Language
German
Primarily Uses
RMMV
I suggest a different approach, because of the problems mentioned above - sometimes having an old save will cause problems.

Instead, start the game with a question for the intro weather to skip it or not (should do that anyway for player comfortability), and (during playtest only) add a new "playtest item" to the player.
Using that playtest item should call a playtest common event, and in that event use show choices for several overrides like transferring a player to a later map, gaining levels so that the new actors get the levels needed on later maps and so on.
 

White Flare

Villager
Member
Joined
Mar 23, 2016
Messages
20
Reaction score
5
First Language
English
Primarily Uses
I suggest a different approach, because of the problems mentioned above - sometimes having an old save will cause problems.

Instead, start the game with a question for the intro weather to skip it or not (should do that anyway for player comfortability), and (during playtest only) add a new "playtest item" to the player.
Using that playtest item should call a playtest common event, and in that event use show choices for several overrides like transferring a player to a later map, gaining levels so that the new actors get the levels needed on later maps and so on.
I actually already have this. The naming your character "debug" (earlier question i asked on the forums) lets the player access a special dev forest with NPC's to set level, stats, money, and the like.

I think you should be making the save on his computer, or make a backup of it before you redeploy then copy that backup into the deployment folder maybe.
I hit a weird situation where he has to clear his browser cache or it tries to just load the old version when visiting the page... Maybe I need to study some HTML as i may need to do more then just - Deploy for web, drop in apache as website.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Ugh! I have a headache coming on--not sure if it's from the sudden change in weather or caffeine withdraw...only one way to fi d out--Coffee time!
Found this old picture in the plastic case with my medical documents. I don't remember who this character is (I draw a lot of original characters and forgot about them very soon), but I like the design, may be I'll add guy in my game.

reading what makes plugins tick, so you can use other plugins to trigger said plugin... setup up Luna MV to have my own custom ATB Gauges from Yanfly's ATB. cool
It's Easter on Monday. Anybody got any Easter quarantine eggs? It'll also be my birthday, I'll be 31.
Sometimes I feel like I'm using plugins feature the wrong way. But as long as it works tho.

Forum statistics

Threads
95,799
Messages
932,023
Members
126,221
Latest member
Tsume
Top