-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix buid issues #2741
Conversation
* 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Failed to generate code suggestions for PR |
* 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]>
No description provided.