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

fix buid issues #2741

Merged
merged 15 commits into from
Mar 10, 2025
Merged

fix buid issues #2741

merged 15 commits into from
Mar 10, 2025

Conversation

aymericdelab
Copy link
Collaborator

No description provided.

edisontim and others added 15 commits February 7, 2025 19:26
* Add torii-launcher

* address PR comments + restyle

* Add dynamic config

* Finish and polish app
- Add notification
- Add settings to change RPC
- Adds different db directories for all configurations

* fix build issues

* update torii version if wrong one

* fix version check

* update world address

* keep syncing state component mounted even when going to settings

* adding back error logs

* update constants

---------

Co-authored-by: aymericdelab <[email protected]>
* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* new deploy

* fix bug

* update policies

* update structure entity id in scenes

* update demon hide to labor

* add production module

* first draft new production

* add raw resources into resource

* fix: production output amount

* add labor burn

* adding burn resource for labor

* fix labor bugs and add more realms info

* small fixes

* clean + remove console.logs

* redeployed sepolia and changed config values for labor

* new config

* new config

* new config

* contrct fix

* add transfer resources above modals

* fix overlay

* update policies and capacity info

* selected realm for production

* remove console.log

* feedback

* knip + prettier

* knip

* prettier torii launcher

* update sepolia env

* fix build issues

---------

Co-authored-by: Credence <[email protected]>
* add the combat simulator

* small fix

* remove old battle and pillage simulator

* knip prettier

* add hidden feature

* address comments
* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

Co-authored-by: Credence <[email protected]>
* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* combat: skeleton

* combat: update

* combat: update

* combat: update

* combat: resource update

* combat: resource update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* Optimize contracts by removing models, grouping together and deleting entities (#2690)

* scarb fmt

* combat: update

* contracts: update trade

* contracts: add max trade count

* update

* contracts: update bank

* contracts: update

* scarb fmt

* contracts: initialize structure weight

* contracts: initialize troop capacity

* scarb fmt

* scarb fmt

* contracts: add building capacity perks

* new movement (#2691)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* new combat client mockup (#2693)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* refactor find paths and add action paths

* refactor travel path to action path

* fix highlight bug

* show right action info

* v1 of new combat modal

* first draft combat v1

* fix bugs

* improve combat modal

* refactor

* refactor

* Start integrating contract changes to client

* contracts: fix config

* update resource ids

* scarb fmt

* remove unused manifest

* rename

* update

* update

* unique troop type + bug fixes  (#2694)

* limit to one troop type

* can only create attacking armies

* fix bugs

* add help action path

* add help container

* add mockup structure defenses

* add new defense management

* improve styling

* remove console.log

* fix build issues

* update

* delete unused files

* bug fixes

* bug fixes

* update

* contracts: comment out tests

* fix build issues

* deploy locally

* Feat/combat new (#2692)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* update version and components

* components refactoring

* updated building quantity and population models (#2697)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* local deploy + contracts change client refactor

* refactor position owner and building quantity

* start fix sync

* contract updates (#2699)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* Upgrade contracts to dojo version 1.2.1 (#2701)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* upgrade to dojo v1.2.1

* contracts: fix tests

* contracts: update structure model (#2702)

* contracts: refactor structure owner handling across contracts

* contracts: minor updates

* contracts: rename building_count to packed_counts in StructureBuildings model

* fix package build

* new owner structure

* fix build

* contracts: improve and test troop movement (#2703)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* fix client

* Troop attack tests (#2704)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* update occupier model (#2705)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* contracts: update occupier model

* fix

* update scarb back

* contracts: upgrade to dojo 1.2.1

* contracts: explore hexes adjacent to structures (#2708)

* feature: allow multiple banks (#2706)

* contracts: feat: regional banks

* feat: regional banks: fix configs

* feat: regional banks: fix configs

* config: bug fixes

* config: fix bank spawn locations

* config: fix bank spawn locations

* comment

* debug client

* contracts: realm pays food cost for explorer travel

* fix bugs

* fix bugs

* add defense slot troops

* fix bugs and add attack

* update libs and allow friendly fire

* update combat simulator

* Allow creation of villages (#2710)

* feat: add villages

* feat: add villages

* contracts: update dojo toml

* client: update call

* contracts: initialize troops resource model && scarb fmt

* fix build issues

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: aymericdelab <[email protected]>

* contracts: initialize resource arrivals models

* updata dojo.js

* fix combat

* explorer vs structure

* feat: allow players find hypers on the map with the highest chance at the center of the map and less chance with distance (#2711)

* client: fix combat simulator

* update: single vrf call for troop movement

* start structure attacks

* client: fix combat simulator

* client: minor bug fix

* refactor army /structure action

* Update hyperstructure foundations (#2712)

* contracts:
- allow hyp foundation to construct from its balance.
- use hyperstructure count during foundation find probability calc

* config: update for hyperstrcuture foundations

* update dojo js

* fix bugs

* delete army when die, and remove getcomponent value strict

* show more army attack info

* add text info

* remove resource bug

* fix resource production

* start trading refactor

* fix: trade config

* contracts: update resource arrivals

* update to latest dojo.js

* change resource order png

* contracts: allow troop <-> structure resource transfer

* fix resource bug

* Remove onchain quests (#2709)

* Remove onchain quests

* Lint

* Bob/various fixes (#2700)

* Please update README.md or add scripts folder. (#2688)

* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

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

* Granular subsciption to zustand store

* Clean unused properties in game renderer

* Fix docs build

* Delete deprecated assets

* Fix img paths

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: Credence <[email protected]>

* fix build issues

* update army production (#2713)

* fix contracts

* add missing resources

* new troop tier building fixses

* config: fix

* start trade fix

* change resource inputs and building costs

* contracts: update trade (#2714)

* contracts: update trade

* config: update trade

* scarb fmt

* Fix/building (#2715)

* fix: remove unused buildings types sp the max building category id is 16. this allows `packed_counts` hold count for all building types

* fix: building count store bug

* contracts: enforce structure battle immunity period

* contracts: accept trade bug fix

* contracts: fix swap bug

* fix market modal bugs

* contracts: fix liquidity bug

* market

* fix hyperstructure

* Remove Owner and EntityOwner models (#2716)

* contracts: remove owner model

* client: update guild model

* katana: fix block timestamp issue

* fix swap, liquidity actions and resource arrivals (#2718)

* increase local starting resources

* fix donkey starting

* fix username locally

* change to nano precison

* change gram to nanogram

* contracts: resource arrival time bug fix

* comment

* contracts: fix donkey capacity calculation

* revert back nanograms

* remove comment out

* fix troop tier selection

* fix combat container and modal

* fix combat + naming

* fix population issue

* fix

* fix armies + ready for deployment on sepolia

* refactor config manager

* resource transfer/troop transfer v1

* update sepolia rpc

* update sepolia rpc

* deploy game to sepolia

* client: update sepolia torii urls

* contracts: fix structure to troop transfer bug

* add resource and troop transfer

* refactor and allow ennemies to transfer troops/resources

* change color

* update landing

* contracts: remove position model

* New arrivals (#2719)

* New arrivals

* Bank fees

* Add time ticking down

* Fix transport resource weight

* Formatting

* Formatting

* Fix react hook issue

* start fix weight

* fix bugs

* check free directions

* refactoring + design improvements

* fix

* cleaning, knip, formatting

* fix build landing

---------

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

---------

Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>
* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* combat: skeleton

* combat: update

* combat: update

* combat: update

* combat: resource update

* combat: resource update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* Optimize contracts by removing models, grouping together and deleting entities (#2690)

* scarb fmt

* combat: update

* contracts: update trade

* contracts: add max trade count

* update

* contracts: update bank

* contracts: update

* scarb fmt

* contracts: initialize structure weight

* contracts: initialize troop capacity

* scarb fmt

* scarb fmt

* contracts: add building capacity perks

* new movement (#2691)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* new combat client mockup (#2693)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* refactor find paths and add action paths

* refactor travel path to action path

* fix highlight bug

* show right action info

* v1 of new combat modal

* first draft combat v1

* fix bugs

* improve combat modal

* refactor

* refactor

* Start integrating contract changes to client

* contracts: fix config

* update resource ids

* scarb fmt

* remove unused manifest

* rename

* update

* update

* unique troop type + bug fixes  (#2694)

* limit to one troop type

* can only create attacking armies

* fix bugs

* add help action path

* add help container

* add mockup structure defenses

* add new defense management

* improve styling

* remove console.log

* fix build issues

* update

* delete unused files

* bug fixes

* bug fixes

* update

* contracts: comment out tests

* fix build issues

* deploy locally

* Feat/combat new (#2692)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* update version and components

* components refactoring

* updated building quantity and population models (#2697)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* local deploy + contracts change client refactor

* refactor position owner and building quantity

* start fix sync

* contract updates (#2699)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* Upgrade contracts to dojo version 1.2.1 (#2701)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* upgrade to dojo v1.2.1

* contracts: fix tests

* contracts: update structure model (#2702)

* contracts: refactor structure owner handling across contracts

* contracts: minor updates

* contracts: rename building_count to packed_counts in StructureBuildings model

* fix package build

* new owner structure

* fix build

* contracts: improve and test troop movement (#2703)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* fix client

* Troop attack tests (#2704)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* update occupier model (#2705)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* contracts: update occupier model

* fix

* update scarb back

* contracts: upgrade to dojo 1.2.1

* contracts: explore hexes adjacent to structures (#2708)

* feature: allow multiple banks (#2706)

* contracts: feat: regional banks

* feat: regional banks: fix configs

* feat: regional banks: fix configs

* config: bug fixes

* config: fix bank spawn locations

* config: fix bank spawn locations

* comment

* debug client

* contracts: realm pays food cost for explorer travel

* fix bugs

* fix bugs

* add defense slot troops

* fix bugs and add attack

* update libs and allow friendly fire

* update combat simulator

* Allow creation of villages (#2710)

* feat: add villages

* feat: add villages

* contracts: update dojo toml

* client: update call

* contracts: initialize troops resource model && scarb fmt

* fix build issues

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: aymericdelab <[email protected]>

* contracts: initialize resource arrivals models

* updata dojo.js

* fix combat

* explorer vs structure

* feat: allow players find hypers on the map with the highest chance at the center of the map and less chance with distance (#2711)

* client: fix combat simulator

* update: single vrf call for troop movement

* start structure attacks

* client: fix combat simulator

* client: minor bug fix

* refactor army /structure action

* Update hyperstructure foundations (#2712)

* contracts:
- allow hyp foundation to construct from its balance.
- use hyperstructure count during foundation find probability calc

* config: update for hyperstrcuture foundations

* update dojo js

* fix bugs

* delete army when die, and remove getcomponent value strict

* show more army attack info

* add text info

* remove resource bug

* fix resource production

* start trading refactor

* fix: trade config

* contracts: update resource arrivals

* update to latest dojo.js

* change resource order png

* contracts: allow troop <-> structure resource transfer

* fix resource bug

* Remove onchain quests (#2709)

* Remove onchain quests

* Lint

* Bob/various fixes (#2700)

* Please update README.md or add scripts folder. (#2688)

* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

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

* Granular subsciption to zustand store

* Clean unused properties in game renderer

* Fix docs build

* Delete deprecated assets

* Fix img paths

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: Credence <[email protected]>

* fix build issues

* update army production (#2713)

* fix contracts

* add missing resources

* new troop tier building fixses

* config: fix

* start trade fix

* change resource inputs and building costs

* contracts: update trade (#2714)

* contracts: update trade

* config: update trade

* scarb fmt

* Fix/building (#2715)

* fix: remove unused buildings types sp the max building category id is 16. this allows `packed_counts` hold count for all building types

* fix: building count store bug

* contracts: enforce structure battle immunity period

* contracts: accept trade bug fix

* contracts: fix swap bug

* fix market modal bugs

* contracts: fix liquidity bug

* market

* fix hyperstructure

* Remove Owner and EntityOwner models (#2716)

* contracts: remove owner model

* client: update guild model

* katana: fix block timestamp issue

* fix swap, liquidity actions and resource arrivals (#2718)

* increase local starting resources

* fix donkey starting

* fix username locally

* change to nano precison

* change gram to nanogram

* contracts: resource arrival time bug fix

* comment

* contracts: fix donkey capacity calculation

* revert back nanograms

* remove comment out

* fix troop tier selection

* fix combat container and modal

* fix combat + naming

* fix population issue

* fix

* fix armies + ready for deployment on sepolia

* refactor config manager

* resource transfer/troop transfer v1

* update sepolia rpc

* update sepolia rpc

* deploy game to sepolia

* client: update sepolia torii urls

* contracts: fix structure to troop transfer bug

* add resource and troop transfer

* refactor and allow ennemies to transfer troops/resources

* change color

* update landing

* contracts: remove position model

* New arrivals (#2719)

* New arrivals

* Bank fees

* Add time ticking down

* Fix transport resource weight

* Formatting

* Formatting

* Fix react hook issue

* start fix weight

* fix bugs

* check free directions

* refactoring + design improvements

* fix

* cleaning, knip, formatting

* fix build landing

---------

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

* Bump controller version + fix sepolia login (#2721)

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

* update policies

---------

Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>
* remove construction on worldmap

* one click produce + remove construction menu + remove logging
* chore: gitignore

* feat: new biomes models

* feat: new buildings

* feat: postprocessing

* fix: fog effect

* feat: vignette

* fix: refactor renderer

* fix: renderer refactor

* fix: mines model

* feat: knights models
* fix subscription

* refactor entity hover + subs

* remove unused input

* knip and format
Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eternum ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 5:22pm
eternum-docs ❌ Failed (Inspect) Mar 10, 2025 5:22pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
eternum-landing ⬜️ Ignored (Inspect) Visit Preview Mar 10, 2025 5:22pm

Copy link
Contributor

coderabbitai bot commented Mar 10, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Failed to generate code suggestions for PR

@aymericdelab aymericdelab merged commit 9a43862 into feat/mobile-update Mar 10, 2025
8 of 16 checks passed
@aymericdelab aymericdelab deleted the rasche-mobile branch March 10, 2025 17:30
aymericdelab added a commit that referenced this pull request Mar 10, 2025
* chore: gitignore

* chore: gitignore

* feat: basic assets for mobile client

* feat: base project structure

* fix: shadcn config

* fix: folder structure

* feat: readme.md

* feat: added basic layout and navigation

* feat: add theme provider

* feat: dummy login and logout

* feat: header extracted from layout

* chore: updated README.md

* fix: structure update

* feat: routes refactor

* feat: index.html meta

* chore: starknet dep, vite config

* fix: settings padding

* feat: wasm plugin

* feat: realm info header widget

* fix: font classname

* feat: tabs component

* feat: resources widget

* fix: trade button in resources card

* feat: css variables

* feat: trade page

* feat: trade swap direction

* fix: trade styling

* fix: swap order

* feat: select replaced with drawer

* feat: summary section

* feat: amm confirm drawer

* fix: drawer smooth close

* fix: confirm drawe rename

* feat: getLevelname helper

* feat: castle upgrade widget

* fix: type error

* feat: optinal image background

* feat: castle upgrade styling

* fix: drawers semantics

* feat: numeric keyboard

* fix: numeric keyboard

* fix: numeric keyboard close

* fix: resources card height

* feat: resources expand transition

* feat: nearby-enemies widget

* feat: arrived donkeys widget

* feat: chat page

* feat: chat page

* fix: chat fixes

* Revert "feat: chat page"

This reverts commit 86bd71e.

* fix: chat bugs

* feat: chat input component

* fix: missing file error

* feat: labor widget

* feat: labor widget fixes

* feat: numeric keyboard drawer

* feat: numeric keyboard drawer fixes

* feat: migration to tanstack router

* feat: claim widget

* fix: manage tab

* fix: resource icons names

* fix: resources icons

* fix: claim widget icons

* feat: mobile localhost https

* feat: mobile client dojo connect

* fix: removed unused files

* fix: shadcn css

* chore: gitingore

* fix: build errors

* fix buid issues (#2741)

* feat: add Torii local launcher (#2663)

* Add torii-launcher

* address PR comments + restyle

* Add dynamic config

* Finish and polish app
- Add notification
- Add settings to change RPC
- Adds different db directories for all configurations

* fix build issues

* update torii version if wrong one

* fix version check

* update world address

* keep syncing state component mounted even when going to settings

* adding back error logs

* update constants

---------

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

* adding new labor system (#2682)

* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* new deploy

* fix bug

* update policies

* update structure entity id in scenes

* update demon hide to labor

* add production module

* first draft new production

* add raw resources into resource

* fix: production output amount

* add labor burn

* adding burn resource for labor

* fix labor bugs and add more realms info

* small fixes

* clean + remove console.logs

* redeployed sepolia and changed config values for labor

* new config

* new config

* new config

* contrct fix

* add transfer resources above modals

* fix overlay

* update policies and capacity info

* selected realm for production

* remove console.log

* feedback

* knip + prettier

* knip

* prettier torii launcher

* update sepolia env

* fix build issues

---------

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

* fix infinite rerender

* fix castle not appearing

* fix active / paused production

* update battle simulator (#2686)

* add the combat simulator

* small fix

* remove old battle and pillage simulator

* knip prettier

* add hidden feature

* address comments

* Please update README.md or add scripts folder. (#2688)

* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

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

* Feat/new combat (#2725)

* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* combat: skeleton

* combat: update

* combat: update

* combat: update

* combat: resource update

* combat: resource update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* Optimize contracts by removing models, grouping together and deleting entities (#2690)

* scarb fmt

* combat: update

* contracts: update trade

* contracts: add max trade count

* update

* contracts: update bank

* contracts: update

* scarb fmt

* contracts: initialize structure weight

* contracts: initialize troop capacity

* scarb fmt

* scarb fmt

* contracts: add building capacity perks

* new movement (#2691)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* new combat client mockup (#2693)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* refactor find paths and add action paths

* refactor travel path to action path

* fix highlight bug

* show right action info

* v1 of new combat modal

* first draft combat v1

* fix bugs

* improve combat modal

* refactor

* refactor

* Start integrating contract changes to client

* contracts: fix config

* update resource ids

* scarb fmt

* remove unused manifest

* rename

* update

* update

* unique troop type + bug fixes  (#2694)

* limit to one troop type

* can only create attacking armies

* fix bugs

* add help action path

* add help container

* add mockup structure defenses

* add new defense management

* improve styling

* remove console.log

* fix build issues

* update

* delete unused files

* bug fixes

* bug fixes

* update

* contracts: comment out tests

* fix build issues

* deploy locally

* Feat/combat new (#2692)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* update version and components

* components refactoring

* updated building quantity and population models (#2697)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* local deploy + contracts change client refactor

* refactor position owner and building quantity

* start fix sync

* contract updates (#2699)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* Upgrade contracts to dojo version 1.2.1 (#2701)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* upgrade to dojo v1.2.1

* contracts: fix tests

* contracts: update structure model (#2702)

* contracts: refactor structure owner handling across contracts

* contracts: minor updates

* contracts: rename building_count to packed_counts in StructureBuildings model

* fix package build

* new owner structure

* fix build

* contracts: improve and test troop movement (#2703)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* fix client

* Troop attack tests (#2704)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* update occupier model (#2705)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* contracts: update occupier model

* fix

* update scarb back

* contracts: upgrade to dojo 1.2.1

* contracts: explore hexes adjacent to structures (#2708)

* feature: allow multiple banks (#2706)

* contracts: feat: regional banks

* feat: regional banks: fix configs

* feat: regional banks: fix configs

* config: bug fixes

* config: fix bank spawn locations

* config: fix bank spawn locations

* comment

* debug client

* contracts: realm pays food cost for explorer travel

* fix bugs

* fix bugs

* add defense slot troops

* fix bugs and add attack

* update libs and allow friendly fire

* update combat simulator

* Allow creation of villages (#2710)

* feat: add villages

* feat: add villages

* contracts: update dojo toml

* client: update call

* contracts: initialize troops resource model && scarb fmt

* fix build issues

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: aymericdelab <[email protected]>

* contracts: initialize resource arrivals models

* updata dojo.js

* fix combat

* explorer vs structure

* feat: allow players find hypers on the map with the highest chance at the center of the map and less chance with distance (#2711)

* client: fix combat simulator

* update: single vrf call for troop movement

* start structure attacks

* client: fix combat simulator

* client: minor bug fix

* refactor army /structure action

* Update hyperstructure foundations (#2712)

* contracts:
- allow hyp foundation to construct from its balance.
- use hyperstructure count during foundation find probability calc

* config: update for hyperstrcuture foundations

* update dojo js

* fix bugs

* delete army when die, and remove getcomponent value strict

* show more army attack info

* add text info

* remove resource bug

* fix resource production

* start trading refactor

* fix: trade config

* contracts: update resource arrivals

* update to latest dojo.js

* change resource order png

* contracts: allow troop <-> structure resource transfer

* fix resource bug

* Remove onchain quests (#2709)

* Remove onchain quests

* Lint

* Bob/various fixes (#2700)

* Please update README.md or add scripts folder. (#2688)

* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

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

* Granular subsciption to zustand store

* Clean unused properties in game renderer

* Fix docs build

* Delete deprecated assets

* Fix img paths

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: Credence <[email protected]>

* fix build issues

* update army production (#2713)

* fix contracts

* add missing resources

* new troop tier building fixses

* config: fix

* start trade fix

* change resource inputs and building costs

* contracts: update trade (#2714)

* contracts: update trade

* config: update trade

* scarb fmt

* Fix/building (#2715)

* fix: remove unused buildings types sp the max building category id is 16. this allows `packed_counts` hold count for all building types

* fix: building count store bug

* contracts: enforce structure battle immunity period

* contracts: accept trade bug fix

* contracts: fix swap bug

* fix market modal bugs

* contracts: fix liquidity bug

* market

* fix hyperstructure

* Remove Owner and EntityOwner models (#2716)

* contracts: remove owner model

* client: update guild model

* katana: fix block timestamp issue

* fix swap, liquidity actions and resource arrivals (#2718)

* increase local starting resources

* fix donkey starting

* fix username locally

* change to nano precison

* change gram to nanogram

* contracts: resource arrival time bug fix

* comment

* contracts: fix donkey capacity calculation

* revert back nanograms

* remove comment out

* fix troop tier selection

* fix combat container and modal

* fix combat + naming

* fix population issue

* fix

* fix armies + ready for deployment on sepolia

* refactor config manager

* resource transfer/troop transfer v1

* update sepolia rpc

* update sepolia rpc

* deploy game to sepolia

* client: update sepolia torii urls

* contracts: fix structure to troop transfer bug

* add resource and troop transfer

* refactor and allow ennemies to transfer troops/resources

* change color

* update landing

* contracts: remove position model

* New arrivals (#2719)

* New arrivals

* Bank fees

* Add time ticking down

* Fix transport resource weight

* Formatting

* Formatting

* Fix react hook issue

* start fix weight

* fix bugs

* check free directions

* refactoring + design improvements

* fix

* cleaning, knip, formatting

* fix build landing

---------

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

---------

Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>

* Feat/new combat (#2726)

* new production

* new production

* new production

* new production

* new production

* new production

* fix pr comments

* fix pr comments

* fix pr comments

* fix pr comments

* combat: skeleton

* combat: update

* combat: update

* combat: update

* combat: resource update

* combat: resource update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* combat: update

* Optimize contracts by removing models, grouping together and deleting entities (#2690)

* scarb fmt

* combat: update

* contracts: update trade

* contracts: add max trade count

* update

* contracts: update bank

* contracts: update

* scarb fmt

* contracts: initialize structure weight

* contracts: initialize troop capacity

* scarb fmt

* scarb fmt

* contracts: add building capacity perks

* new movement (#2691)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* new combat client mockup (#2693)

* [client] one hex = one army
Fixes #2677

* fix find paths

* fix pathfinding bug

* fix old army position bug

* remove felt center from client

* remove comment

* fix exploration bug + add biome path

* fix action info and simplify findPaths

* fix max hex cost

* feedback

* refactor find paths and add action paths

* refactor travel path to action path

* fix highlight bug

* show right action info

* v1 of new combat modal

* first draft combat v1

* fix bugs

* improve combat modal

* refactor

* refactor

* Start integrating contract changes to client

* contracts: fix config

* update resource ids

* scarb fmt

* remove unused manifest

* rename

* update

* update

* unique troop type + bug fixes  (#2694)

* limit to one troop type

* can only create attacking armies

* fix bugs

* add help action path

* add help container

* add mockup structure defenses

* add new defense management

* improve styling

* remove console.log

* fix build issues

* update

* delete unused files

* bug fixes

* bug fixes

* update

* contracts: comment out tests

* fix build issues

* deploy locally

* Feat/combat new (#2692)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* update version and components

* components refactoring

* updated building quantity and population models (#2697)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* local deploy + contracts change client refactor

* refactor position owner and building quantity

* start fix sync

* contract updates (#2699)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* Upgrade contracts to dojo version 1.2.1 (#2701)

* fix scarb

* fix scarb

* contract combat calculation equivalence

* fix config

* fix config

* contracts: place single castle

* contracts: new model for structure building quantity and population

* minor restructure

* test wip

* contracts: update troops impl

* contracts: explorer creation tests

* contracts: fix explorer add

* contracts: tests explorer add

* scarb fmt

* fix ci

* fix ci

* contracts: fix build

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* contracts: explorer delete tests

* contracts: explorer swap tests

* contracts: explorer swap tests

* contracts: update structure struct

* upgrade to dojo v1.2.1

* contracts: fix tests

* contracts: update structure model (#2702)

* contracts: refactor structure owner handling across contracts

* contracts: minor updates

* contracts: rename building_count to packed_counts in StructureBuildings model

* fix package build

* new owner structure

* fix build

* contracts: improve and test troop movement (#2703)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* fix client

* Troop attack tests (#2704)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* update occupier model (#2705)

* contracts: guard_add entrypoint tests

* contracts: add guard_delete test

* minor variable name update

* minor variable name update

* contracts: update troop battle impl

* contracts: update troop battle impl

* contracts: allow explorer to guard troop swaps

* contracts: allow explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: test explorer to guard troop swaps

* contracts: improve and test troop movement

* contracts: improve and test troop movement

* misc

* misc

* update ci

* update ci

* update ci

* update ci

* contracts: update troop attack

* contracts: add explorer vs explorer tests

* update ci

* contracts: add explorer vs guards tests

* contracts: add guards vs explorers tests

* contracts: update occupier model

* fix

* update scarb back

* contracts: upgrade to dojo 1.2.1

* contracts: explore hexes adjacent to structures (#2708)

* feature: allow multiple banks (#2706)

* contracts: feat: regional banks

* feat: regional banks: fix configs

* feat: regional banks: fix configs

* config: bug fixes

* config: fix bank spawn locations

* config: fix bank spawn locations

* comment

* debug client

* contracts: realm pays food cost for explorer travel

* fix bugs

* fix bugs

* add defense slot troops

* fix bugs and add attack

* update libs and allow friendly fire

* update combat simulator

* Allow creation of villages (#2710)

* feat: add villages

* feat: add villages

* contracts: update dojo toml

* client: update call

* contracts: initialize troops resource model && scarb fmt

* fix build issues

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: aymericdelab <[email protected]>

* contracts: initialize resource arrivals models

* updata dojo.js

* fix combat

* explorer vs structure

* feat: allow players find hypers on the map with the highest chance at the center of the map and less chance with distance (#2711)

* client: fix combat simulator

* update: single vrf call for troop movement

* start structure attacks

* client: fix combat simulator

* client: minor bug fix

* refactor army /structure action

* Update hyperstructure foundations (#2712)

* contracts:
- allow hyp foundation to construct from its balance.
- use hyperstructure count during foundation find probability calc

* config: update for hyperstrcuture foundations

* update dojo js

* fix bugs

* delete army when die, and remove getcomponent value strict

* show more army attack info

* add text info

* remove resource bug

* fix resource production

* start trading refactor

* fix: trade config

* contracts: update resource arrivals

* update to latest dojo.js

* change resource order png

* contracts: allow troop <-> structure resource transfer

* fix resource bug

* Remove onchain quests (#2709)

* Remove onchain quests

* Lint

* Bob/various fixes (#2700)

* Please update README.md or add scripts folder. (#2688)

* Please update README.md or add scripts folder.
Fixes #2684

* update readme.md

---------

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

* Granular subsciption to zustand store

* Clean unused properties in game renderer

* Fix docs build

* Delete deprecated assets

* Fix img paths

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: Credence <[email protected]>

* fix build issues

* update army production (#2713)

* fix contracts

* add missing resources

* new troop tier building fixses

* config: fix

* start trade fix

* change resource inputs and building costs

* contracts: update trade (#2714)

* contracts: update trade

* config: update trade

* scarb fmt

* Fix/building (#2715)

* fix: remove unused buildings types sp the max building category id is 16. this allows `packed_counts` hold count for all building types

* fix: building count store bug

* contracts: enforce structure battle immunity period

* contracts: accept trade bug fix

* contracts: fix swap bug

* fix market modal bugs

* contracts: fix liquidity bug

* market

* fix hyperstructure

* Remove Owner and EntityOwner models (#2716)

* contracts: remove owner model

* client: update guild model

* katana: fix block timestamp issue

* fix swap, liquidity actions and resource arrivals (#2718)

* increase local starting resources

* fix donkey starting

* fix username locally

* change to nano precison

* change gram to nanogram

* contracts: resource arrival time bug fix

* comment

* contracts: fix donkey capacity calculation

* revert back nanograms

* remove comment out

* fix troop tier selection

* fix combat container and modal

* fix combat + naming

* fix population issue

* fix

* fix armies + ready for deployment on sepolia

* refactor config manager

* resource transfer/troop transfer v1

* update sepolia rpc

* update sepolia rpc

* deploy game to sepolia

* client: update sepolia torii urls

* contracts: fix structure to troop transfer bug

* add resource and troop transfer

* refactor and allow ennemies to transfer troops/resources

* change color

* update landing

* contracts: remove position model

* New arrivals (#2719)

* New arrivals

* Bank fees

* Add time ticking down

* Fix transport resource weight

* Formatting

* Formatting

* Fix react hook issue

* start fix weight

* fix bugs

* check free directions

* refactoring + design improvements

* fix

* cleaning, knip, formatting

* fix build landing

---------

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

* Bump controller version + fix sepolia login (#2721)

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

* update policies

---------

Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>

* one click produce + remove construction menu + remove logging (#2727)

* remove construction on worldmap

* one click produce + remove construction menu + remove logging

* Fix policies + add script to update them (#2728)

* [client] new models for biomes and buildings (#2735)

* chore: gitignore

* feat: new biomes models

* feat: new buildings

* feat: postprocessing

* fix: fog effect

* feat: vignette

* fix: refactor renderer

* fix: renderer refactor

* fix: mines model

* feat: knights models

* fix some next bugs + refactor (#2738)

* fix subscription

* refactor entity hover + subs

* remove unused input

* knip and format

* fix buid issues

---------

Co-authored-by: tedison <[email protected]>
Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>
Co-authored-by: zabanyat.eth <[email protected]>

* remove unused block timestamp in army movement logic

* knip and format

* udpate lock file

---------

Co-authored-by: raschel <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Credence <[email protected]>
Co-authored-by: tedison <[email protected]>
Co-authored-by: Bob <[email protected]>
Co-authored-by: aymericdelab <[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.

4 participants