summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 13:26:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-19 13:26:02 +0000
commit3bd682b3cb3507c8a57fa6930475808981fd0663 (patch)
treebfcc3b1a81389c080f43778de9e9a2a3285bf9c5 /sql-files
parent35874a560ee89397e14eac3e7f40fc0251d67053 (diff)
downloadhercules-3bd682b3cb3507c8a57fa6930475808981fd0663.tar.gz
hercules-3bd682b3cb3507c8a57fa6930475808981fd0663.tar.bz2
hercules-3bd682b3cb3507c8a57fa6930475808981fd0663.tar.xz
hercules-3bd682b3cb3507c8a57fa6930475808981fd0663.zip
* Added Global chat and Main chat logging
- lowered the priority of the 'logging off during gw' filter git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10580 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql8
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrade_svn10580.sql1
3 files changed, 7 insertions, 4 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 1c7e535c8..e6efe7438 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -1,4 +1,4 @@
-#Pick_Log types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
+#PickLog types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
# Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take,
# (C)onsumable Items, (A)dministrators Create/Delete, Sto(R)age, (G)uild Storage
@@ -93,11 +93,13 @@ CREATE TABLE `npclog` (
INDEX (`char_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
-#ChatLOG
+#ChatLog types Gl(O)bal,(W)hisper,(P)arty,(G)uild,(M)ain chat
+#Database: log
+#Table: chatlog
CREATE TABLE `chatlog` (
`id` bigint(20) NOT NULL auto_increment,
`time` datetime NOT NULL default '0000-00-00 00:00:00',
- `type` enum('W','P','G') NOT NULL default 'W',
+ `type` enum('O','W','P','G','M') NOT NULL default 'O',
`type_id` int(11) NOT NULL default '0',
`src_charid` int(11) NOT NULL default '0',
`src_accountid` int(11) NOT NULL default '0',
diff --git a/sql-files/main.sql b/sql-files/main.sql
index e86d36e7b..d77b8fb42 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -472,7 +472,7 @@ CREATE TABLE `memo` (
DROP TABLE IF EXISTS `party`;
CREATE TABLE `party` (
`party_id` int(11) unsigned NOT NULL auto_increment,
- `name` varchar(100) NOT NULL default '',
+ `name` varchar(24) NOT NULL default '',
`exp` tinyint(11) unsigned NOT NULL default '0',
`item` tinyint(11) unsigned NOT NULL default '0',
`leader_id` int(11) unsigned NOT NULL default '0',
diff --git a/sql-files/upgrade_svn10580.sql b/sql-files/upgrade_svn10580.sql
new file mode 100644
index 000000000..65ba0709f
--- /dev/null
+++ b/sql-files/upgrade_svn10580.sql
@@ -0,0 +1 @@
+ALTER TABLE `chatlog` CHANGE `type` `type` ENUM( 'O', 'W', 'P', 'G', 'M' ) NOT NULL DEFAULT 'O';