callofduty4x / CoD4x_Server

Extended Call of Duty 4 server
https://cod4x.ovh
GNU Affero General Public License v3.0
335 stars 120 forks source link

Use playerid in demo name. Fixes #401 #403

Closed matt-alton closed 1 year ago

matt-alton commented 1 year ago

This PR updates the auto record feature to use the playerid instead of steamid in demos automatically recorded using sv_autodemorecord variable. The Steam ID is not always populated and, therefore, the playerid should be considered a more reliable identifier to use in demo names.

proxict commented 1 year ago

This actually fixes a bug. The client's player ID should have been used all along.