From 77e5c0362e574d878fcc7f6eafd51df8d197e561 Mon Sep 17 00:00:00 2001 From: maximius Date: Sun, 27 Sep 2009 21:23:06 -0700 Subject: *Add ".account addon" command, now players can change their account's expansion. --HG-- branch : trunk --- sql/FULL/world_trinity_string_full.sql | 1 + sql/updates/5776_world_command.sql | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 sql/updates/5776_world_command.sql (limited to 'sql') diff --git a/sql/FULL/world_trinity_string_full.sql b/sql/FULL/world_trinity_string_full.sql index 909af8ee507..f93440316bf 100644 --- a/sql/FULL/world_trinity_string_full.sql +++ b/sql/FULL/world_trinity_string_full.sql @@ -62,6 +62,7 @@ INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `conte (58, 'Using script library: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (59, 'Using creature EventAI: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (60, 'Online players: %u (max: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(61, 'Up to %u expansion allowed now.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (100, 'Global notify: ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (101, 'Map: %u (%s) Zone: %u (%s) Area: %u (%s) Phase: %u\nX: %f Y: %f Z: %f Orientation: %f\ngrid[%u,%u]cell[%u,%u] InstanceID: %u\n ZoneX: %f ZoneY: %f\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (102, '%s is already being teleported.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), diff --git a/sql/updates/5776_world_command.sql b/sql/updates/5776_world_command.sql new file mode 100644 index 00000000000..516dad98d3a --- /dev/null +++ b/sql/updates/5776_world_command.sql @@ -0,0 +1,7 @@ + +DELETE FROM `command` WHERE `name` = 'account addon'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES ('account addon', 3, 'Syntax: .account addon #addon\nSet expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'); + +DELETE FROM `trinity_string` WHERE `entry`=61; +INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES +(61, 'Up to %u expansion allowed now.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- cgit v1.2.3