Jump to content

[11651] Battleground statistic (PvP Log) in Arena

Guest DaC

Recommended Posts

What bug does the patch fix? What features does the patch add?

You can open the arena stats before! the game is closed

For which repository revision was the patch created?

MaNGOS One - latest revision

Who has been writing this patch? Please include either forum user names or email addresses.


Before and while any arena game you can press shift+space (or other hotkey) to show the battleground statistic for the actual game. This should not be

enabled in the arena, because you could see your opponent before the game starts.

From ac0fe5a90095e67be0a7f065e291ef3a0580e933 Mon Sep 17 00:00:00 2001
From: DaC <[email protected]>
Date: Sat, 11 Jun 2011 19:13:48 +0200
Subject: [PATCH] PVPLog - not in arena

src/game/BattleGroundHandler.cpp |    3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/game/BattleGroundHandler.cpp b/src/game/BattleGroundHandler.cpp
index 7d6c650..448a4cd 100644
--- a/src/game/BattleGroundHandler.cpp
+++ b/src/game/BattleGroundHandler.cpp
@@ -283,6 +283,9 @@ void WorldSession::HandlePVPLogDataOpcode( WorldPacket & /*recv_data*/ )
    if (!bg)

+    if (bg->isArena())
+        return;
    WorldPacket data;
    sBattleGroundMgr.BuildPvpLogDataPacket(&data, bg);

regards, DaC

Link to comment
Share on other sites


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use