Auto-Save Plugin

Hello there. I would like to request (if one doesn't already exist) a basic auto-save plugin. In my game, certain items are randomized in quality, and I don't want players to abuse it by creating a save file, and then just re-loading the save file if they don't get the "best quality" item they can.

Thanks for your time 🙂
Whats the increment this should save on, every 1 ... 2 .... 3 .... 10... 15.... 30 minutes? You can also do auto save based on events, plot points and so on if that your thing. 
I'm thinking on map transitions, if that isn't too heavy on load-times and whatnot, and would also like to  have the option to force an auto-save via a plug-in command. 😀
Saving and loading games doesn't cause a lot of traffic, since it's always done local (either to a file or your browser's local storage) as opposed to reading data/image/audio files, which might need to be read from a distant server.
I implemented that in my game. Give me a few minutes and I'll turn it into a plugin.
I implemented that in my game. Give me a few minutes and I'll turn it into a plugin.
this might save me from writing the plugin although i might for my game as i have specific use cases
Here you go.

ooooo this is nice
Wooooot! Thanks Hudell <3 <3
Sorry if I don't post in the right topic but this is the only one that I've foud that is talking about this plugin.
I don't work on any on my projects, when i load the save, I got the TypeError, Cannot read property 'name' of null
Sorry if I don't post in the right topic but this is the only one that I've foud that is talking about this plugin.
I don't work on any on my projects, when i load the save, I got the TypeError, Cannot read property 'name' of null



Hm, that's probably an incompatibility with another plugin. Can you see if the same problem happens in an empty project?


If you can make a sample demo game where this error happens and send it to me, I can investigate what's causing it, even if it is an incompatibility issue.
Same problem on an empty project or in my project with all other plugins disabled..

EDIT : I forgot, It happend when you load a save made with this plugin
OK, found the problem and fixed it.


Old save files will still cause that problem, but new saves from now on will be ok.
Oh nice thanks !
By the way, is there any way to autoload a save ?
Not on this plugin, but it's possible someone made one for that.
Ok thanks !
@Hudell


Hey, thanks for the nice plug-in.  How about I allow the player choose the save slot at the beginning of the game and I want the auto save to save at the selected slot.  How to do this with the plug-in of yours? 
@Hudell


Umm... I have a small problem here.  I hide the save menu option from the game.  And I create a event to allow player to choose the save slot when he/she touched it.


While you plug-in is active it won't allow the player to save, but when you move the cursor away it's actually save but it won't allow any overwrite.  (I make the 'AutoSaveSlot' option to be 'true' as it says to make it save on the last save slot).  The plug-in also makes the game cannot load too.  Please advise.
In the event that you created to choose the save slot, add this script call:


Hudell.OrangeAutoSave.Param.currentSaveSlot = 1;


Just change the number 1 by the number of the chosen slot.
@Hudell


Thanks for the assist, but how do I know which number of slot the player going to choose?

Original thread: https://forums.rpgmakerweb.com/threads/auto-save-plugin.53325/