mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9380] Some missing in mangos.sql command descriptions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ade8adfc4e
commit
2bdcb1161c
6 changed files with 19 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_9379_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
`required_9380_01_mangos_command` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -651,6 +651,7 @@ INSERT INTO `command` VALUES
|
|||
('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
|
||||
('modify energy',1,'Syntax: .modify energy #energy\r\n\r\nModify the energy of the selected player. If no player is selected, modify your energy.'),
|
||||
('modify faction',1,'Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid\r\n\r\nModify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.'),
|
||||
('modify fly', 1, 'Syntax: .modify fly #rate\r\n.fly #rate\r\n\r\nModify the flying speed of the selected player to \"normal base fly speed\"*rate. If no player is selected, modify your fly.\r\n\r\n #rate may range from 0.1 to 10.'),
|
||||
('modify gender',2,'Syntax: .modify gender male/female\r\n\r\nChange gender of selected player.'),
|
||||
('modify honor',1,'Syntax: .modify honor $amount\r\n\r\nAdd $amount honor points to the selected player.'),
|
||||
('modify hp',1,'Syntax: .modify hp #newhp\r\n\r\nModify the hp of the selected player. If no player is selected, modify your hp.'),
|
||||
|
|
@ -688,6 +689,7 @@ INSERT INTO `command` VALUES
|
|||
('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
|
||||
('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
|
||||
('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
|
||||
('npc say', 1, 'Syntax: .npc say #text\r\nMake the selected npc says #text.'),
|
||||
('npc setdeathstate',2,'Syntax: .npc setdeathstate on/off\r\n\r\nSet default death state (dead/alive) for npc at spawn.'),
|
||||
('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
|
||||
('npc setmovetype',2,'Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
|
||||
|
|
@ -699,6 +701,7 @@ INSERT INTO `command` VALUES
|
|||
('npc textemote',1,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
|
||||
('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
|
||||
('npc unfollow',2,'Syntax: .npc unfollow\r\n\r\nSelected creature (non pet) stop follow you.'),
|
||||
('npc yell', 1, 'Syntax: .npc yell #text\r\nMake the selected npc yells #text.'),
|
||||
('pdump write',3,'Syntax: .pdump write $filename $playerNameOrGUID\r\nWrite character dump with name/guid $playerNameOrGUID to file $filename.'),
|
||||
('pdump load',3,'Syntax: .pdump load $filename $account [$newname] [$newguid]\r\nLoad character dump from dump file into character list of $account with saved or $newname, with saved (or first free) or $newguid guid.'),
|
||||
('pinfo',2,'Syntax: .pinfo [$player_name]\r\n\r\nOutput account information for selected player or player find by $player_name.'),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9366_02_mangos_spell_proc_event required_9379_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` = 65661;
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
ALTER TABLE db_version CHANGE COLUMN required_9366_02_mangos_spell_proc_event required_9379_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` = 65661;
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(65661, 0x00000000, 15, 0x00400011 ,0x20020004 ,0x00000000, 0x00000010, 0x00000000, 0.000000, 100.000000, 0);
|
||||
7
sql/updates/9380_01_mangos_command.sql
Normal file
7
sql/updates/9380_01_mangos_command.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9379_01_mangos_spell_proc_event required_9380_01_mangos_command bit;
|
||||
|
||||
DELETE FROM command WHERE name IN ('modify fly', 'npc say', 'npc yell');
|
||||
INSERT INTO command VALUES
|
||||
('modify fly', 1, 'Syntax: .modify fly #rate\r\n.fly #rate\r\n\r\nModify the flying speed of the selected player to \"normal base fly speed\"*rate. If no player is selected, modify your fly.\r\n\r\n #rate may range from 0.1 to 10.'),
|
||||
('npc say', 1, 'Syntax: .npc say #text\r\nMake the selected npc says #text.'),
|
||||
('npc yell', 1, 'Syntax: .npc yell #text\r\nMake the selected npc yells #text.');
|
||||
|
|
@ -71,6 +71,7 @@ pkgdata_DATA = \
|
|||
9374_01_characters_character_glyphs.sql \
|
||||
9375_01_characters_character_glyphs.sql \
|
||||
9379_01_mangos_spell_proc_event.sql \
|
||||
9380_01_mangos_command.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -122,4 +123,5 @@ EXTRA_DIST = \
|
|||
9374_01_characters_character_glyphs.sql \
|
||||
9375_01_characters_character_glyphs.sql \
|
||||
9379_01_mangos_spell_proc_event.sql \
|
||||
9380_01_mangos_command.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9379"
|
||||
#define REVISION_NR "9380"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_9375_01_characters_character_glyphs"
|
||||
#define REVISION_DB_MANGOS "required_9379_01_mangos_spell_proc_event"
|
||||
#define REVISION_DB_MANGOS "required_9380_01_mangos_command"
|
||||
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue