Jump to content
TrinityCore

Recommended Posts

Hey guys, is there a way I can get information about all the players that get called for arena, for example a 2v2 queue is ready and 4 players get called - I wanna know who those 4 are. I'm having a hard time since the build in logger only logs players that are INSIDE THE ARENA THE MOMENT IT FINISHES and nothing about the other players. Talking about void Arena::EndBattleground(uint32 winner)   and more specifically  for (auto const& i : GetPlayers())

  • Upvote 1

Share this post


Link to post
Share on other sites

What revision?

server/game/Battlegrounds/ArenaTeam.cpp

 

bool ArenaTeam::AddMember(ObjectGuid playerGuid)
{

...

...

TC_LOG_DEBUG("bg.arena", "Player: %s [%s] joined arena team type: %u [Id: %u, Name: %s].", playerName.c_str(), playerGuid.ToString().c_str(), GetType(), GetId(), GetName().c_str());

Share this post


Link to post
Share on other sites

just turn on your debug or modify the TC_LOG_DEBUG, I gave the example above

Share this post


Link to post
Share on other sites

No that's not what I was talking about about. I am talking about when you get called to a match. When an arena match starts, not when someone is invited to an arena team

Share this post


Link to post
Share on other sites

for example void Arena::AddPlayer(Player* player) adds the players THAT ACCEPTED the arena match, but what about the ones that didn't accept the queue prompt ???

Share this post


Link to post
Share on other sites

It also doesn't log if a player enters the arena and leaves it before the game end. The arena frame shown in the end of an arena game contains the player name and his statistics, so there must be a way to log it.

Share this post


Link to post
Share on other sites

I grepped through and found dozens of reference points to enable logging in the ArenaTeamMgr, by showing when the match starts, ends, and who is fighting. Look there ;) 

Share this post


Link to post
Share on other sites

uhm.. you sure you are talking about  ArenaTeamMgr ? Because I only find arena team handlers or am I wrong ?

Edited by Xaxoxuxu

Share this post


Link to post
Share on other sites
6 hours ago, tsvmitev said:

So is there anybody who can actually help with it?

Of course there is. But like most of us, I haven't had time.

I can look at hooks to pull and log arena queues (teams and players). Just curious... what is so important about logging the placeholder queue for players?

Share this post


Link to post
Share on other sites
1 hour ago, CDawg said:

Of course there is. But like most of us, I haven't had time.

I can look at hooks to pull and log arena queues (teams and players). Just curious... what is so important about logging the placeholder queue for players?

My friend and I are trying to log all the arenas, so we can pull the statistics on a website and it's easier to catch wintraders and players who drop mmr.

Share this post


Link to post
Share on other sites
13 minutes ago, Aokromes said:


ArenaLog.ExtendedInfo = 1

+

Appender.Arenas=2,1,15,arena/arena.log
 

Still doesn't solve the problem where a player is not shown in the log if he misses the queue.

Share this post


Link to post
Share on other sites

Thank you but if the player leaves early - no info for him. And I'm having a hard time understanding why did you design the log like that in the first place. Its kinda useless this way.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Clastor
      Hi guys, I wanted to know how to activate the arena.log happened here a picture of my setup  

       
      http://puu.sh/n7NDO/5010e2ed52.png
    • By darkrevenger
      Rouge's poisons are dissapearing after a arena, but only the ones who are in the bag, how can I fix this problem? I'm not even sure of how to get to the arena code here, any help will be apreciated.
      I'm not sure what REV the server I'm playin in uses (Already ask'd just tmie to get the answer) but if we have to make a guess lets say its the latest.
      Can someone identify why this bug might happend? 
×