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,642
Reaction score
2,972
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
28,992
Reaction score
6,673
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

Transferring over the character creation to MMO MV is going okie-ish, but slow~ Mainly image assets reformatting/reworking I have to do to work in this engine is a pain. XD At least the MMO battles works pretty well so far! Woop woop! :kaoluv:
At this point I'm sorta convinced that the joke "they mix something in the cafeteria food" may be true. Like, every single person seems to be dozing off in class right after lunch...
Saying overused tropes are bad is like saying I - IV - V - I chord progression is bad.
I swear, the last 3 weeks I haven't felt like helping people at all. No idea why, even if I know the exact solution they need. Might need to harness my inner @Shaz or something. :LZSexcite: :thumbsup-right:
Look, I get that it's illegal, but...

Forum statistics

Threads
93,478
Messages
912,823
Members
123,017
Latest member
thurein
Top