[7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-24 17:44:47 -06:00
parent e42e348d33
commit f40773a24d
2 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -22,7 +22,7 @@
DROP TABLE IF EXISTS `db_version`;
CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`required_7503_01_mangos_command` bit(1) default NULL
`required_7536_01_mangos_spell_chain` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
@@ -16185,6 +16185,13 @@ INSERT INTO spell_chain VALUES
(45361,45360,45357,5,0),
(45363,45361,45357,6,0),
/*------------------
-- (777) Mounts
------------------*/
(13819,0,13819,1,0),
(23214,13819,13819,2,33391),
(34769,0,34769,1,0),
(34767,34769,34769,2,33391),
/*------------------
--(780)Pet-ExoticChimaera
------------------*/
/*FroststormBreath*/
+7
View File
@@ -4240,6 +4240,13 @@ bool ChatHandler::LookupPlayerSearchCommand(QueryResult* result, int32 limit)
delete result;
if(i==0) // empty accounts only
{
PSendSysMessage(LANG_NO_PLAYERS_FOUND);
SetSentErrorMessage(true);
return false;
}
return true;
}