Skip to content
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

prod(aor24): fixes #81

Merged
merged 11 commits into from
Feb 21, 2024
Merged

prod(aor24): fixes #81

merged 11 commits into from
Feb 21, 2024

Conversation

DonWick32
Copy link
Collaborator

No description provided.

@DonWick32 DonWick32 merged commit 5160d98 into delta:socket Feb 21, 2024
3 checks passed
DonWick32 added a commit that referenced this pull request Mar 3, 2024
* feat: socket init

* feat: validator init

* wip: validator init

* feat: attacker_movement in validator

* wip: change request struct for socket

* feat: integrate socket formats with frontend

* refactor: remove unwanted structs, modularise validator

* wip: init attack

* feat: random matchmaking based on trophies

* fix: change shortest path, socket api

* wip: validator logic (#70)

* wip: validator

* validator additions

* validator: added changes v2

* validator additions v3 + socket resolved errors

* validator additions v3 fix

* feat: fetch base details, init socket actor

* feat: socket start route, fix errors

* chore: unused stuff

* fix: base fetching, shortest path, user jwt, modify socket (#74)

Co-authored-by: kssisowrirajan <[email protected]>
Co-authored-by: DonWick32 <[email protected]>

* wip: base saving

* wip: dummy base data, validate base saving

* fix: save base with validation

* feat: default bot base for new user

* feat: check available blocks for blocks, attackers, bombs

* feat: add Inventory routes (#78)

* fix(schema): add name to defneder and mine

* feat: add inventory upgrade and fetch routes

* feat(inventory): add upgrade routes

* fix(inventory): fix upgrade route

* fix: dump file fix

* feat: send error message to frontend, dump fix

* feat(aor24): socket, validator

* validator rebase and changes

* (validator): return type changes

* (validator): game_handler init

* validator: mod.rs changes

* validator: mod additions and functional changes

* validator ready to test

* validator response type

* validator response type additions, bug fix v1

* feat: handle game terminal, define game logs

* validator: terminate response

* fix: remove redundant models

* feat: change shortest path to bfs, send artifact for simulation, fmt

* integration ongoing

* added remaining returns to mod

* fix: add sequence offset for new user creation

* feat: check artifact count for save base, fetch block id of bank from name

* validator mod fix

* fix: handle redis for attack, game termination

* feat: sriman pro skills

* feat: add route for game response, send game id

* fixing nitish's bugs

* fetch errors fixed, redis gotta be fixed

* fix: this commit dosent work this is just to send the lastest code for the defender

* feat: new artifact transfer route, change profile route, alter bank name check

* bug fixes and defender logic

* fix: proper redis handling in attack, game termination

* feat: check base under attack for saving, transfer, upgrade

* feat: save game logs

* fix(validator): defender movement function

* feat: max cap on per day attacks by user and attacks on a base

* feat: max cap on per day attacks by user and attacks on a base

* defender validation diff speeds

* diff speed logic validator

* fix: set total building hp, add logged in route, fix rating calc

* validator new branch backup

* fix(validator): defender movement

* fix(validator): defender movement skip condition wrong order

* defender simulation tweeks

* defender simulation

* feat: handle artifacts shifting after game over

* validator cleanups

* feat: max collectible artifacts, fix lint

* feat: bomb limit per attacker

* fix: upgrade should not update all for users

* feat: add workflow for socket

* invalidation handled and tested validator with frontend

* remove dead code

* fix clippy errors

* gamelog variables memory reduction

* feat: dummy dump for prod

---------

Co-authored-by: DonWIck32 <[email protected]>
Co-authored-by: kssisowrirajan <[email protected]>
Co-authored-by: ashw1nr2023 <[email protected]>
Co-authored-by: novice0192 <[email protected]>

* prod(aor24): fixes (#81)

* fix: send mapspace id after inventory upgrade

* self destruction

* fix: seeder, mine and defender name sending

* fix: add game table debug print statements

* fix: send next block id after upgrade, add trophies to game table, change history and leaderboard response

* timeout game termination and defender fix ++

* fix: update attacks, defenses won, dummy data, random avatar

* fix: no bot in leaderboard

* fix: rip simulation log

* feat: avatar

* fix: fmt

---------

Co-authored-by: ashw1nr2023 <[email protected]>
Co-authored-by: MegaaDev <[email protected]>

* fix: username

* fix(upgrade): upgrade only for one user (#82)

* fix(upgrade): upgrade only for one user

* fix: remove println

* fix: defender

* fix: correct attacker and bomb details

* chore: add debug logs

* fix: info logs

* feat(bin): script for increasing artifacts of users (#83)

* feat(bin): script increasing artifacts

* fix: change bonus artifact count

* fix: add log after threads

---------

Co-authored-by: DonWIck32 <[email protected]>

* feat: bonus artifact for day 2

* feat: artifact adjustment

* fix: negaitive artifact bug (#84)

---------

Co-authored-by: kssisowrirajan <[email protected]>
Co-authored-by: novice0192 <[email protected]>
Co-authored-by: Akshay A <[email protected]>
Co-authored-by: itsKhadeer <[email protected]>
Co-authored-by: ashw1nr2023 <[email protected]>
Co-authored-by: MegaaDev <[email protected]>
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.

3 participants