From fa5dc5ed1403375fffcfe00d76974acd8c7fccc3 Mon Sep 17 00:00:00 2001 From: Salja Date: Fri, 24 Aug 2012 13:46:30 +0200 Subject: [PATCH] [0172] Fix some Typo from last Commit Grrr Signed-off-by: Salja --- sql/mangos.sql | 4 +++- sql/updates/0169_xxxxx_04_mangos_command.sql | 2 +- src/game/QuestDef.h | 4 ++-- src/shared/revision_nr.h | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sql/mangos.sql b/sql/mangos.sql index 9418ba09d..7ed304e95 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -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_0168_xxxxx_01_mangos_playercreateinfo_spell` bit(1) default NULL + `required_0169_xxxxx_04_mangos_command` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -696,12 +696,14 @@ INSERT INTO `command` VALUES ('neargrave',3,'Syntax: .neargrave [alliance|horde]\r\n\r\nFind nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).'), ('notify',1,'Syntax: .notify $MessageToBroadcast\r\n\r\nSend a global message to all players online in screen.'), ('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'), +('npc addcurrency','2','Syntax: .npc addcurrency #currencyId #buycount #extendedcost\r\n\r\nAdd currency #currencyId to item list of selected vendor.'), ('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'), ('npc addmove',2,'Syntax: .npc addmove #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.'), ('npc addweapon',3,'Not yet implemented.'), ('npc aiinfo',2,'Syntax: .npc npc aiinfo\r\n\r\nShow npc AI and script information.'), ('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement creatures in world. Not implemented.'), ('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'), +('npc delcurrency','2','Syntax: .npc delcurrency #currencyId\r\n\r\nRemove currency #currencyId from item list of selected vendor.'), ('npc delete',2,'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)'), ('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'), ('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'), diff --git a/sql/updates/0169_xxxxx_04_mangos_command.sql b/sql/updates/0169_xxxxx_04_mangos_command.sql index 4b5dcfe32..3e37a615b 100644 --- a/sql/updates/0169_xxxxx_04_mangos_command.sql +++ b/sql/updates/0169_xxxxx_04_mangos_command.sql @@ -2,5 +2,5 @@ ALTER TABLE db_version CHANGE COLUMN required_0169_xxxxx_03_mangos_mangos_string DELETE FROM `command` WHERE `name` IN ('npc addcurrency', 'npc delcurrency'); INSERT INTO `command` VALUES -('npc addcurrency',2,'Syntax: .npc addcurrency #currencyId #buycount #extendedcost\r\n\r\nAdd currency #currencyId to item list of selected vendor. '), +('npc addcurrency',2,'Syntax: .npc addcurrency #currencyId #buycount #extendedcost\r\n\r\nAdd currency #currencyId to item list of selected vendor.'), ('npc delcurrency',2,'Syntax: .npc delcurrency #currencyId\r\n\r\nRemove currency #currencyId from item list of selected vendor.'); \ No newline at end of file diff --git a/src/game/QuestDef.h b/src/game/QuestDef.h index c9ffa29ff..15ddc4266 100644 --- a/src/game/QuestDef.h +++ b/src/game/QuestDef.h @@ -116,8 +116,8 @@ enum __QuestGiverStatus DIALOG_STATUS_REWARD_REP = 0x040, DIALOG_STATUS_AVAILABLE_REP = 0x080, DIALOG_STATUS_AVAILABLE = 0x100, - DIALOG_STATUS_REWARD2 = 0x200, // no yellow dot on minimap - DIALOG_STATUS_REWARD = 0x400 // yellow dot on minimap + DIALOG_STATUS_REWARD2 = 0x200, // no yellow dot on minimap + DIALOG_STATUS_REWARD = 0x400 // yellow dot on minimap }; // values based at QuestInfo.dbc diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 50cb03599..a75c33720 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ -#define REVISION_NR "0170" +#define REVISION_NR "0172" #endif // __REVISION_NR_H__