Skip to content

Conversation

@Toastbrot236
Copy link
Contributor

This PR adds the ability to sanitize and actually track the player data included in the playerIds list in the game's score submissions, while also tracking the user who actually published the score (since in online multiplayer, every player submits the score, not just the host). Also the server now uses that data to fix the "7-player mode" recent activity/score API bug by falling back to counting the usernames in playerIds and setting the type to that (guaranteed to be inbetween 1 and 4). Requesting a level leaderboard of type 7 just returns all scores for both the game and APIv3 regardless of their type now.

Also adjusts and adds new score tests, improves overtake notifications to include the usernames of all participants of the new score aswell as the score type, and sends these notifications to all overtaken players who have not participated in the new score aswell. Also quickly made the LBP2+ friends leaderboard endpoint properly use the skip param since I was already at it.

Closes #201

@jvyden jvyden merged commit 8db9f7a into LittleBigRefresh:main Oct 17, 2025
3 checks passed
@Toastbrot236 Toastbrot236 deleted the score-7-again branch October 18, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use playerIds field in score submission XML

2 participants