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

GetServerSteamIDsByIP() not working #102

Open
notevenadeveloper opened this issue Jun 12, 2020 · 3 comments
Open

GetServerSteamIDsByIP() not working #102

notevenadeveloper opened this issue Jun 12, 2020 · 3 comments
Assignees

Comments

@notevenadeveloper
Copy link

Had the same issue than another user already had: #71

I know the server is online, from a steam game called: ark survival evolved.
It's an Official server with online status and the ip is: 85.190.155.82:27015
Status Online: 3/70 players.

https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=<85.190.155.82:27015>
Retrives me: {"response":{"success":false,"message":"'addr' param should specify a valid IP or IP:queryport"}}

How can I solve this?

@53m1k0l0n
Copy link

Had the same issue than another user already had: #71

I know the server is online, from a steam game called: ark survival evolved.
It's an Official server with online status and the ip is: 85.190.155.82:27015
Status Online: 3/70 players.

https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=<85.190.155.82:27015>
Retrives me: {"response":{"success":false,"message":"'addr' param should specify a valid IP or IP:queryport"}}

How can I solve this?

This is the right way.

https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=85.190.155.82

{"response":{"success":true,"servers":[{"addr":"85.190.155.82:27017","gmsindex":65534,"appid":346110,"gamedir":"ark_survival_evolved","region":-1,"secure":true,"lan":false,"gameport":7779,"specport":0},{"addr":"85.190.155.82:27019","gmsindex":65534,"appid":346110,"gamedir":"ark_survival_evolved","region":-1,"secure":true,"lan":false,"gameport":7781,"specport":0},{"addr":"85.190.155.82:27021","gmsindex":65534,"appid":346110,"gamedir":"ark_survival_evolved","region":-1,"secure":true,"lan":false,"gameport":7783,"specport":0}]}}

@53m1k0l0n
Copy link

I'm not getting any data back. Even in the browser. Result always empty. "steamUserInterface.GetServerSteamIDsByIPAsync(ip)"

And yes the Servers are Online.

GET https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=<ip_addr> works.

@babelshift babelshift self-assigned this Jun 29, 2020
@babelshift babelshift added the bug label Jun 29, 2020
@babelshift
Copy link
Owner

Since I closed #71, I have since learned that the GetServerSteamIDsByIP endpoint only works with servers that you have tied to your Steam account using this Steam UI.

There are not yet any bindings in this library to use the ISteamApps/GetServersAtAddress endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants