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,670
Reaction score
2,992
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,232
Reaction score
6,777
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 Profile Posts

40 card deck size, the plugin seems more sluggish.
Village theme I composed for a commission!
Stream will be live shortly with some Haunting Ground! Feel free to drop by!
welp, the stock market went down by 7% because of corona today. Time to buy stocks?
Man, being able to edit my game WHILE testplaying it is like the most convenient thing EVER. Thank you, MV...it even makes up for the OGG thing. Well, almost.

Forum statistics

Threads
94,559
Messages
921,879
Members
124,422
Latest member
paperrocker
Top