halflife
halflife copied to clipboard
Overflow on m_szTeamName after setting a model longer than 15 chars (teamplay)
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
Btw, this also happens on half-life as it's the base game, so it needs the hl label too