Commit graph

59 commits

Author SHA1 Message Date
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
Adam
52fcfbaa93 update web-map to include event-update changes 2022-02-28 20:34:56 +01:00
Adam
7481c8162a fixing 'when' statements, tidying up some code, 2022-02-20 22:30:56 +01:00
Adam
23d61335b6 map - make zooming more granular 2022-02-13 11:09:32 +01:00
Adam
96412bf7c9 bump gradle version. gradle build scripts tidy up. Make versions more consistent, share some config 2022-02-09 11:53:58 +01:00
Adam
11cbb89821 tweaking map scale/zoom 2022-02-09 10:45:44 +01:00
Adam
0f0d968a6a rm imperial map scale 2022-02-08 17:57:06 +01:00
Adam
1af5912477 even more working - generate zoomed tiles (but also it doesn't work - it stops making new tiles at some point). 2022-02-08 14:10:13 +01:00
Adam
bdb2d9577f so close to working performantly.... just the tiles are transparent???
- bump some versions
- MapTile no longer has objectName field
- fix nulls/optional fields in FactorioConfigurationUpdate
- use bytes to encode rgba colours - waaaayyyy smaller
- increase Kafka record size to ~10mb
2022-02-08 01:35:52 +01:00
Adam
ea0bfb350b - MapTile/LuaTile no longer a FactorioObjectData (it doesn't get sent as a packet)
- trying to optimise the topology so it's faster... almost there but the records are now too large
- map tile pngs, multiple zoom levels
- use coroutines for faster map tiles
2022-02-06 21:05:37 +01:00
Adam
f38143dee9 fixing deserialisation, and options 2022-02-05 12:20:51 +01:00
Adam
494b9b4107 kind of slow, but working... 2022-01-23 22:57:11 +01:00
Adam
f2ccbbd456 - factorio version bump
- mod: add a couple of commands for emitting chunks
- mod: decrease on_tick event rate
- mod: version bump typed-factorio, tstl
- kafka admin: decrease replication
- kafka admin: filter out existing-topics when creating
- events server: add more serdes, hopefully more performant than json
- events server: lots of work trying to improve performance...
- events server: increase tile size to 256
- events server: fix web-map-tile-image x/y location
- kafka: version bump
- kafka: increase default partition size
- kafka ui: version bump
-
2022-01-21 18:31:15 +01:00
Adam
2c518e396b massive tile processing speed improvement 2022-01-20 13:58:46 +01:00
Adam
a557c437cc tiles are visible! the tileserver works! they're the right way up! they have colours! 2022-01-19 22:42:22 +01:00
Adam
6fe3132f23 more tiles stuff working... 2022-01-19 18:40:07 +01:00
Adam
a7a095ecbf map tiles are now saved! 2022-01-19 16:53:24 +01:00
Adam
4e8a0c4f69 fix build error, and disable SNAPSHOT kvision checking 2022-01-09 17:39:24 +01:00
Adam
4d94e2f395 finish fixing the schema 2022-01-09 15:07:36 +01:00
Adam
2208c91652 fix polymorphic serialization, and update the names of some schema objects 2022-01-09 12:37:26 +01:00
Adam
11ffaedf14 version bump, and fix imports 2022-01-08 23:18:50 +01:00