diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-11 17:35:28 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-11 17:35:28 +0000 |
commit | e782bd5f2f7cd73634dfd8616a351a1b97c2109c (patch) | |
tree | 319366658d419bed37df23fc67b1c80957a141f4 /src/map/log.h | |
parent | e18603bb1985d5628f1213999e92eaed8d008eb1 (diff) | |
download | hercules-e782bd5f2f7cd73634dfd8616a351a1b97c2109c.tar.gz hercules-e782bd5f2f7cd73634dfd8616a351a1b97c2109c.tar.bz2 hercules-e782bd5f2f7cd73634dfd8616a351a1b97c2109c.tar.xz hercules-e782bd5f2f7cd73634dfd8616a351a1b97c2109c.zip |
Picklog improvements:
- now it is finally possible to log every item players gain or lose
- added 3 log types: `I` for auctioned items, `B` for buying shop transactions and `X` for all other items transactions that don't fall into another category (for detailed explanation on all log types read `conf/log_athena.conf`)
- it also fixes items being logged as picked up/gained by player when in fact they were dropped on the ground due to full inventory
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15420 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r-- | src/map/log.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/src/map/log.h b/src/map/log.h index e49fff429..114e71177 100644 --- a/src/map/log.h +++ b/src/map/log.h @@ -26,26 +26,28 @@ e_log_chat_type; typedef enum e_log_pick_type { - LOG_TYPE_TRADE = 0x0001, - LOG_TYPE_VENDING = 0x0002, - LOG_TYPE_PICKDROP_PLAYER = 0x0004, - LOG_TYPE_PICKDROP_MONSTER = 0x0008, - LOG_TYPE_NPC = 0x0010, - LOG_TYPE_SCRIPT = 0x0020, - //LOG_TYPE_STEAL = 0x0040, - LOG_TYPE_CONSUME = 0x0080, - //LOG_TYPE_PRODUCE = 0x0100, - //LOG_TYPE_MVP = 0x0200, - LOG_TYPE_COMMAND = 0x0400, - LOG_TYPE_STORAGE = 0x0800, - LOG_TYPE_GSTORAGE = 0x1000, - LOG_TYPE_MAIL = 0x2000, - //LOG_TYPE_AUCTION = 0x4000, - LOG_TYPE_BUYING_STORE = 0x8000, + LOG_TYPE_NONE = 0, + LOG_TYPE_TRADE = 0x00001, + LOG_TYPE_VENDING = 0x00002, + LOG_TYPE_PICKDROP_PLAYER = 0x00004, + LOG_TYPE_PICKDROP_MONSTER = 0x00008, + LOG_TYPE_NPC = 0x00010, + LOG_TYPE_SCRIPT = 0x00020, + //LOG_TYPE_STEAL = 0x00040, + LOG_TYPE_CONSUME = 0x00080, + LOG_TYPE_PRODUCE = 0x00100, + //LOG_TYPE_MVP = 0x00200, + LOG_TYPE_COMMAND = 0x00400, + LOG_TYPE_STORAGE = 0x00800, + LOG_TYPE_GSTORAGE = 0x01000, + LOG_TYPE_MAIL = 0x02000, + LOG_TYPE_AUCTION = 0x04000, + LOG_TYPE_BUYING_STORE = 0x08000, + LOG_TYPE_OTHER = 0x10000, // combinations LOG_TYPE_LOOT = LOG_TYPE_PICKDROP_MONSTER|LOG_TYPE_CONSUME, // all - LOG_TYPE_ALL = 0xFFFF, + LOG_TYPE_ALL = 0xFFFFF, } e_log_pick_type; |