1 | DELETE FROM trinity_string WHERE entry IN (1119,1120,1121); |
---|
2 | |
---|
3 | INSERT INTO trinity_string VALUES |
---|
4 | (1119,'You must use male or female as gender.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), |
---|
5 | (1120,'You change gender of %s to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), |
---|
6 | (1121,'Your gender changed to %s by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); |
---|
7 | |
---|
8 | |
---|
9 | DELETE FROM command WHERE name IN ('modify gender'); |
---|
10 | |
---|
11 | INSERT INTO command VALUES |
---|
12 | ('modify gender',2,'Syntax: .modify gender male/female\r\n\r\nChange gender of selected player.'); |
---|
13 | |
---|
14 | |
---|
15 | delete from `command` where `name` IN ('senditems','sendmail'); |
---|
16 | insert into `command` (`name`, `security`, `help`) values |
---|
17 | ('senditems',3,'Syntax: .senditems #playername "#subject" "#text" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]\r\n\r\nSend a mail to a player. Subject and mail text must be in "". If for itemid not provided related count values then expected 1, if count > max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.'), |
---|
18 | ('sendmail',1,'Syntax: .sendmail #playername "#subject" "#text"\r\n\r\nSend a mail to a player. Subject and mail text must be in "".'); |
---|
19 | |
---|
20 | |
---|
21 | delete from `command` where `name` = 'sendmoney'; |
---|
22 | insert into `command` (`name`, `security`, `help`) values |
---|
23 | ('sendmoney',3,'Syntax: .sendmoney #playername "#subject" "#text" #money\r\n\r\nSend mail with money to a player. Subject and mail text must be in "".'); |
---|
24 | |
---|
25 | |
---|
26 | DELETE FROM trinity_string WHERE entry IN (453); |
---|
27 | |
---|
28 | |
---|
29 | DROP TABLE IF EXISTS `db_script_string`; |
---|
30 | CREATE TABLE `db_script_string` ( |
---|
31 | `entry` int(11) unsigned NOT NULL default '0', |
---|
32 | `content_default` text NOT NULL, |
---|
33 | `content_loc1` text, |
---|
34 | `content_loc2` text, |
---|
35 | `content_loc3` text, |
---|
36 | `content_loc4` text, |
---|
37 | `content_loc5` text, |
---|
38 | `content_loc6` text, |
---|
39 | `content_loc7` text, |
---|
40 | `content_loc8` text, |
---|
41 | PRIMARY KEY (`entry`) |
---|
42 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|
43 | |
---|
44 | |
---|
45 | DELETE FROM `command` WHERE `name` IN ( |
---|
46 | 'server exit', |
---|
47 | 'server idleshutdown', |
---|
48 | 'server idleshutdown cancel', |
---|
49 | 'server idlerestart', |
---|
50 | 'server idlerestart cancel', |
---|
51 | 'server restart', |
---|
52 | 'server restart cancel', |
---|
53 | 'server shutdown', |
---|
54 | 'server shutdown cancel' |
---|
55 | ); |
---|
56 | |
---|
57 | INSERT INTO `command` (`name`, `security`, `help`) VALUES |
---|
58 | ('server exit',4,'Syntax: .server exit\r\n\r\nTerminate mangosd NOW. Exit code 0.'), |
---|
59 | ('server idleshutdown',3,'Syntax: .server idleshutdown #delay [#exist_code]\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players). Use #exist_code or 0 as program exist code.'), |
---|
60 | ('server idleshutdown cancel',3,'Syntax: .server idleshutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'), |
---|
61 | ('server idlerestart',3,'Syntax: .server idlerestart #delay\r\n\r\nRestart the server after #delay seconds if no active connections are present (no players). Use #exist_code or 2 as program exist code.'), |
---|
62 | ('server idlerestart cancel',3,'Syntax: .server idlerestart cancel\r\n\r\nCancel the restart/shutdown timer if any.'), |
---|
63 | ('server restart',3,'Syntax: .server restart #delay\r\n\r\nRestart the server after #delay seconds. Use #exist_code or 2 as program exist code.'), |
---|
64 | ('server restart cancel',3,'Syntax: .server restart cancel\r\n\r\nCancel the restart/shutdown timer if any.'), |
---|
65 | ('server shutdown',3,'Syntax: .server shutdown #delay [#exist_code]\r\n\r\nShut the server down after #delay seconds. Use #exist_code or 0 as program exist code.'), |
---|
66 | ('server shutdown cancel',3,'Syntax: .server shutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'); |
---|
67 | |
---|
68 | DELETE FROM trinity_string WHERE entry IN (251); |
---|
69 | INSERT INTO trinity_string VALUES |
---|
70 | (251,'Text%d (ID: %i): %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); |
---|