From e07b2da8d90f955dbe01737e9bfdb73ddaa3bd83 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 28 Jun 2006 16:09:13 +0000 Subject: - Cleaned up a bit the code for @item - Fixed character/storage being sent to be saved TWICE when you logged out while the storage is opened. - Added save_settings map config. Specifies after which events do characters get saved (defaults to all): 1 - Trade successful, 2 - Vending transaction, 4 - Closing storage/guild storage, 8 - hatching a pet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7375 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/map_athena.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'conf-tmpl/map_athena.conf') diff --git a/conf-tmpl/map_athena.conf b/conf-tmpl/map_athena.conf index e320891cb..3277d7c73 100644 --- a/conf-tmpl/map_athena.conf +++ b/conf-tmpl/map_athena.conf @@ -95,6 +95,18 @@ console: off // Database autosave time, in seconds. autosave_time: 60 +// Apart from the autosave_time, players will also get saved when involved +// in the following (add as needed): +// 1: after every successful trade +// 2: after very vending transaction +// 4: after closing storage/guild storage. +// 8: After hatching/returning to egg a pet. +// NOTE: These settings decrease the chance of dupes/lost items when there's a +// server crash at the expense of increasing the map/char server lag. If your +// server rarely crashes, but experiences interserver lag, you may want to set +// these off. +save_settings: 15 + // Message of the day file, when a character logs on, this message is displayed. motd_txt: conf/motd.txt -- cgit v1.2.3-60-g2f50