Changed LOG_ALL definition to really log everything

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12577 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms 2008-04-13 15:49:04 +00:00
parent 69114a1c7d
commit cdb7323335
2 changed files with 16 additions and 11 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. 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. 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 2008/04/12
* Login will no longer set character offline when going from map * Login will no longer set character offline when going from map
to character select. (r12575) [Kevin] to character select. (r12575) [Kevin]

View File

@ -25,17 +25,20 @@ int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp);
int log_config_read(char *cfgName); int log_config_read(char *cfgName);
typedef enum log_what { typedef enum log_what {
LOG_ALL = 0xFFF, LOG_ALL = 0xFFFF,
LOG_TRADES = 0x002, LOG_TRADES = 0x0002,
LOG_VENDING = 0x004, LOG_VENDING = 0x0004,
LOG_PLAYER_ITEMS = 0x008, // dropped/picked LOG_PLAYER_ITEMS = 0x0008, // dropped/picked
LOG_MONSTER_ITEMS = 0x010, // dropped/looted LOG_MONSTER_ITEMS = 0x0010, // dropped/looted
LOG_NPC_TRANSACTIONS = 0x020, // npc shops? LOG_NPC_TRANSACTIONS = 0x0020, // npc shops?
LOG_SCRIPT_TRANSACTIONS = 0x040, LOG_SCRIPT_TRANSACTIONS = 0x0040,
LOG_STOLEN_ITEMS = 0x080, // stolen from mobs LOG_STOLEN_ITEMS = 0x0080, // stolen from mobs
LOG_USED_ITEMS = 0x100, // used by player LOG_USED_ITEMS = 0x0100, // used by player
LOG_MVP_PRIZE = 0x200, LOG_MVP_PRIZE = 0x0200,
LOG_COMMAND_ITEMS = 0x400 // created/deleted through @/# commands 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; } log_what;
extern struct Log_Config { extern struct Log_Config {