Skip to content

Fix GetSteamAccountID validation opt-out#1158

Merged
KyleSanderson merged 1 commit intoalliedmodders:masterfrom
bottiger1:fix-GetSteamAccountID
Jan 14, 2020
Merged

Fix GetSteamAccountID validation opt-out#1158
KyleSanderson merged 1 commit intoalliedmodders:masterfrom
bottiger1:fix-GetSteamAccountID

Conversation

@bottiger1
Copy link
Contributor

@bottiger1 bottiger1 commented Jan 11, 2020

pass validated parameter to GetSteamId. Fixes #1157.

pass validated parameter to GetSteamId
@asherkin
Copy link
Member

Have you tested that this change does actually fix the issue?

@bottiger1
Copy link
Contributor Author

There doesn't seem to be any issues with it, but I am not sure how I am supposed to reproduce the Steam servers being down.

@Kenzzer
Copy link
Member

Kenzzer commented Jan 13, 2020

If you have a local server, unplug your Ethernet cable/Disable wifi.

Copy link
Member

@KyleSanderson KyleSanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@KyleSanderson KyleSanderson merged commit 9d978f5 into alliedmodders:master Jan 14, 2020
@bottiger1 bottiger1 deleted the fix-GetSteamAccountID branch January 15, 2020 21:54
@bottiger1
Copy link
Contributor Author

bottiger1 commented Jan 16, 2020

@asherkin I tested this yesterday during steam maintenance and it appears to work.

Will this fix be merged with 1.10? If not, when will 1.11 be released?

asherkin pushed a commit that referenced this pull request Feb 25, 2020
Correctly forward the validated parameter within CPlayer::GetSteamAccountID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetSteamAccountID(client, false) returns 0 when GetClientAuthId(client, AuthId_Steam3, steamid, sizeof(steamid), false); returns a non-zero number

4 participants