Commit Graph
33 Commits
Author SHA1 Message Date
Fiereu 0200858be9 feat(game): keep the appearance the client picks at character creation (#145) 2026-08-09 22:08:48 +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 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 70c746fdc6 feat(game): add a chat command system with /help, /pos, /testbattle and /catch (#125) 2026-08-09 09:11:19 +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
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 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 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
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 9cda538a68 feat(game): littleroot town intro with the truck and mom cutscene 2026-07-26 14:36:07 +02:00
Fiereu 109cf5f814 feat(game): start a wild battle when a player steps in grass (#68)
* feat(game): start a wild battle when a player steps in grass

* fix(codegen): key species by national dex so the client shows the right mon
2026-07-26 11:04:35 +02:00
Fiereuandgithub-actions[bot] 300bc52531 feat(game): basic script implementations (#65)
* feat(game): open the wired dialog line when a player interacts with an npc or sign

* feat(game): run npc and sign interactions through a generated script layer

* chore(style): spotlessApply

* fix(codegen): generate dialog enums without a rom so ci can compile

* docs: add a guide for writing overworld scripts

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-26 00:12:30 +02:00
Fiereu 35f498f0de chore: move hex encode and decode into a shared common util (#62) 2026-07-25 21:37:53 +02:00
Fiereu e26c8f91f4 fix(common): let stat setters take zero and check totals (#55) 2026-07-25 16:43:10 +02:00
Fiereu 4b533bd099 feat(server.game): route events through a InterestManager (#47)
* feat(server.game): route events through a InterestManager

* docs: explain the InterestManager and when to use it

* fix(login): carry the authenticated account to the game server so players get distinct characters

* fix(protocols.game): decode entity move from capture at opcode 0xE4 with little-endian ids and 16-bit coords

* feat(game): make the server authoritative over movement and broadcast steps and turns to nearby players

* refactor(game): drop the unused broadcastExcept and isOnline methods
2026-07-20 23:42:14 +02:00
Fiereu 651bf947e4 feat(codegen): generate Pokemon species defs from the GBA decomp data (#44) 2026-07-20 15:35:23 +02:00
Fiereu b44bd1cc26 feat(codegen): generate Pokemon moves and unify map/move codegen into one module (#16) 2026-07-20 14:25:57 +02:00
Fiereu abbfe97c6d refactor: maps git submodules (#9) 2026-07-20 12:10:47 +02:00
Fiereu d618cff20e feat(game): stub wild battle flow with catch, bag, switching, field state, and flee 2026-07-19 22:35:04 +02:00
Fiereuandgithub-actions[bot] b6cfbbb2b0 feat(game): add guild stubs (#8)
* feat(game): add guild members, invite, rank and permissions

* chore(style): spotlessApply

* feat(guild): add MOTD, rank-label, and disband handlers with activity log

* refactor(guild): move guild packets into their own sub-package

* refactor(guild): rename packets for clarity (create, leave, kick, disband)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-12 14:14:45 +02:00
Fiereu d27a54f360 refactor(network): rework network module, use new bytecodec module and introduce proper packet events 2026-05-30 10:13:12 +02:00
LananaHWP 4e367fb5bb refactor(game): split protocol handler into focused services 2026-05-26 16:15:38 +02:00
LananaHWPandFiereu 9486b83cf4 chore: merge Lanana fork
Co-authored-by: Fiereu <contact@fiereu.de>
2026-05-26 16:14:38 +02:00
fiereu 8c82990b9a add initial game packets 2026-01-04 23:47:34 +01:00
fiereu f5e18d8540 Run spotless 2025-08-29 22:12:51 +02:00
fiereu a9bb88b246 dev_minimal_login (#7)
### Summary

Implement minimal login flow without any authentication.
Implement basic game server module with JoingGamePacket implemented.

### Type of Change

New feature (non-breaking change which adds functionality)

### Affected Modules

- [x] common/
- [ ] protocol/
- [ ] protocol.tls/
- [x] protocol.login/
- [ ] server/
- [x] server.login/
- [ ] keys/
- [ ] patcher/
- [ ] buildSrc/

### Additional Notes

_No response_

Reviewed-on: https://forge.fiereu.de/OpenMMO/OpenMMO/pulls/7
Co-authored-by: fiereu <contact@fiereu.de>
Co-committed-by: fiereu <contact@fiereu.de>
2025-08-29 12:54:24 +00:00
fiereu 9fabe28642 Merge branch 'dev_protocol_login'
# Conflicts:
#	common/src/main/kotlin/de/fiereu/openmmo/common/enums/LoginState.kt
#	protocol/src/main/kotlin/de/fiereu/openmmo/protocols/ByteBufExtension.kt
2025-08-25 14:00:43 +02:00
fiereu e3307266fb fix wrong package 2025-08-25 13:50:36 +02:00
fiereu 1c08dabd6d Spotless: exclude JOOQ generated code, run spotlessApply and fix task dependencies 2025-08-25 13:47:32 +02:00
fiereu 53e9e1971d fix spotless errors 2025-08-25 13:27:47 +02:00
fiereu ff47ffdc5c LoginResponsePacket 2025-08-24 12:29:47 +02:00
Fiereu c5ee4e27e6 init 2025-08-22 16:11:41 +02:00