Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Darok on June 14, 2009, 06:47:03 pm

Title: [Resolved][XP] AutoSave
Post by: Darok on June 14, 2009, 06:47:03 pm
Hi! I need for my Game an Auto Save Syestem.
I want that every 5 Minutes the Game Save in the First File.
I dont know if posible but i really need it.
And if posible, that using a Call Script, the System go off and with other call script On( So in the Midle of a Puzzle you cant save)
If need more Info Ask me.
Title: Re: [XP] AutoSave
Post by: Calintz on June 14, 2009, 06:54:29 pm
I don't like that idea at all!!
I've never even heard of this used ...

Why you just make a common event called "autosave" that calls the save menu, and after every big puzzle near the end of the event code, call the common event.
Title: Re: [XP] AutoSave
Post by: Ryex on June 14, 2009, 07:03:29 pm
If you really really need it pm Jcsnider I think he has something close
Title: Re: [XP] AutoSave
Post by: Starrodkirby86 on June 14, 2009, 07:14:01 pm
http://forum.chaos-project.com/index.php?topic=2541.0

You can try launching the code from an in-game timer via Common Event or something. Like a Call Script...The topic above will help though.
Title: Re: [XP] AutoSave
Post by: Darok on June 14, 2009, 10:08:15 pm
QuoteI had forgotten I made that >_>
I would suggest using this instead

class Scene_Save
  def self.save(file_index)
    save_obj = self.new
    file = File.open(save_obj.make_filename(file_index), "wb")
    save_obj.write_save_data(file)
    file.close
  end
end


The syntax is: Scene_Save.save(slot)
For example Scene_Save.save(0) saves to the first slot and Scene_Save.save(3) saves to the last slot.

*hugs*
- Zeriab

Exactly what i want, well, better!
Thanks Zeriab for the Script and Starrodkirby86 for searching it for me. Level up Both
Thanks!