Urban Terror Forums: /rcon players - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

/rcon players Rate Topic: -----

seems to be buggy?

#1 User is offline   Jimmyjazz Icon

  • Account: jimmyjazz
  • Joined: 01-March 10
  • Posts: 48

Posted 20 November 2010 - 10:25 PM

hi,
tested that command yesterday and it worked. it gives pretty much the same information the ingame scoreboard offers.
today i wanted to use it again but instead of usernames it dsplays the word FREE and all numbers are 0s. is that a known bug? is there a way to fix that? what happened there?

thanks

#2 User is offline   Courgette Icon

  •   community dev   
    B3 bot developer
  • Account: courgette
  • Main tag: [B3]
  • Country:
  • Joined: 09-June 09
  • Posts: 204

Posted 21 November 2010 - 01:25 AM

That's because of private slots. Remove private slots on your server and this command provides reliable results again

This post has been edited by Courgette: 21 November 2010 - 01:25 AM


#3 User is offline   Jimmyjazz Icon

  • Account: jimmyjazz
  • Joined: 01-March 10
  • Posts: 48

Posted 21 November 2010 - 01:54 AM

thanks, but that isn't an option for me, all the servers i admin have private slots.
is there any fix to that problem? an other command which gives infos about who is in which team?

#4 User is offline   Courgette Icon

  •   community dev   
    B3 bot developer
  • Account: courgette
  • Main tag: [B3]
  • Country:
  • Joined: 09-June 09
  • Posts: 204

Posted 21 November 2010 - 05:57 AM

read cvars g_redteamlist and g_blueteamlist
they return which clients are in the red or blue team not with numbers but characters (clientnum 0 = A, clientnum 1 = B, etc.)

This post has been edited by Courgette: 21 November 2010 - 05:58 AM


#5 User is offline   Nitro Icon

  •   QA member   
  • Account: nitro
  • Main tag: |PWNY|
  • Country:
  • Joined: 15-March 10
  • Posts: 1,134

Posted 22 November 2010 - 03:15 PM

View PostCourgette, on 21 November 2010 - 05:57 AM, said:

read cvars g_redteamlist and g_blueteamlist
they return which clients are in the red or blue team not with numbers but characters (clientnum 0 = A, clientnum 1 = B, etc.)



how does this work when the server has more than 26 players?
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3600MHz CL15 · 2TB Seagate FireCuda 530 NMVE · 16GB Radeon RX 6900XT Liquid Cooled

bullet_loaderAdvertisement

#6 User is offline   Courgette Icon

  •   community dev   
    B3 bot developer
  • Account: courgette
  • Main tag: [B3]
  • Country:
  • Joined: 09-June 09
  • Posts: 204

Posted 22 November 2010 - 04:30 PM

UrT Servers cannot have 26 players per team. So there is no problem here

#7 User is offline   Bodhisattva Icon

  • Account: bodhisattva
  • Joined: 28-February 10
  • Posts: 809

Posted 07 December 2010 - 06:01 PM

players command is definitely buggy. It has problems with and without private slots (but private slots are always a problem). It looks to me as if the response from the server makes the faulty assumption that all players on the server are in the lowest slots possible leading to player information being returned from empty/FREE slots. Also kills field returns points not kills (kills would be better as points are easily found in status already).

View Postnitro, on 22 November 2010 - 03:15 PM, said:

how does this work when the server has more than 26 players?

Note really sure. I would guess with whatever ascii symbols come after Z. Just try it on a full 32 man server and see what happens. Or better yet don't run servers with more then 26 slots. Or even better don't run servers with more then 20 slots. Popularity isn't everything people. Focus on gameplay.

View PostCourgette, on 22 November 2010 - 04:30 PM, said:

UrT Servers cannot have 26 players per team. So there is no problem here

You are wrong. Values returned by g_redteamlist is a string of slot #s coded as letters. You can have more then 26 slots so nitro's concern is valid.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942