-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Clans: Emulator and server implementation #17835
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
base: master
Are you sure you want to change the base?
Conversation
- Needs GUI implementation to pick the server host - Needs code to select the server host from config Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
- Enabled SSL host verification Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
Signed-off-by: zeph <35661622+ZephyrCodesStuff@users.noreply.github.com>
RipleyTom
left a comment
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.
You also need to add the files to msvc projects.
Apparently, when paging is null we're supposed to return the total count from the server. The game will only access `pageResult->total`.
|
Addressed a good chunk of the suggestions. Current to-do list of what's left:
|
- Renamed some fields - Implemented fmt::format for consistency - Made some constant fields `const`
Signed-off-by: zeph <zephyrzefa15@gmail.com>
Signed-off-by: zeph <zephyrzefa15@gmail.com>
|
I've implemented an IDM for request handling and tested in-game -- everything seems fine and working. Clan search, membership status, sanity checks (don't join a clan you already are in, etc...). Ticket request failure is also now handled, meaning the game will display "Service Unavailable." if a ticket fails to be fetched. Next step is now improving ticket requesting via callbacks! |
Using proper atomic synchronisation primitives, instead of a busy loop Signed-off-by: zeph <zephyrzefa15@gmail.com>
|
Everything has been handled. Please let me know if there's anything left to fix! |
Signed-off-by: zeph <zephyrzefa15@gmail.com>
|
Switched to |
Signed-off-by: zeph <zephyrzefa15@gmail.com>
|
The last commit won't work reliably. Since you're passing a temporary object. |
Signed-off-by: zeph <zephyrzefa15@gmail.com>
|
Oops- my bad, C++ things. Should be fixed! |
|
Results of the latest commit, tested on my fork's Actions with public runners:
Will investigate what's causing MSVC to fail. |
|
Problem fixed and now Windows, Linux and macOS build successfully. NOTE: Windows Clang fails due to an old-style C cast in |
This PR implements the Sony Clans subsystem for the RPCS3 emulator.
Used in:
The source code for the server is available here and is licensed AGPLv3.
NOTE: The server is fully compatible with the PS3 console as well, as it follows the PS3 Clans Library specification.
The emulator code tries its best to follow on the steps of the RPCN client code wherever possible; both in the Client as well as the Settings and Config components.
Features:
clans_client.[h,cpp]sceNpClans.[h,cpp]sceNp.hclans.rpcs3.net)clans_settings_dialog.[h,cpp]clans.ymlconfig file for persistenceclans_config.[h,cpp]