server/sql/updates/10353_01_mangos_mangos_string.sql
VladimirMangos 7e70bba865 [10353] Avoid access to DB at view GM tickets by chat commands.
Also
* Show response text if added at view.
* Show tickets amount at console .ticket use instead unexpected no player error.
* Allow use ticket number in .ticket respond case.
* Some code cleanups.
2010-08-13 05:41:34 +04:00

8 lines
417 B
SQL

ALTER TABLE db_version CHANGE COLUMN required_10350_02_mangos_command required_10353_01_mangos_mangos_string bit;
DELETE FROM mangos_string WHERE entry IN (373, 374, 375);
INSERT INTO mangos_string VALUES
(373,'Response:\n%s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(374,'Tickets count: %i\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(375,'Player %s not have tickets.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);