diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-04-05 20:27:34 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-04-05 20:27:34 +0000 |
commit | 9e10a7900d7e42331d71630624ed0725f2794b92 (patch) | |
tree | 6b091437a53a22c82e08f5429b9a26685c9a051a /conf-tmpl/log_athena.conf | |
parent | fa02f32df71e504f18c062ddc35faa31fd5ee5fa (diff) | |
download | hercules-9e10a7900d7e42331d71630624ed0725f2794b92.tar.gz hercules-9e10a7900d7e42331d71630624ed0725f2794b92.tar.bz2 hercules-9e10a7900d7e42331d71630624ed0725f2794b92.tar.xz hercules-9e10a7900d7e42331d71630624ed0725f2794b92.zip |
added better filters into logs
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1416 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl/log_athena.conf')
-rw-r--r-- | conf-tmpl/log_athena.conf | 65 |
1 files changed, 37 insertions, 28 deletions
diff --git a/conf-tmpl/log_athena.conf b/conf-tmpl/log_athena.conf index c1236480a..f6337aa80 100644 --- a/conf-tmpl/log_athena.conf +++ b/conf-tmpl/log_athena.conf @@ -6,55 +6,64 @@ enable_logs: 1 // Use MySQL Logs? (SQL Version Only) sql_logs: 0 -// LOGGING FILTERS by Lupus -//========== It works for Monster Drops yet ======== -what_items_log: 1023 -//0 = none, 1023 = any -//Bits | -//1 - Healing items (Potions) -//2 - Usable Items -//4 - Etc Items -//8 - Weapon -//16 - Shields,Armor,Headgears,Accessories,etc -//32 - Cards -//64 - Pet Accessories -//128 - Eggs (well, monsters don't drop 'em but we'll use the same system for ALL logs) -//256 - Log expensive items ( >= price_log) -//512 - Log big amount of items ( >= amount_log) Note: Amount is ignored in Monster Drops Log -//1024 - Log items which have scripts (not implemented yet) - -//For example: 258 -> log all USABLE and all items which price is >= price_items_log -//For example: 568 -> log all CARDS,WEAPON,ARMOR and all items which amount >= amount_items_log - +// LOGGING FILTERS [Lupus] +//============================================================= +//if any condition is true then the item will be logged +//0 = Don't log at all +//1 = Log any item +//Advanced Filter Bits: || +//2 - Healing items (0) +//3 - Etc Items(3) + Arrows (10) +//4 - Usable Items(2) +//5 - Weapon(4) +//6 - Shields,Armor,Headgears,Accessories,etc(5) +//7 - Cards(6) +//8 - Pet Accessories(8) + Eggs(7) (well, monsters don't drop 'em but we'll use the same system for ALL logs) +//9 - Log expensive items ( >= price_log) +//10 - Log big amount of items ( >= amount_log) +//11 - Log refined items (if their refine >= refine_log ) +//12 - Log rare items (if their drop chance <= rare_log ) + +//Example: (drops log) +//log_drop: 1 = logs ANY items +//log_drop: 2 = logs only HEALING items +//log_drop: 4 = logs only Etc Items and Arrows +//log_drop: 64 = logs only Cards +//log_drop: 332 = logs only Healing items, Cards and those items which price is >= price_items_log +//etc + +//not implemented yet +refine_items_log: 7 +//not implemented yet +rare_items_log: 100 //don't log it if the current item price < price_items_log price_items_log: 1000 - //don't log it if the current item amount < amount_items_log amount_items_log: 100 -//================================================== +//============================================================= // Log Dead Branch Usage log_branch: 0 -// Log Monster Drops +// Log Monster Drops (You can use a filter) log_drop: 0 // Log MVP Monster Drops log_mvpdrop: 0 -// Log Present Items (Old Blue Box, etc.) +// Log Present Items (Old Blue Box, etc.) (You can use a filter) log_present: 0 -// Log Produced Items +// Log Produced Items (You can use a filter) log_produce: 0 -// Log Refining +// Log Refining (You can use a filter) log_refine: 0 -// Log Trading +// Log Trading (You can use a filter) log_trade: 0 -// Log Vending +// Log Vending (You can use a filter) log_vend: 0 // Log Zeny Trades |