Auto-Save Plugin

Status
Not open for further replies.

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,317
Reaction score
818
First Language
English
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 :)
 

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
210
First Language
English
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. 
 

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,317
Reaction score
818
First Language
English
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. :D
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
863
First Language
German
Primarily Uses
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.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
I implemented that in my game. Give me a few minutes and I'll turn it into a plugin.
 

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
210
First Language
English
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
 

Jaggerwock

Villager
Member
Joined
Jan 17, 2016
Messages
6
Reaction score
0
First Language
French
Primarily Uses
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
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
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.
 

Jaggerwock

Villager
Member
Joined
Jan 17, 2016
Messages
6
Reaction score
0
First Language
French
Primarily Uses
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
 
Last edited by a moderator:

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
OK, found the problem and fixed it.


Old save files will still cause that problem, but new saves from now on will be ok.
 

Jaggerwock

Villager
Member
Joined
Jan 17, 2016
Messages
6
Reaction score
0
First Language
French
Primarily Uses
Oh nice thanks !
By the way, is there any way to autoload a save ?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
Not on this plugin, but it's possible someone made one for that.
 

mistfox

Villager
Member
Joined
Oct 28, 2016
Messages
14
Reaction score
0
First Language
Thai
Primarily Uses
RMMV
@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? 
 
Last edited by a moderator:

mistfox

Villager
Member
Joined
Oct 28, 2016
Messages
14
Reaction score
0
First Language
Thai
Primarily Uses
RMMV
@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.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,545
Reaction score
3,715
First Language
Java's Crypt
Primarily Uses
RMMZ
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.
 

mistfox

Villager
Member
Joined
Oct 28, 2016
Messages
14
Reaction score
0
First Language
Thai
Primarily Uses
RMMV
@Hudell


Thanks for the assist, but how do I know which number of slot the player going to choose?
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top