Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Has anyone had their database revert back to a previous state?

shaenedvird

Villager
Xy$
0.00
So, pretty much all the work I did last night in my database has been reverted to the way my database was yesterday. The common events I worked on are gone. The switches and variables that I named are now un named. Basically, if it's in the database, it's not entirely gone... but it's back to how it was before I went to sleep last night. Also, all the plugins I changed since last night have reverted back to how they were then.

What's weird about that, is all the work I did on the maps are still there. All the events on those maps are still there.

It was a lot of work lost. I had made a system for using torches to light up the area around you in places that were dark, and you have to continue to use torches or it will completely darken, and you'll have to fight with the blind condition.

Anyway, all that's gone, because most of it was common event. I'll have to redo it, and it took forever to get everything to work right.

I can handle loss of data. It wouldn't be the first time. What I don't like though is not understanding why it happened.

I really did nothing. It was all available on my computer like 30 minutes ago. The only things that I did between this was... I added some files to my project folder (but I did not touch the data folder), and I did a battle test in the troops tab. It asked me if I wanted to save. I clicked yes, played, and realized, "Hey, it's using a battle system plugin that I made changes to a long time ago. WTF" I go out to see what's wrong, and everything is changed.

I have no idea why... And, I'm frankly scared to put a lot of effort into developing with this if I don't understand why.
 

shaenedvird

Villager
Xy$
0.00
I just wanted to add, I went ahead and re-"evented" or re-programmed my little torch light thing. It's not finished, but the work this time around is a lot neater and more direct. Last time I Felt like there were so many hoops I jumped through to get to the solution of my problem when there was much simpler way to do it, that I have now found -- or, am working out again. So, on the bright site, it'll be okay.

I just worry, and from now on I'm going to have to back up my folder every time I come across a solution I don't want to lose and have to find again.
[doublepost=1476472460,1476469560][/doublepost]Okay, so...

I discovered what happened.

I had two instances of my desktop open, with two instances of RMMV open. Without realizing I was in another instance than I was in where I was working currently, my open project reflected an older version of my game, where the work I had done in the other instance never happened. When I playtested, it saved, and saved over everything. When I closed the program and tried to open it, it was reverted.

At least... that's what I think happened. I'm keeping back ups either way and suggest you might should also.
 
Top