SteamWebAPI2 icon indicating copy to clipboard operation
SteamWebAPI2 copied to clipboard

GetServerSteamIDsByIP() not working

Open notevenadeveloper opened this issue 5 years ago • 3 comments

Had the same issue than another user already had: https://github.com/babelshift/SteamWebAPI2/issues/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?

notevenadeveloper avatar Jun 12 '20 09:06 notevenadeveloper

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 avatar Jun 29 '20 17:06 53m1k0l0n

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.

53m1k0l0n avatar Jun 29 '20 17:06 53m1k0l0n

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.

babelshift avatar Jun 29 '20 23:06 babelshift