[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:
+8
-1
@@ -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*/
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user