aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShocker <shocker@freakz.ro>2011-06-29 16:36:54 +0300
committerShocker <shocker@freakz.ro>2011-06-29 16:36:54 +0300
commitbdba5cd900435888afc3b276ad4e0f6d1419e5b1 (patch)
tree236292c9000eed45891532f0ce8909a505c71628 /sql
parent6a6e3e326596b6f66220d49a13ffa42b3b46a2c7 (diff)
Core/Commands: Move .gps to command scripts and add .wpgps command, used for generating partial SQL queries for pathing
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/world/2011_06_29_00_world_command.sql3
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index 03d6572bff3..db23848063c 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -455,6 +455,7 @@ INSERT INTO `command` VALUES
('gobject target',2,'Syntax: .gobject target [#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
('gps',1,'Syntax: .gps [$name|$shift-link]\r\n\r\nDisplay the position information for a selected character or creature (also if player name $name provided then for named player, or if creature/gameobject shift-link provided then pointed creature/gameobject if it loaded). Position information includes X, Y, Z, and orientation, map Id and zone Id'),
+('wpgps',3,'Syntax: .wpgps\n\nOutput current position to sql developer log as partial SQL query to be used in pathing'),
('groupsummon',1,'Syntax: .groupsummon [$charactername]\r\n\r\nTeleport the given character and his group to you. Teleported only online characters but original selected group member can be offline.'),
('guid',2,'Syntax: .guid\r\n\r\nDisplay the GUID for the selected character.'),
('guild',3,'Syntax: .guild $subcommand\nType .guild to see the list of possible subcommands or .help guild $subcommand to see info on subcommands'),
diff --git a/sql/updates/world/2011_06_29_00_world_command.sql b/sql/updates/world/2011_06_29_00_world_command.sql
new file mode 100644
index 00000000000..0b3c0fb485c
--- /dev/null
+++ b/sql/updates/world/2011_06_29_00_world_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` = 'wpgps';
+INSERT INTO `command` VALUES
+('wpgps', '3', 'Syntax: .wpgps\n\nOutput current position to sql developer log as partial SQL query to be used in pathing');