node-steamid-converter icon indicating copy to clipboard operation
node-steamid-converter copied to clipboard

Convert server_steam_id

Open monotv opened this issue 7 years ago • 3 comments

Is there a way to convert a server_steam_id to an ip:port?

monotv avatar Jun 04 '17 13:06 monotv

I don't think so. You can take a look at the steam api docs to make sure.

babofitos avatar Jun 05 '17 01:06 babofitos

Thanks for the feedback. I am still tinkering with this :) I've managed to convert it to a Steam3ID looking something like this: [A:1:43436143802:8601]. This format also shows up in the console if one connects to a game but after showing the ip;port. Now how would I connect to that or can this be translated to an ip:port somehow? I think there has to be an algorithm that converts this to an ip:port but I am not sure where to look.

monotv avatar Jun 05 '17 15:06 monotv

@monotv In case you're still looking into the problem, you can't translate one to another without contacting Steam servers. They're randomly assigned. You can tell because they can change despite your IP and port staying the same.

popey456963 avatar Jul 04 '17 20:07 popey456963