summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-13 15:49:04 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-13 15:49:04 +0000
commit3470551740241bdee3b6a9f5098c31143fa64897 (patch)
tree06514b9902b239eb320604b90df063aa12fa1233
parentf85e3c2c3bbf2dcae904e95517448ee9a232c420 (diff)
downloadhercules-3470551740241bdee3b6a9f5098c31143fa64897.tar.gz
hercules-3470551740241bdee3b6a9f5098c31143fa64897.tar.bz2
hercules-3470551740241bdee3b6a9f5098c31143fa64897.tar.xz
hercules-3470551740241bdee3b6a9f5098c31143fa64897.zip
Changed LOG_ALL definition to really log everything
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12577 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/log.h25
2 files changed, 16 insertions, 11 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3ff8f2186..92ae65a49 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2008/04/13
+ * Changed LOG_ALL definition to really log everything [Toms]
2008/04/12
* Login will no longer set character offline when going from map
to character select. (r12575) [Kevin]
diff --git a/src/map/log.h b/src/map/log.h
index 9745ce1f0..9dfc0c0ea 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -25,17 +25,20 @@ int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp);
int log_config_read(char *cfgName);
typedef enum log_what {
- LOG_ALL = 0xFFF,
- LOG_TRADES = 0x002,
- LOG_VENDING = 0x004,
- LOG_PLAYER_ITEMS = 0x008, // dropped/picked
- LOG_MONSTER_ITEMS = 0x010, // dropped/looted
- LOG_NPC_TRANSACTIONS = 0x020, // npc shops?
- LOG_SCRIPT_TRANSACTIONS = 0x040,
- LOG_STOLEN_ITEMS = 0x080, // stolen from mobs
- LOG_USED_ITEMS = 0x100, // used by player
- LOG_MVP_PRIZE = 0x200,
- LOG_COMMAND_ITEMS = 0x400 // created/deleted through @/# commands
+ LOG_ALL = 0xFFFF,
+ LOG_TRADES = 0x0002,
+ LOG_VENDING = 0x0004,
+ LOG_PLAYER_ITEMS = 0x0008, // dropped/picked
+ LOG_MONSTER_ITEMS = 0x0010, // dropped/looted
+ LOG_NPC_TRANSACTIONS = 0x0020, // npc shops?
+ LOG_SCRIPT_TRANSACTIONS = 0x0040,
+ LOG_STOLEN_ITEMS = 0x0080, // stolen from mobs
+ LOG_USED_ITEMS = 0x0100, // used by player
+ LOG_MVP_PRIZE = 0x0200,
+ LOG_COMMAND_ITEMS = 0x0400, // created/deleted through @/# commands
+ LOG_STORAGE_ITEMS = 0x0800, // placed/retrieved from storage
+ LOG_GSTORAGE_ITEMS = 0x1000, // placed/retrieved from guild storage
+ LOG_MAILS = 0x2000 // mail system transactions
} log_what;
extern struct Log_Config {