thmsndk / Screeps3D

A 3D client for the MMORTS Screeps.com
91 stars 17 forks source link

[Suggestion] Extended & Official Server list #57

Closed thmsndk closed 5 years ago

thmsndk commented 5 years ago


The official client allows for connecting to private servers using an encrypted ticket obtained through internal steam api it hits the following api `/api/auth/steam-ticket` it probably uses steamworks or steam overlay, wonder if we can integrate with it somehow? should probably be in a future iteration

ags131 mentioned the following
> So, current steam login flow is goto `/api/auth/steam` (usually in a new window), it redirects to steam, user logs in, then returns with a page that just calls opener.postMessage with username, token, and steamid
> As a note, this mimics the MMO auth api exactly, so works identically

Currently just a dump of info, will elaborate later, open for discussion :)
https://screeps.com/forum/category/7/private-servers is a pretty good reference
thmsndk commented 5 years ago

Work in progress fetches official server list, queries for online status and user count image

thmsndk commented 5 years ago

Work in progress image