Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: SoF2 query returns team ID as player name instead of the actual player name

Aperta
#4,962 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
cli

Direzione di ricerca

Locate the LinuxGSM query parser for Soldier of Fortune II: Double Helix Gold and inspect how the player fields are read from the server response. Reproduce the query with a server containing players, then verify that the PLAYER column shows nicknames while frags and ping remain correct.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

command: console distro: Debian info: website regression: yes reproducible: always severity: medium type: bug
Severity

severity: medium

Reproducibility

reproducible: always

Regression

regression: yes

Affects latest release

latest-release: yes

User story

Hi, I found what looks like a parsing issue with the LinuxGSM query implementation for Soldier of Fortune II: Double Helix / SoF2Plus. When querying a SoF2 server, the player list is displayed incorrectly. The value shown in the PLAYER column is actually the player’s team ID, instead of the player’s real nickname. In SoF2 the team values are: * 1 = Blue Team * 2 = Red Team * 3 = Spectator So the query currently returns player names such as: 1 1 1 2 2 3 while the frags and ping values appear to be parsed correctly. The actual player name is present in the server query response, but it looks like the parser is reading the wrong field/column and using the team value as the player’s name.

Script name

ismygameserveronline website

Game

sof2mp gold

Linux distro

Debian 13

Command

command: console

Expected behavior

Expected behavior:
The PLAYER column should contain the actual player nickname, while the team value should either be ignored or parsed separately.

Actual behavior

Current behavior:
The PLAYER column contains the SoF2 team ID (1, 2, or 3).

Further information

Instead of:
PLAYER FRAGS PING
1 79 176
1 58 179
2 42 175
3 0 163
it should return something like:

PLAYER FRAGS PING
PlayerName1 79 176
PlayerName2 58 179
PlayerName3 42 175
SpectatorName 0 163

Game: Soldier of Fortune II: Double Helix
Server: Only GOLD edition affected the Silver is okay
Version: Gold
Protocol: 2004

Pre-checks
  • I ran update and validate before reporting this issue.
Relevant log output

Steps to reproduce
  1. Query a running SoF2 / SoF2Plus server containing real players.
  2. Open the player list returned by the query.
  3. Check the PLAYER field.
  4. Player names are shown as 1, 2 or 3 instead of their actual nicknames.
Image
Lingua principale
Shell
Stelle
4.9k
Fork
870
Merge medio
1g 17h
PR unite (30g)
46

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GameServerManagers/LinuxGSM

Tutte le issue di GameServerManagers/LinuxGSM

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.