halflife icon indicating copy to clipboard operation
halflife copied to clipboard

Overflow on m_szTeamName after setting a model longer than 15 chars (teamplay)

Open Th3-822 opened this issue 3 years ago • 1 comments

Tested on DMC and OpForce too

  • Start a server (listenserver works too) with "Teamplay" enabled (mp_teamplay 1) and "Valid teams" empty (mp_teamlist "")
  • Check model & team from server's console with "user " (should be "user 1" as there aren't any other players)
  • Change model to anything over 15 characters
  • Check model/team again, you will see the model/team cropped to 16 chars and m_szAnimExtention concatenated to it

Th3-822 avatar Feb 13 '22 03:02 Th3-822

Btw, this also happens on half-life as it's the base game, so it needs the hl label too

Th3-822 avatar Feb 13 '22 14:02 Th3-822