summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 17:05:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 17:05:48 +0000
commit0318763bacdcd0f521ef61f837f50ddb9483a434 (patch)
tree9c9b2605b677093a3363da602f4fd392c4fa68bb /src/map/map.h
parent81fe0ffc594681ce2fe497b6e23bcc9005ec87b9 (diff)
downloadhercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.gz
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.bz2
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.xz
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.zip
- Changed the default save interval to 5 minutes. Added support for specifying fixed save-intervals by using negative values. EG:
- Save interval set to 300 (5 minutes): all characters will be saved in equal time-slots, so that everyone is saved every 5 minutes regardless of number of players online. - Save interval set to -1000 (1000 ms): One character will be saved every second, regardless of amount of characters online. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7657 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index f2faad936..75c6fe95a 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -155,7 +155,7 @@ enum {
//Don't change this, as the client seems to always send/receive 80 characters as it currently is. [Skotlex]
#define MESSAGE_SIZE 80
-#define DEFAULT_AUTOSAVE_INTERVAL 60*1000
+#define DEFAULT_AUTOSAVE_INTERVAL 5*60*1000
//Specifies maps where players may hit each other
#define map_flag_vs(m) (map[m].flag.pvp || map[m].flag.gvg_dungeon || map[m].flag.gvg || (agit_flag && map[m].flag.gvg_castle))