Commit graph

79 commits

Author SHA1 Message Date
Adam
4bc46f9753 progress towards multi-server handling
- bump some versions
- validate Factorio server ID & token
-
2022-08-28 19:37:49 +02:00
Adam
a8784db5b2 update player state booleans - they default to false now 2022-07-17 12:15:46 +02:00
Adam
10c54998c7 version bump to 0.8.0 2022-07-16 23:23:55 +02:00
Adam
b507081eac Render buildings and resources
- create LuaJsonList to handle empty Lua JSON lists being sent as empty objects
- fix exporting of resources and entities
- split up map tiles into different layer directories
- add 'chunk size' to MapChunkPosition
- move tests to correct packages
- bump tstl
- decrease tstl logging
- remove some defined, but unused, kafka topics
- syslog, rest, websocket servers & web-map: decrease logging
- webmap: add additional layers for buildings and resources
2022-07-16 23:11:40 +02:00
Adam
ae0eb98f12 version bump 2022-07-08 21:48:19 +02:00
Adam
665327e010 bump project to 0.7.0 (and fix docker .env task for all docker .envs) 2022-07-06 17:43:50 +02:00
Adam
5fcb831df2 use version platform more, try fixing projects must be configuring bug 2022-07-06 17:16:09 +02:00
Adam
8f4823ae97 add MapChunkEntityUpdate to webmap 2022-07-06 16:22:50 +02:00
Adam
b9b6065735 try fixing projects must be configuring bug 2022-07-06 16:18:48 +02:00
Adam
90dc520d22 massive refactor to export entities (buildings and resources)
- minor version bumps
- new Factorio version
- use both prototype name and type to identify a prototype
- kxs-ts-gen: use BrandTyping, but exclude some identifiers
- kxs-ts-gen: manually create zip dist, so it can run after the project compiles
- mod: use typed-factorio strict types
- mod: refactor event handlers to be a little more consistent and object-oriented
2022-07-05 23:44:23 +02:00
Adam
c0c82e7c9c finish migrating to ktor!
- remove http4k
- renamed 'schema' subproject to 'library', because it contains more than just data models
- tiles are now hosted per factorio-server
- changed api base to `kafkatorio/data`
- tidied up some Gradle conf
- remove 'events-processor' subproject - I don't want to set up loads of microservices right now
2022-07-02 08:45:21 +02:00
Adam Semenenko
5ac50e8412 Merge branch 'main' of github.com:adamko-dev/kafkatorio 2022-06-27 22:04:05 +01:00
Adam Semenenko
866c3e5c8f add restart-unless-stopped to containers 2022-06-27 22:04:01 +01:00
Adam
e9a4ee4c48 set up syslog docker parser (remove need for Kafka Pipe script) 2022-06-27 22:07:42 +02:00
Adam
e078e6316d manually bump Kafkatorio versions for events-server and web-map (I still need to automate that...) 2022-06-26 23:50:30 +02:00
Adam
f4744c7286 webmap - fix max zoom 2022-06-26 14:58:38 +02:00
Adam
dacb6f62c4 tidy up Gradle config, standardise a group for Factorio Mod tasks 2022-06-26 14:56:53 +02:00
Adam Semenenko
cf5804b42d get traefik working 2022-06-25 13:42:50 +01:00
Adam
7b78f117fd bump Kafkatorio version in .env files (still need to make this automatic...) 2022-06-24 14:54:20 +02:00
Adam Semenenko
82c8b9f25b add traefik nw to docker files 2022-06-23 23:00:42 +01: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
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
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
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
b6b874d8f7 add Gradle task to upload the mod to the portal, and some gradle fixes 2022-05-18 19:33:27 +02:00
Adam
6edf5415d0 reduce logging in webmap console 2022-05-15 13:10:00 +02:00
Adam
f80722c187 try to 'garbage collect' after refreshing tile img src 2022-05-14 23:48:50 +02:00
Adam
89b7c772ff try to fix pRoJeCtS mUsT bE cOnFiGuRiNg 2022-05-14 17:59:19 +02:00
Adam
c48d01b220 dynamically update tiles every 1 second 2022-05-14 12:27:32 +02:00
Adam
23d77ae26c try fixing white lines between web map tiles 2022-05-14 12:24:28 +02:00
Adam
6618a92a66 add some hacks to try and stop 'Projects must be configuring' bug 2022-05-14 12:23:58 +02:00
Adam
29daff5abc web map: dark mode 2022-05-01 23:40:56 +02:00
Adam
a78ffb794a implement versions platform, tidy up and bump some dependencies 2022-05-01 09:42:14 +02:00
Adam
f36e84ddf5 webmap: use Ints for player lat/lng 2022-04-24 18:55:47 +02:00
Adam
b0a6151c36 move from schema2 to schema 2022-04-20 17:18:09 +02:00
Adam
7f65ec025c try fixing dependabot alerts 2022-04-20 16:32:10 +02:00
Adam
a3e8b20acb try fixing dependabot alerts 2022-04-20 16:30:23 +02:00
Adam
03e8e9442a try fixing dependabot alerts 2022-04-20 11:52:00 +02:00
Adam
448dd4a5b8 try fixing dependabot alerts 2022-04-20 11:27:32 +02:00
Adam
1e0a35d9ca bump kvision 2022-04-20 10:18:54 +02:00
Adam
3fff57d46d biggest refactor ever...
- use kxs-ts-gen for TypeScript schemas
- update schema files, so they're tidier (no need for typescript-generator workarounds)
- version bumps (kotlin, gradle, tstl, factorio, kotest)
- improve kxs binary format (use okio)
- move schema files package ('events' wasn't needed)
- tidy up topic creation, naming. base it off classes, make util functions
2022-04-20 10:17:41 +02:00
Adam
303734daaa default zoom, reduce by one 2022-03-14 22:22:03 +01:00
Adam
8c22329b10 webmap: remove zoom offset (no longer required, changed the zoom offset in processing) 2022-03-13 23:58:14 +01:00
Adam
0cf2b344e3 webmap: temp-fix white line gap bug 2022-03-13 23:56:39 +01:00
Adam
3a10485ed4 bump some versions, pin some npm dependencies to satisfy GitHub depend-a-bot, remove protobuf (unused) 2022-03-12 22:00:58 +01:00
Adam
e630ce3702 Gradle version bump, and fiddling with some gradle config. Add a 'hardReset' Gradle task. Add a 'docker remove' task. 2022-03-09 21:41:00 +01:00