-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
V2 API Route #251
V2 API Route #251
Conversation
Begin extra stats documentation.
Update database to use actual steam IDs and whatnot.
Remove extra player stats from legacy api since they were not finished. Update serverrcon.js - Breakout packet handling to its own function. - Check version for 0.14 or higher. TBD if we can use 0.13. - Set log and backup URLs and keys to use API keys. - Fix formatting Update prodrun to point to dist for compiled js.
Everything mainly in src now, types in types, services (like db and various service calls to database) in services, etc. Bring in start of finding API key and match id. These will be checked before being sent off to different cases.
Removed OnSeriesInit as it is not needed. Forfeits are not implemented, but may not be needed right now, can check on round end instead and update as needed.
Finish map and series finishing. Start on pick/ban updates.
Update mapupdate to not use team ids from database. Update various TS calls to user lowercase identifiers.
Adjust imports on map flow service. Update api.ts to include new cases for the series flow.
Include OnPlayerDeath and OnMatchPaused and OnMatchUnpaused. Update serverrcon to include demo, logs, and backups. Update match creation to get version number if we select a server.
Since these are game specific, we will not create public API calls for this.
Update github actions to deploy next and version tag. Begin work on demo uploads.
3e2bccf
to
ccc7e40
Compare
Update package json version.
Update leaderboard swagger to add success option. Consider moving components to their own JS files for easier typing and location.
Include more docs for the MapFlowService.
Fix match registering version numbers for get5.
This should fix the bug of multiple matches being generated with the same server. Only update game server if the server is alive and available as well.
Can confirm basic match creation is working as intended while making older versions still compatible with the old G5WS plugin. |
And also https://phlex.avidgamers.me is now pointing to the new instance. So if anyone out there wants to test, that is available! |
One or two possible issues that may have to be rectified after review and initial testing
|
…release. Update README.
I think aside from team logos, this should be good to merge now. Even without team logos, this is now working as intended I believe. |
Docker 24.0.2 |
Sorry!.. I will unsubscribe in more detail later, while there is no possibility... |
So did you figure it out? You could also check the API logs and see if there's any error on its end. Also if there is an error, please create an issue :) |
one more thing confuses me, there is a get5_remote_log_url parameter in the plugin documentation, but it is not in the config file. Could it be the case? |
G5API/src/utility/serverrcon.js Lines 208 to 212 in c92bfb7
See here, it's set during the match setup, as well as a handful of other url settings for get5. The config file does not set these as they need to be set via rcon. |
And please, if you need any more questions answered, feel free to create a new Discussion :) |
this is a piece of the log with an error that was in the previous API, the API logs are fine, there are no errors |
This is going to be a bit of a longer WIP branch, but this has some sweeping changes that should make this compatible with the latest versions of get5. If there is an older version, it will still look for the G5WS plugin, however it is now no longer required as of Get5 0.14.
This is the feature list that needs to be incorporated for the API that holds the connection to the game server:
Series Flow
Map Flow
- [ ] OnPlayerBecameMVPMisc
There is still a few other changes that need to be made, such as extending new features for match configs (like more refined veto selection and choices) that may make it into this PR, but it is still undecided.
This update will also attempt to start converting some of this project into TypeScript, as there has been quite a few issues I've ran into with typing.