Quake3World.com Forums
     Programming Discussion
        Scoreboard bug


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Scoreboard bug

Commander
Commander

Joined: 06 Oct 2006
Posts: 145
PostPosted: 03-12-2010 12:11 PM           Profile Send private message  E-mail  Edit post Reply with quote


I have noticed that when there are > 32 clients connected to a server that the scoreboard won't display when tab is pressed. Is this something that can be fixed server-side or is it a bug in the client code?




Top
                 

Mentor
Mentor

Joined: 12 Mar 2005
Posts: 3957
PostPosted: 03-13-2010 06:10 AM           Profile Send private message  E-mail  Edit post Reply with quote


Client-side. Though I don't recall ever running into that behaviour.




Top
                 

Commander
Commander

Joined: 06 Oct 2006
Posts: 145
PostPosted: 03-13-2010 07:26 AM           Profile Send private message  E-mail  Edit post Reply with quote


Yes, it is very strange. It doesn't display any of the players only the red / blue team banner at the top of the scoreboard. Maybe I have messed something up in my mod? :confused:




Top
                 

Commander
Commander

Joined: 06 Oct 2006
Posts: 145
PostPosted: 03-15-2010 06:04 AM           Profile Send private message  E-mail  Edit post Reply with quote


I just happened upon this code while trying to find a fix. I don't think it would cause the lack of scoreboard that I'm seeing but interesting that it won't send more than 32.

Code:
        // don't send more than 32 scores (FIXME?)
        numSorted = level.numConnectedClients;
        if ( numSorted > 32 ) {
                numSorted = 32;
        }




Top
                 

Commander
Commander

Joined: 06 Oct 2006
Posts: 145
PostPosted: 03-25-2010 01:29 PM           Profile Send private message  E-mail  Edit post Reply with quote


Any suggestions on what I can do to hunt this problem down?




Top
                 

Commander
Commander

Joined: 15 Nov 2006
Posts: 129
PostPosted: 04-05-2010 05:27 AM           Profile Send private message  E-mail  Edit post Reply with quote


Fire up Visual Studio, build the projects as DLLs, put breakpoints in appropriate functions, and then run Q3 in the debugger. By stepping through the scoreboard related code, inspecting the states of variables as you go, you should be able to figure out what is going wrong.




Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group