screeps / backend-local

ISC License
23 stars 22 forks source link

Using greenworks and steam auth without running steam #14

Open Awpteamoose opened 6 years ago

Awpteamoose commented 6 years ago

I'm trying to get a ticket from GetAuthSessionTicket for a separate project. My current idea is to use greenworks with greenworks.getAuthSessionTicket, but I can't because my server can't run Steam.

I noticed that this steam api call uses that very ticket, but I can't find how does it come into /steam-ticket route or how does it get retrieved in the first place anywhere in the screeps codebase.

Please help?

iKlem commented 6 years ago

This is something I've already done in my WIP client here : https://github.com/iKlem/iklem-screeps-client The call is in app/scripts/serverList.js and you just need to get it from any screeps server. But you'll need steam launched if you use greenworks.

Sended from my phone