Commit graph

519 commits

Author SHA1 Message Date
Adam
b8c1c57a17 try emitting player disconnects and immediate packet updates immediately (otherwise the server doesn't see the disconnect message and the last player remains online) 2022-06-26 15:30:03 +02:00
Adam
275fb27a29 Kafka Stream instance -> stop coroutine only when NOT_RUNNING 2022-06-26 14:59:09 +02:00
Adam
f4744c7286 webmap - fix max zoom 2022-06-26 14:58:38 +02:00
Adam
4d0ec1a1a7 version bump 0.6.1 2022-06-26 14:58:19 +02:00
Adam
82ad2d2763 remove more unused Kafka Connect stuff 2022-06-26 14:57:43 +02:00
Adam
c9df87e5e0 fix NPE for config update event 2022-06-26 14:57:14 +02:00
Adam
dacb6f62c4 tidy up Gradle config, standardise a group for Factorio Mod tasks 2022-06-26 14:56:53 +02:00
Adam
f2ae951b1d remove kafka-connect subproject (unused) 2022-06-26 12:30:08 +02:00
Adam
a60815847c Merge remote-tracking branch 'origin/main' 2022-06-25 14:50:58 +02:00
Adam Semenenko
cf5804b42d get traefik working 2022-06-25 13:42:50 +01:00
Adam
9a7ac19cfa update logo 2022-06-24 17:52:24 +02:00
Adam
dfc8b5c91d rm RUN from entrypoint.sh 2022-06-24 15:10:40 +02:00
Adam
8910cc571b kafka cluster entry script, add shebang 2022-06-24 15:08:46 +02:00
Adam
4bea4497b4 kafka cluster entry script, use absolute location 2022-06-24 15:06:07 +02:00
Adam
8ee0cb396c tidy up kafka cluster entry script 2022-06-24 15:01:24 +02:00
Adam
7b78f117fd bump Kafkatorio version in .env files (still need to make this automatic...) 2022-06-24 14:54:20 +02:00
Adam
b155bb8bc1 format kafka cluster in entrypoint 2022-06-24 14:49:52 +02:00
Adam
62f37353ba try fixing kafka kraft dockerfile 2022-06-24 14:15:22 +02:00
Adam
4c94a41029 more temp fixes for making files in build script system independent 2022-06-24 00:04:50 +02:00
Adam
55e08ade47 Merge remote-tracking branch 'origin/main' 2022-06-24 00:01:53 +02:00
Adam Semenenko
82c8b9f25b add traefik nw to docker files 2022-06-23 23:00:42 +01:00
Adam
3fa4eba4b3 try making files in build script system independent (temp fix) 2022-06-23 23:59:48 +02:00
Adam
b56c0df824 start getting docker images working... 2022-06-21 00:00:26 +02:00
Adam
e0f689c538 gradle docker config tidy up 2022-06-20 23:59:57 +02:00
Adam
e56ecb7d36 bump kvision, kt js wrappers 2022-06-20 23:59:35 +02:00
Adam
d2768c3c9e factorio mod deploy tweaks (better confirmation and link to the page) 2022-06-19 11:29:07 +02:00
Adam
0398e2026d project version bump to 0.6.0, and bump kotest, tstl, typescript 2022-06-19 10:54:37 +02:00
Adam
a225b65901 (minor) make kt function expression 2022-06-19 10:38:50 +02:00
Adam
c870d1f6e0 provider for package.json (try to fix Gradle warning) 2022-06-19 10:38:26 +02:00
Adam
1c310272c6 rm factorio mod portal client (it was moved to buildSrc) 2022-06-19 10:38:05 +02:00
Adam
2f921179c4 events server config file 2022-06-19 10:35:47 +02:00
Adam
b08e33e2eb delete docker kafka logger 2022-06-19 10:33:30 +02:00
Adam
87ff50ff32 committing docker-kafka-logger, so I can delete it next (too much work to implement) 2022-06-19 10:33:07 +02:00
Adam
487d1a91f5 re-gen kafkatorio-schema.ts (no real change, just alphabetically ordered) 2022-06-19 10:32:07 +02:00
Adam
0c6f2a4bfe refactor websocket/tile server 2022-06-19 10:24:06 +02:00
Adam
8f24bfb797 make event schema js target browser only, and not executable (faster compilation) 2022-06-19 10:21:59 +02:00
Adam
33d31bfbdd version bumps. Kotlin 1.7 and yarn.lock and others 2022-06-19 10:20:48 +02:00
Adam
f151027464 webmap
- tidy up player layer
 - no need for smaller web tiles, make the large ones render as pixelated
 - make tile server and websocket server URL not-hardcoded
 - tidy up dynamic tile refreshing
2022-06-19 10:16:37 +02:00
Adam
e9a6f99fb8 add some logs to try and figure out if player disconnection can be sent before server shutdown 2022-05-30 20:45:11 +02:00
Adam
e270b05d58 replace runCatching exception swallow 2022-05-30 20:43:19 +02:00
Adam
8c37a0cef9 trigger tile png reload in browser by sending 'saved tile' events over websocket
- create new EventServerPacket for websocket packet data
- move common models to events-schema
2022-05-25 12:50:34 +02:00
Adam
187fca8b8c webmap: refactor state + update handling code, to separate files 2022-05-24 18:08:32 +02:00
Adam
aa4de3fb14 webmap: begin refactoring state classes... 2022-05-24 18:07:13 +02:00
Adam
9278172412 mod: try immediately outputting player logoff events 2022-05-24 17:40:21 +02:00
Adam
3416ae2758 webmap: try improving leaflet map, create separate layer for player icons, tidy up redux state store stuff 2022-05-24 17:39:46 +02:00
Adam
227ac27652 make gradle zip directory drop helper function nicer 2022-05-21 12:44:51 +02:00
Adam
9f48270a0a tidy up UpdatePackageJson task, tidy up some Gradle config 2022-05-19 23:13:17 +02:00
Adam
e9f96fb0fc bump version 2022-05-18 20:44:03 +02:00
Adam
883ed897f5 mod: try fixing settings not loading 2022-05-18 19:38:32 +02:00
Adam
610d559f79 tile server: reduce logging, try no-cache for everything 2022-05-18 19:38:04 +02:00