-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add presence server #652
Add presence server #652
Conversation
I added a field to |
Refresh.PresenceServer/ApiServer/Authentication/SecretAuthenticationProvider.cs
Outdated
Show resolved
Hide resolved
Refresh.PresenceServer/ApiServer/Middlewares/SecretMiddleware.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some minor syntax/naming things in here but otherwise this looks pretty good now.
This server is responsible for one thing only, which is telling the client to load the slot listing for any user slot you send it. Retail LBP2 and LBP3 both implement this, but both require special care to make it use a separate domain (which is important if you want to protect your main gameserver behind cloudflare!)
This is a fairly basic implementation of the server, but should be sufficient for even large amounts of connected players.
Marking as draft until #649 is merged and hashed live play now is added, since this branch is based off of that one (didnt wanna deal with merge conflicts on this PR).
Thanks to aidan for figuring all this out
Example of server in action:
play.now.mp4