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,656
Reaction score
2,981
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,229
Reaction score
6,769
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

I miss working in rpgmaker but I can only do one thing at a time. Maybe after drawing lessons I can come back.
Ever have a day like... you play minesweeper and your very first click is always a mine?
Today's patch of Eternal Dreamers is for all the gamblers out there! https://bit.ly/327mu83
i deleted anime only family guy from now on
I've discovered Stardew Valley and now I'm an addict. To think that one person designed this...

Forum statistics

Threads
94,336
Messages
920,044
Members
124,095
Latest member
rykerior
Top