Show
Ignore:
Timestamp:
11/19/08 13:39:06 (17 years ago)
Author:
yumileroy
Message:

[svn] * Added npc follow, waterwalk, repairitems commands. Patch by dythzer
* Prevent adding more than 5 people to raid - Apoc
* fixed typo from one of our previous commits.
* Fixed two strings in core, thanx to warhead for patch.

Original author: KingPin?
Date: 2008-10-29 17:09:32-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/MapManager.cpp

    r102 r132  
    166166                    // probably there must be special opcode, because client has this string constant in GlobalStrings.lua 
    167167                    // TODO: this is not a good place to send the message 
    168                     player->GetSession()->SendAreaTriggerMessage("You must be in a raid group to enter %s instance", mapName); 
     168                    player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(810), mapName); 
    169169                    sLog.outDebug("MAP: Player '%s' must be in a raid group to enter instance of '%s'", player->GetName(), mapName); 
    170170                    return false; 
     
    198198                if (!instance_map) 
    199199                { 
    200                     player->GetSession()->SendAreaTriggerMessage("You cannot enter %s while in a ghost mode", mapName); 
     200                    player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(811), mapName); 
    201201                    sLog.outDebug("MAP: Player '%s' doesn't has a corpse in instance '%s' and can't enter", player->GetName(), mapName); 
    202202                    return false;