feat: board integration, autosubmit refactor#258
Open
aIIison wants to merge 8 commits intop2sr:masterfrom
Open
feat: board integration, autosubmit refactor#258aIIison wants to merge 8 commits intop2sr:masterfrom
aIIison wants to merge 8 commits intop2sr:masterfrom
Conversation
Contributor
Author
|
Just added option to store all keys in the same file (useful for p2common users), e.g.: And now key files with old format get automatically converted to new one, accounting for the change I just made. |
6a9f6a5 to
af9240e
Compare
Member
|
don't plan on merging until the crash is fixed and LP is supported (maybe just use the builtin lp thing if that's possible) |
f9f7cdc to
409a6e5
Compare
* merged AutoSubmit and AutoSubmitMod (everything uses autosubmit.key format now) * FIXME: heap gets corrupted on run finish * TODO: top-scores API not implemented currently (needs to be done server-side first) * TODO: map IDs should be stored server-side
409a6e5 to
685e2db
Compare
Contributor
Author
|
oops that was an accident |
ThisAMJ
reviewed
Sep 30, 2025
src/Features/AutoSubmit.cpp
Outdated
| json11::Json::array AutoSubmit::GetLeastPortals(std::string &map_id) { | ||
| if (!ensureCurlReady(&g_curl_search)) return {}; | ||
|
|
||
| auto response = request(g_curl_search, "lp.pektezol.dev/api/v1/maps/" + map_id + "/leaderboards?page=1&pageSize=40"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrate boards into the in-game leaderboards.
Technical stuff
AutoSubmitandAutoSubmitMod, everything uses theautosubmit.keyformat (first line for website URL, second line for key), this should be changed on the main boards website as the download.top-scoresAPI (from Mel boards) needs to be implemented to main boards (so we can actually display top 40 scores around the player).Notes