From fff598e4cd2c9678ff99d85dfa498ea1399a2148 Mon Sep 17 00:00:00 2001 From: Lupus Date: Sat, 26 Mar 2005 21:56:42 +0000 Subject: added logging filters. optimized ATCommands temp strings usage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1302 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/log_athena.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'conf-tmpl/log_athena.conf') diff --git a/conf-tmpl/log_athena.conf b/conf-tmpl/log_athena.conf index 35f5eb055..c1236480a 100644 --- a/conf-tmpl/log_athena.conf +++ b/conf-tmpl/log_athena.conf @@ -6,6 +6,32 @@ 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 + +//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 -- cgit v1.2.3-60-g2f50