Commit Graph
190 Commits
Author SHA1 Message Date
LananaHWP aba1226794 feat(server): make both servers deployable as container images (#147) 2026-08-10 17:05:02 +02:00
Fiereu 70449971cb ci: check out fork pull requests through refs/pull (#155) 2026-08-10 15:58:06 +02:00
Fiereu 499d20fdb3 feat(game): open the mart shop and key items by the ids the client reads (#151) 2026-08-10 14:52:44 +02:00
renovate[bot] a69fd0d07f fix(deps): update dependency io.netty:netty-all to v4.2.17.final (#149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 08:48:48 +00:00
renovate[bot] a7fa101a95 chore(deps): update dependency com.google.devtools.ksp to v2.3.11 (#148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 04:58:38 +00:00
Fiereu 0200858be9 feat(game): keep the appearance the client picks at character creation (#145) 2026-08-09 22:08:48 +02:00
Fiereu 0dab4b16fa fix(game): stop spawning the player on the tile elevation, which freezes the client (#144) 2026-08-09 15:19:41 +02:00
Fiereu 453b1c3fa1 chore(docs): Update documentation wiki link in README.md 2026-08-09 14:27:54 +02:00
Fiereu e8baac972c fix(game): undo an interrupted script so a character does not lose or replay progress (#143)
* fix(game): make character store writes atomic so concurrent updates are not lost

* fix(game): refuse a scripted move that would leave the map

* fix(game): remember which way a character was facing across a relogin

* fix(game): undo an interrupted script so the next login does not replay it

* docs: record the script rollback and the atomic store writes

* chore(game): cut the script recovery comments back

* fix(game): roll a disconnected script back once, after the battle flush
2026-08-09 13:39:39 +02:00
Fiereu 94bf65e208 fix(game): run the story command on the suspending path (#141) 2026-08-09 12:38:43 +02:00
Fiereu d69a0806ab fix(game): persist items, money and caught monsters before returning (#139)
* fix(game): persist items, money and caught monsters before returning

* fix(game): serialise flushes so a durable write cannot return early

* fix(game): queue battle and guild replies so they cannot cut into a suspended handler

* fix(game): refuse an economic change the database would not accept
2026-08-09 12:19:26 +02:00
Fiereu 225371fccb feat(game): add a /story command that jumps to a Kanto story checkpoint (#138)
* feat(game): add a /story command that jumps to a kanto story checkpoint

* feat(game): add a /story reset that starts the region over

* fix(game): stop a story jump running over a battle, a dialog or the pc

* chore(game): cut the story command comments back

* test(game): drop the seed starter expectation the sql seed no longer meets
2026-08-09 11:59:37 +02:00
Fiereu 9215a0862a feat(game): implement the Kanto story from Pallet Town through the Pokedex (#127)
* feat(game): implement Kanto story through the Pokedex

* fix(game): stop the rival walking into the player in the pokedex scene

* fix(game): stop oak teleporting to his desk in the starter scene

* fix(game): make a scripted warp arrive the way a walked one does

* fix(game): finish the oaks lab rival scene whether the player wins or loses

* chore(game): tidy the kanto script and item codegen comments

* docs: point the script guides at MapEntryScripts and trainerBattle

* fix(codegen): send item ids in the region whose table matches the decomp
2026-08-09 10:45:24 +02:00
Fiereu 70c746fdc6 feat(game): add a chat command system with /help, /pos, /testbattle and /catch (#125) 2026-08-09 09:11:19 +02:00
Fiereu abce0d6eb4 feat(game): fight the decomp trainers for experience and prize money (#122)
* fix(protocol): decode the trainer form of the battle field state

* refactor(game): model the battle opponent as a party instead of one monster

* feat(game): let a script fight one of the decomp trainers

* fix(protocol): stop writing moves the opposing side's battle block leaves out

* feat(game): pay experience and prize money for a won trainer battle

* fix(game): send battle outcomes the way the client reads them

* fix(game): correct the reward and stat change defects the review found

* chore(game): tidy the battle comments

* fix(game): send real party slots on a switch and handle a double faint
2026-08-09 00:26:27 +02:00
Fiereu 299886ae19 fix(protocol): decode the existing session packet from a real capture (#121) 2026-08-08 23:52:10 +02:00
Fiereu a1453b8db2 feat(login): log in with a saved token instead of storing the password (#120) 2026-08-08 23:35:13 +02:00
Fiereu 457f21c17f feat(codegen): generate the decomp trainers and their parties (#115) 2026-08-08 21:06:24 +02:00
renovate[bot] a6ee4bc91d chore(deps): update dependency astro to v7.2.0 (#118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-08 19:38:51 +02:00
renovate[bot]andFiereu 312c3c9137 chore(deps): lock file maintenance (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fiereu <contact@fiereu.de>
2026-08-08 19:38:15 +02:00
renovate[bot] dc86c11420 chore(deps): update dependency @astrojs/starlight to v0.41.7 (#117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-08 19:14:59 +02:00
Fiereu 8be1a4e9e8 chore: rework the labels and label pull requests automatically (#116) 2026-08-08 13:35:41 +02:00
Fiereu f8a6ec2799 refactor(protocols): derive the delta packet masks from the fields that are set (#103) 2026-08-07 22:09:34 +02:00
Fiereu 67faf61498 fix(game): keep the player still while a script is running (#102) 2026-08-07 22:01:49 +02:00
Fiereu 5f3bc9415e fix(game): send the battle reward packet so the client shows the exp gained (#101) 2026-08-07 22:00:55 +02:00
Fiereu 3b90027d18 fix(game): resolve dynamic warps for every warp trigger (#104) 2026-08-07 21:59:06 +02:00
Fiereu b615b65334 fix(game): stop running the warp arrival twice (#94)
* fix(game): use the npc's own region for map and sprite lookups

* fix(game): trigger warps by their tile behaviour

* fix(game): classify every warp metatile behaviour the decomp accepts

* fix(game): stop running the warp arrival twice

* fix(game): stop a failed warp from freezing the player and leaking its old map

* fix(game): give every warp a deadline and hand the map group over on arrival

* fix(game): check the warp target first and stop the deadline outliving the session
2026-08-07 16:14:51 +02:00
Fiereu 085407ccf1 fix(codegen): put the region in the dialog id instead of always hoenn (#100) 2026-08-07 15:12:10 +02:00
Fiereu 67e3b14a1d fix(game): send the right value in the map transition ack (#99)
* fix(game): send 1 in the map transition ack, 2 is only the first placement

* refactor(protocol): give the map transition ack a proper enum
2026-08-07 14:34:21 +02:00
Fiereu d4940f85cf fix(game): stop the player from stopping when walking to another map (#98)
* fix(game): stop moving the player when they cross a map connection

* fix(game): only send map data the client does not already have
2026-08-07 14:18:14 +02:00
Fiereu 14fbc05bab fix(game): trigger warps by their tile behaviour (#93)
* fix(game): use the npc's own region for map and sprite lookups

* fix(game): trigger warps by their tile behaviour

* fix(game): classify every warp metatile behaviour the decomp accepts
2026-08-07 10:57:17 +02:00
Fiereu 9866c1b0fb refactor(test): add a common.test module and move the captured payloads into fixtures (#97) 2026-08-07 10:47:27 +02:00
Fiereu 6427c3498b fix(game): use the npc's own region for map and sprite lookups (#92) 2026-08-07 09:28:59 +02:00
Fiereu 4289ecca5e feat(protocol): add the gtl packets and codecs (#95) 2026-08-07 09:18:33 +02:00
Fiereu f785cc5a80 fix(protocol): read the extra byte in the monster record (#91) 2026-08-05 23:20:26 +02:00
Fiereu 4470cbda37 feat(game): let the player replace a move on level up (#90) 2026-08-05 23:10:59 +02:00
Fiereu 1ecfabaed5 feat(game): give monsters their real level up moveset (#85)
* feat(codegen): generate the level up learnsets from the decomp

* feat(game): give monsters their real level up moveset
2026-08-05 10:38:55 +02:00
Fiereu e24bc5518d fix(network): log uncompressed packets (#84)
Insert the compression codec in front of the protocol logger so the
logger sees raw packets: decompressed on the way in, not yet compressed
on the way out.

Closes #61
2026-08-04 07:51:50 +02:00
Fiereu 22c922ffe3 docs: explain the roms folder and why the build wants one (#87) 2026-08-03 22:59:26 +02:00
Fiereu f01f411741 feat(server): write only the character rows that changed (#86)
* feat(server): add a row delta helper for incremental table writes

* feat(server): write only the character rows that changed
2026-08-03 16:35:10 +02:00
renovate[bot] 19fc05beba fix(deps): update kotest to v6.2.3 (#80)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 13:21:09 +00:00
renovate[bot] ce7ff34c44 fix(deps): update dependency name.remal.sonarlint:name.remal.sonarlint.gradle.plugin to v7.1.5 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 09:56:28 +00:00
Fiereu dfeabdc581 feat: release pipeline and env-supplied server key (#82)
* build: move group and version to gradle.properties

* ci: add release-please versioning and release pipeline

* feat(server): load the root key from the environment

* ci: publish key-free server archives on release
2026-08-03 11:38:03 +02:00
renovate[bot] 8bd065fcb4 chore(deps): update dependency astro to v7.1.6 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 09:31:51 +00:00
Fiereu 98d68946ae fix(patcher): copy feed keys before compiling (#81)
* fix(patcher): copy feed keys before compiling

* build: raise daemon memory limits for KSP
2026-08-03 11:07:10 +02:00
Fiereu c3fd2d3f81 docs: document the script system (#78)
* docs: document the script system

* chore: fix style
2026-08-02 15:42:30 +02:00
renovate[bot] 4b49a13a8f chore(deps): update dependency @astrojs/starlight to v0.41.4 (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-02 15:40:21 +02:00
Fiereu d36c630d53 feat(patcher): patch the native image client and serve it a local main feed 2026-08-02 15:39:05 +02:00
LananaHWP 3b19a81201 feat(game): implement Hoenn story through Rustboro (#77)
* feat(game): implement Hoenn story through Rustboro

* fix(game): group dialog presentation options

* fix(game): address review feedback and running movement
2026-08-02 15:09:08 +02:00
Fiereu f57149eae3 fix(ci): revert spotlessApply on master
Updated CI workflow to use the commit SHA for ref in pull requests and simplified the condition for applying formatting changes.
2026-07-28 13:26:35 +02:00