summaryrefslogtreecommitdiff
path: root/src/map/log.h
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-07 09:50:37 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-07 09:50:37 +0000
commit898e30a3c034c30ab26369a3cc322458e49aef49 (patch)
tree05e5816c197da4336398326e0fea52073eb5ca76 /src/map/log.h
parentc15f0c1f8c2b2552d3e697446a5b1e7b57ac642c (diff)
downloadhercules-898e30a3c034c30ab26369a3cc322458e49aef49.tar.gz
hercules-898e30a3c034c30ab26369a3cc322458e49aef49.tar.bz2
hercules-898e30a3c034c30ab26369a3cc322458e49aef49.tar.xz
hercules-898e30a3c034c30ab26369a3cc322458e49aef49.zip
removed old logs
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r--src/map/log.h27
1 files changed, 11 insertions, 16 deletions
diff --git a/src/map/log.h b/src/map/log.h
index e650d453e..0fb171d5b 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -12,22 +12,17 @@ extern char db_server_logdb[32];
#endif //NOT TXT_ONLY
-int log_branch(struct map_session_data *sd);
+//New logs
int log_pick(struct map_session_data *sd, char *type, int mob_id, int nameid, int amount, struct item *itm);
int log_zeny(struct map_session_data *sd, char *type, struct map_session_data *src_sd, int amount);
-int log_drop(struct map_session_data *sd, int monster_id, int *log_drop);
-int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp);
-int log_present(struct map_session_data *sd, int source_type, int nameid);
-int log_produce(struct map_session_data *sd, int nameid, int slot1, int slot2, int slot3, int success);
-int log_refine(struct map_session_data *sd, int n, int success);
-int log_trade(struct map_session_data *sd,struct map_session_data *target_sd,int n,int amount);
-int log_tostorage(struct map_session_data *sd,int n, int guild);
-int log_fromstorage(struct map_session_data *sd,int n, int guild);
-
-int log_vend(struct map_session_data *sd,struct map_session_data *vsd,int n,int amount,int zeny);
-int log_atcommand(struct map_session_data *sd, const char *message);
+
int log_npc(struct map_session_data *sd, const char *message);
int log_chat(char *type, int type_id, int src_charid, int src_accid, char *map, int x, int y, char *dst_charname, char *message);
+int log_atcommand(struct map_session_data *sd, const char *message);
+
+//Old, but useful logs
+int log_branch(struct map_session_data *sd);
+int log_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp);
int log_config_read(char *cfgName);
@@ -36,10 +31,10 @@ int should_log_item(int filter, int nameid, int amount); //log filter check
extern struct Log_Config {
int enable_logs;
int sql_logs;
- int rare_items_log,refine_items_log,price_items_log,amount_items_log;
- int branch, pick, drop, steal, mvpdrop, present, produce, refine, trade, vend, zeny, gm, npc, storage, chat;
- char log_branch[32], log_pick[32], log_zeny[32], log_drop[32], log_mvpdrop[32], log_present[32], log_produce[32], log_refine[32], log_trade[32], log_vend[32], log_gm[32], log_npc[32], log_storage[32], log_chat[32];
- char log_branch_db[32], log_pick_db[32], log_zeny_db[32], log_drop_db[32], log_mvpdrop_db[32], log_present_db[32], log_produce_db[32], log_refine_db[32], log_trade_db[32], log_vend_db[32], log_gm_db[32], log_npc_db[32], log_chat_db[32];
+ int rare_items_log,refine_items_log,price_items_log,amount_items_log; //for filter
+ int branch, pick, drop, mvpdrop, zeny, gm, npc, chat;
+ char log_branch[32], log_pick[32], log_zeny[32], log_mvpdrop[32], log_gm[32], log_npc[32], log_chat[32];
+ char log_branch_db[32], log_pick_db[32], log_zeny_db[32], log_mvpdrop_db[32], log_gm_db[32], log_npc_db[32], log_chat_db[32];
int uptime;
char log_uptime[32];
} log_config;