summaryrefslogtreecommitdiff
path: root/sql-files/logs.sql
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 20:20:06 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 20:20:06 +0000
commitbe12ec3ffb1632d8f9f7727ae9a17ea137bde375 (patch)
tree821d07f7d405ec9c89010cadac06395ea5ca622b /sql-files/logs.sql
parent3a582ad4976cd2672e22a33cd738346e5e09a9bd (diff)
downloadhercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.gz
hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.bz2
hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.xz
hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.zip
Added LOGMES script command
implemented an example: kafra_bank.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@759 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/logs.sql')
-rw-r--r--sql-files/logs.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 332873648..25a52443b 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -151,4 +151,17 @@ CREATE TABLE `atcommandlog` (
`map` varchar(20) NOT NULL default '',
`command` varchar(50) NOT NULL default '',
PRIMARY KEY (`atcommand_id`)
+) TYPE=MyISAM AUTO_INCREMENT=1 ;
+
+#Database: log
+#Table: npclog
+CREATE TABLE `npclog` (
+ `npc_id` mediumint(9) unsigned NOT NULL auto_increment,
+ `npc_date` datetime NOT NULL default '0000-00-00 00:00:00',
+ `account_id` int(11) unsigned NOT NULL default '0',
+ `char_id` int(11) unsigned NOT NULL default '0',
+ `char_name` varchar(30) NOT NULL default '',
+ `map` varchar(20) NOT NULL default '',
+ `mes` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`npc_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ; \ No newline at end of file