This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.cpp b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| index 0d76759..012cd1d 100755 | |
| --- a/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| +++ b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| @@ -166,6 +166,17 @@ GroupQueueInfo* BattlegroundQueue::AddGroup(Player* leader, Group* grp, Battlegr | |
| sWorld->SendWorldText(LANG_ARENA_QUEUE_ANNOUNCE_WORLD_JOIN, Team->GetName().c_str(), ginfo->ArenaType, ginfo->ArenaType, ginfo->ArenaTeamRating); | |
| } | |
| + //arena 3x3 & 5x5 announce | |
| + if (isRated && ginfo->ArenaType > 2 && leader) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.cpp b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| index 0d76759..8bd9a0a 100755 | |
| --- a/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| +++ b/src/server/game/Battlegrounds/BattlegroundQueue.cpp | |
| @@ -166,6 +166,14 @@ GroupQueueInfo* BattlegroundQueue::AddGroup(Player* leader, Group* grp, Battlegr | |
| sWorld->SendWorldText(LANG_ARENA_QUEUE_ANNOUNCE_WORLD_JOIN, Team->GetName().c_str(), ginfo->ArenaType, ginfo->ArenaType, ginfo->ArenaTeamRating); | |
| } | |
| + //arena 3x3 & 5x5 announce | |
| + if (isRated && ginfo->ArenaType > 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Chat/Commands/Level0.cpp b/src/server/game/Chat/Commands/Level0.cpp | |
| index 9f9cedf..3449d9e 100755 | |
| --- a/src/server/game/Chat/Commands/Level0.cpp | |
| +++ b/src/server/game/Chat/Commands/Level0.cpp | |
| @@ -244,9 +244,9 @@ bool ChatHandler::HandleSpectateCommand(const char *args) | |
| float x, y, z; | |
| target->GetContactPoint(_player, x, y, z); | |
| + _player->SetSpectate(true); | |
| _player->TeleportTo(target->GetMapId(), x, y, z, _player->GetAngle(target), TELE_TO_GM_MODE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp | |
| index 4ad00f5..5356680 100755 | |
| --- a/src/server/game/Battlegrounds/Battleground.cpp | |
| +++ b/src/server/game/Battlegrounds/Battleground.cpp | |
| @@ -1237,16 +1237,19 @@ void Battleground::EventPlayerLoggedOut(Player* player) | |
| m_Players[guid].OfflineRemoveTime = sWorld->GetGameTime() + MAX_OFFLINE_TIME; | |
| if (GetStatus() == STATUS_IN_PROGRESS) | |
| { | |
| - // drop flag and handle other cleanups | |
| - RemovePlayer(player, guid, GetPlayerTeam(guid)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DELETE FROM `command` WHERE `name` = 'spectate'; | |
| INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectate', 0, 'Syntax: .spectate #player\nAllow player to spectate arena.'); | |
| DELETE FROM `command` WHERE `name` = 'spectatefrom'; | |
| INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectatefrom', 0, 'Syntax: .spectatefrom #player\nAllow player to spectate arena from anotherplayer.'); | |
| DELETE FROM `command` WHERE `name` = 'spectatecancel'; | |
| INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectatecancel', 0, 'Syntax: .spectatecancel\nDisable spectator mode.'); |
NewerOlder