[Resolved][XP] AutoSave

Started by Darok, June 14, 2009, 06:47:03 pm

Previous topic - Next topic

Darok

June 14, 2009, 06:47:03 pm Last Edit: June 14, 2009, 10:08:49 pm by Darok
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.

Calintz

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.

Ryex

If you really really need it pm Jcsnider I think he has something close
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Starrodkirby86

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.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




Darok

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!