Author Topic: Bug: Scoreboard "life" on Linux client  (Read 3696 times)

Zorchenhimer

  • Autococker
  • Posts: 2614
Bug: Scoreboard "life" on Linux client
« on: January 05, 2008, 10:28:32 PM »
When you press and hold "tab" in-game, the scoreboard comes up for a few seconds, then rapidly flashes.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Scoreboard "life" on Linux client
« Reply #1 on: January 05, 2008, 10:34:48 PM »
That's because of the key repeat in the linux input system.  If you hold down any key, it starts repeating after a second or two.  Need to find a linux guru to fix that - the XWindows API is terrible, IMHO.

http://dplogin.com/dplogin/featurevote/feature.php?id=10026

lekky

  • Autococker
  • Posts: 2449
Re: Bug: Scoreboard "life" on Linux client
« Reply #2 on: January 05, 2008, 10:36:09 PM »
ahh, this is one of the reasons i stopped playing on linux xD

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Scoreboard "life" on Linux client
« Reply #3 on: January 05, 2008, 11:41:52 PM »
A temporary fix is to bind tab to "score" or "scores" (forget which) without the +.  It will toggle the scoreboard.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Bug: Scoreboard "life" on Linux client
« Reply #4 on: January 06, 2008, 12:16:09 AM »
A temporary fix is to bind tab to "score" or "scores" (forget which) without the +.  It will toggle the scoreboard.

That'll work... at least for now.

grenadier

  • PGP
  • Posts: 1
Re: Bug: Scoreboard "life" on Linux client
« Reply #5 on: April 05, 2009, 03:18:29 AM »
In cl_scores.c there is:

Code: [Select]
void CL_ScoreboardShow_f (void)
{
if (cls.state != ca_active)
return;

if (cls.server_gamebuild < 126)
Cbuf_AddText("cmd scoreson\n");
else
Cbuf_AddText("menu scores\n");
}


void CL_ScoreboardHide_f (void)
{
if (cls.state != ca_active)
return;

if (cls.server_gamebuild < 126)
Cbuf_AddText("cmd scoresoff\n");
else
Cbuf_AddText("menu pop\n");
}


When I changed "menu scores"/"menu pop" to "cmd scoreson"/"cmd scoresoff", then this problem disappeared.
« Last Edit: April 05, 2009, 04:19:20 AM by grenadier »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Scoreboard "life" on Linux client
« Reply #6 on: April 15, 2009, 09:27:12 AM »
The cmd scoreson uses the old server side scoreboard.  You really don't want to do that.  It's limited and bandwidth intensive.  The menu scores is client side and can display the complete list of players (plus it looks better).