diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-15 19:30:58 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-15 19:30:58 +0000 |
commit | 35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891 (patch) | |
tree | 32e1f80a817a307254862698e8d81127684ed748 /src/map/log.c | |
parent | 89b9949be05475aff1be28ef1e3a2a18add12cf2 (diff) | |
download | hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.gz hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.bz2 hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.xz hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.zip |
fixed spawn of treasure boxes
fixed present_log
Mobs drops: expanded 8 slots into 10 (except READING info from TXT / SQL dbs. But added a plug - to make eA work with old DBs)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.c')
-rw-r--r-- | src/map/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/log.c b/src/map/log.c index 440dc40f8..5b0ff78de 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -48,6 +48,7 @@ int log_drop(struct map_session_data *sd, int monster_id, int *log_drop) #ifndef TXT_ONLY if(log_config.sql_logs > 0) { + //TODO: Expand 8 slots into 10 sprintf(tmp_sql, "INSERT DELAYED INTO `%s` (`drop_date`, `kill_char_id`, `monster_id`, `item1`, `item2`, `item3`, `item4`, `item5`, `item6`, `item7`, `item8`, `map`) VALUES (NOW(), '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%s') ", log_config.log_drop_db, sd->status.char_id, monster_id, log_drop[0], log_drop[1], log_drop[2], log_drop[3], log_drop[4], log_drop[5], log_drop[6], log_drop[7], sd->mapname); if(mysql_query(&mmysql_handle, tmp_sql)) printf("DB server Error - %s\n",mysql_error(&mmysql_handle)); |