From dca477622e54f10689d47969153121734a411a2d Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 4 Aug 2006 16:38:54 +0000 Subject: - Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out of the mastery function so that it may apply to all skills except Soul Breaker. - Changed name of the setting log_pick to log_filter since that's what it does now. - Modified enable_logs so that instead of a 0/1 setting, you can specify which kind of events to log (so you can use a combination), see log_athena for the bitmask configuration. - Cleaned a bit the contents of log_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8129 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/log_athena.conf | 58 +++++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 24 deletions(-) (limited to 'conf-tmpl') diff --git a/conf-tmpl/log_athena.conf b/conf-tmpl/log_athena.conf index 1859b3edb..1b9242cb9 100644 --- a/conf-tmpl/log_athena.conf +++ b/conf-tmpl/log_athena.conf @@ -1,6 +1,20 @@ // eAthena - Log Configuration File // Enable Logs? +// 1 - Log all events. +// Or, determine what to log by adding up the different events: +// 0002 - Log trades +// 0004 - Log vending transactions +// 0008 - Log items drop/picked by players +// 0016 - Log items drop/looted by monsters +// 0032 - Log NPC transactions (buy/sell) +// 0064 - Log Script generated transactions (items deleted/acquired through quests) +// 0128 - Log items stolen from mobs (Steal/Gank) +// 0256 - Log player-used items. +// 0512 - Log MVP prize items +// 1024 - Log player created/deleted items (through @/# commands) +// Example: Log trades+vending+script items+created items: 2+4+64+1024: +// enable_logs: 1094 enable_logs: 1 // Use MySQL Logs? (SQL Version Only) @@ -11,27 +25,28 @@ sql_logs: 0 //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) + Lures,Scrolls(11) -//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_items_log) -//10 - Log big amount of items ( >= amount_items_log) -//11 - Log refined items (if their refine >= refine_items_log ) -//12 - Log rare items (if their drop chance <= rare_items_log ) +//Advanced Filter Bits by item type: || +//0002 - Healing items (0) +//0004 - Etc Items(3) + Arrows (10) +//0008 - Usable Items(2) + Lures,Scrolls(11) +//0016 - Weapon(4) +//0032 - Shields,Armor,Headgears,Accessories,etc(5) +//0064 - Cards(6) +//0128 - Pet Accessories(8) + Eggs(7) (well, monsters don't drop 'em but we'll use the same system for ALL logs) +//0256 - Log expensive items ( >= price_items_log) +//0512 - Log big amount of items ( >= amount_items_log) +//1024 - Log refined items (if their refine >= refine_items_log ) +//2048 - Log rare items (if their drop chance <= rare_items_log ) //Examples: (log filters) -//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: 322 = logs only Healing items, Cards and those items which price is >= price_items_log -//log_drop: 4080 = logs all items (including all rare, big amount) exept healing, etc, arrows and useble ones +//log_filter: 1 = logs ANY items +//log_filter: 2 = logs only HEALING items +//log_filter: 4 = logs only Etc Items and Arrows +//log_filter: 64 = logs only Cards +//log_filter: 322 = logs only Healing items, Cards and those items which price is >= price_items_log +//log_filter: 4080 = logs all items (including all rare, big amount) exept healing, etc, arrows and useble ones //etc +log_filter: 1 // Log Items which Refine >= refine_items_log refine_items_log: 5 @@ -47,11 +62,6 @@ amount_items_log: 100 // Log Dead Branch Usage log_branch: 0 -// The main item tracking log [Lupus] -// Log Players/Monster Drops and Players Pickups (You can use a filter) -// It also logs all the item movements: Trade / Vending / NPC / Shops / Admin Create/Delete -log_pick: 0 - // Track Zeny Changes // Filter settings // 0 - don't log; 1 - log any zeny changes; 2.....1000000 - minimal absolut logging zeny value @@ -130,4 +140,4 @@ log_npc_file: log/npclog.log log_chat_file: log/chatlog.log -import: conf/import/log_conf.txt \ No newline at end of file +import: conf/import/log_conf.txt -- cgit v1.2.3-60-g2f50