Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SteamID converter incorrect bug #105

Open
ZK413 opened this issue May 2, 2020 · 0 comments
Open

SteamID converter incorrect bug #105

ZK413 opened this issue May 2, 2020 · 0 comments
Labels
Milestone

Comments

@ZK413
Copy link

ZK413 commented May 2, 2020

$formatted = "STEAM_1:$y:$z";

This is fundamentally wrong!

$formatted = "[U:1:$this->rawValue]";

Also not correct.

CS:GO uses "Universe", but CS:S and CS 1.6 do not.
Example on a real "Steam ID":
CS:GO - STEAM_1:0:18797073
CS 1.6 and CS:S - STEAM_0:0:18797073

In your ID2 and ID3 "Universe" will always be exactly 1 (Public), although for CS:S and CS 1.6 it is exactly 0 (Individual / Unspecified).

Web services and web applications, such as ban lists and Steam ID Finders, also do not use "Universe". that is, for them ID2 and ID3 generated by your code are not correct.

Documentation for whom is written?

https://developer.valvesoftware.com/wiki/SteamID
Close attention to "Universes Available for Steam Accounts" and "Types of Steam Accounts".

@nicekiwi nicekiwi added the bug label May 3, 2020
@nicekiwi nicekiwi changed the title Bug SteamID converter incorrect bug Jan 24, 2021
@nicekiwi nicekiwi added this to the 3.1.0 milestone Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants