scroll.server/crates/game-service/src
WiseDev 9084163f71 walk units around the river instead of through it
units now path. A* over the tilemap grid, water costing 800 against 1
for ground so the route runs to a bridge, or 20 when the unit flies and
crosses anywhere. bit 5 of a map cell is the water flag, which is what
makes 48 water and leaves the bridge cells - carrying the lane ids 1 and
2 - dry. the unit walks to the next node rather than at its target, and
still stops at Range.

also stops pushing snapshots while the battle type is 1. the client is
simulating the same battle itself there, and our state does not match it
yet, so every push yanked the units back to where the server thought
they were. the snapshots are still built and verified each second, ready
for the switch to type 0 once the two simulations agree; they are simply
not sent.
2026-08-23 13:23:58 +03:00
..
shop stop minting a new account on every login 2026-08-23 08:54:43 +03:00
store fix chest shop prices and gate the free chest 2026-08-23 09:02:49 +03:00
battle.rs walk units around the river instead of through it 2026-08-23 13:23:58 +03:00
battle_session.rs walk units around the river instead of through it 2026-08-23 13:23:58 +03:00
bot.rs let the bot play cards 2026-08-23 13:15:47 +03:00
catalog.rs move all crates into crates/, glob members 2026-08-23 08:15:45 +03:00
config.rs roll chest loot from the csv instead of a fixed config 2026-08-23 09:30:38 +03:00
home.rs match against a bot player instead of an npc 2026-08-23 11:28:17 +03:00
home_mode.rs resume the home logic when the player comes back 2026-08-23 11:56:04 +03:00
lib.rs matchmake two players before falling back to a bot 2026-08-23 13:19:38 +03:00
main.rs move all crates into crates/, glob members 2026-08-23 08:15:45 +03:00
matchmaker.rs matchmake two players before falling back to a bot 2026-08-23 13:19:38 +03:00
rewards.rs roll chest loot from the csv instead of a fixed config 2026-08-23 09:30:38 +03:00
service.rs matchmake two players before falling back to a bot 2026-08-23 13:19:38 +03:00
time.rs move all crates into crates/, glob members 2026-08-23 08:15:45 +03:00
wire.rs push messages to the client during a battle 2026-08-23 13:03:07 +03:00