Skip to content

Feature/all handlers#18

Draft
Seltraeh wants to merge 6 commits intodecompfrontier:mainfrom
Seltraeh:feature/all-handlers
Draft

Feature/all handlers#18
Seltraeh wants to merge 6 commits intodecompfrontier:mainfrom
Seltraeh:feature/all-handlers

Conversation

@Seltraeh
Copy link
Contributor

All handler template files. On to our crashing era glow up!

…configuration loading for daily tasks

- Introduced multiple request handler classes in C++ to manage game-related requests (e.g., raids, shops, user info).
- Implemented methods to retrieve group IDs and AES keys.
- Added `Handle` methods for processing requests and generating responses.
- Developed a JSON loading mechanism to populate daily task prize and bonus tables from a configuration file.
@Seltraeh
Copy link
Contributor Author

Here are the requests I was talking about. I was struggling so hard to commit the push until I realized I was trying to push to main with no permissions... I ultimately learned my lesson.

…med like placeholders to clean up handlers and responses. Transfered logic from old versions to new naming scheme. Handlers list is now finalized.
- Eliminate HARDCODE_USERID; use client 'ak' as user ID
- Add dynamic user ID resolution and caching at startup
- Refactor GmeController and GetUserInfo to resolve real user ID from DB
- Chain user creation, userinfo, and (dev) unit seeding in AccountController
- Add DEV_SKIP_TUTORIAL flag and full unit roster seeding for dev/debug
- Update user_units schema: AUTOINCREMENT id, unique (user_id, unit_id), sentinel row for safe ID range
- Add System::DevValidateAndSeedUnits for startup validation
- Update startup flow: run migrations, seed units, resolve user
- Update CMakePresets.json, add GimuServer.slnx, improve docs/comments

These changes ensure robust user/account creation, remove all hardcoded IDs, and support both dev and production flows for Brave Frontier Windows client compatibility.
@Seltraeh Seltraeh force-pushed the feature/all-handlers branch from 3b005d9 to 6d821c5 Compare March 12, 2026 22:55
@arves100
Copy link
Member

I would prefer to not add all handlers, rather just add each handlers as we go. Is this PR still relevant with the latest changes? If so please rebase to the new glaze code, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants