Commit graph

  • 8bf393f9c3 start tidying up after schema->schema2 migration Adam 2022-04-20 11:28:30 +02:00
  • 448dd4a5b8 try fixing dependabot alerts Adam 2022-04-20 11:27:32 +02:00
  • 1e0a35d9ca bump kvision Adam 2022-04-20 10:18:54 +02:00
  • 3fff57d46d biggest refactor ever... Adam 2022-04-19 23:25:10 +02:00
  • db14865ca9 start simplifying schema packets Adam 2022-03-16 23:27:37 +01:00
  • 303734daaa default zoom, reduce by one Adam 2022-03-14 22:22:03 +01:00
  • 9e55a33882 disable max.task.idle.ms setting (I don't know what it's supposed to do, and setting it high causes OOM) Adam 2022-03-14 22:21:17 +01:00
  • f1d15085e6 reduce log output when saving tiles Adam 2022-03-14 22:20:39 +01:00
  • f26f4286e9 remove extraneous word from mod setting titles Adam 2022-03-14 22:19:58 +01:00
  • 8d36111d9a - start code clean up by commenting out unused/deprecated code (start moving towards the 'event updates' Kafkatorio packets - bring back the event Queue, and the command to emit lots of chunks - allow setting the event update timeout directly when debouncing/throttling an update Adam 2022-03-14 00:05:15 +01:00
  • 1fbe0d87b0 fix EntityIdentifiers deserialization bug (kxs has polymorphism problems with interfaces) Adam 2022-03-14 00:01:51 +01:00
  • 057eee6a68 - remove coroutines (most packets will only have one group, so it doesn't help much) - don't materialize to named stores (unneeded) Adam 2022-03-14 00:00:04 +01:00
  • 0ebf492b42 max task idle ms - try fixing ktable-ktable join... Adam 2022-03-13 23:58:41 +01:00
  • 8c22329b10 webmap: remove zoom offset (no longer required, changed the zoom offset in processing) Adam 2022-03-13 23:58:14 +01:00
  • 0cf2b344e3 webmap: temp-fix white line gap bug Adam 2022-03-13 23:54:15 +01:00
  • 6bb514afc4 still a bit janky (the prototype/tiles join ordering isn't right) but it mostly works, and is performant Adam 2022-03-13 12:37:43 +01:00
  • 8bb73b8291 remove commented out code, try using materializedAs to fix KTable-KTable join not working, make 'saveMapTiles' more encapsulated Adam 2022-03-13 11:06:30 +01:00
  • 3ebc8997d2 code tidy Adam 2022-03-13 11:04:09 +01:00
  • 70349d86a7 emit prototypes on_init (they don't seem to always emit, otherwise?) Adam 2022-03-13 11:03:47 +01:00
  • 3a10485ed4 bump some versions, pin some npm dependencies to satisfy GitHub depend-a-bot, remove protobuf (unused) Adam 2022-03-12 22:00:58 +01:00
  • b8ba8b7c9e - tidy up groupMapChunks.kt - add ticks to all Kafkatorio Packets - add Kafka Streams test for groupMapChunks.kt Adam 2022-03-12 16:42:24 +01:00
  • bfdee32d61 bump kotka-streams versions (fix deserialization bug, because of nullable val) Adam 2022-03-12 02:10:40 +01:00
  • 19bfe3a232 shutdown all KafkaStream apps if one crashes Adam 2022-03-12 01:39:19 +01:00
  • 7a46ea7b75 KxsBinaryTests Adam 2022-03-12 01:38:13 +01:00
  • b6f8d2e422 KafkaAdmin - make all event-update topics Adam 2022-03-12 01:38:00 +01:00
  • e3954c184a code tidy up Adam 2022-03-12 01:37:35 +01:00
  • e32e2a0311 try and fix 'no task named assemble' warning by adding base plugin (it didn't work...) Adam 2022-03-12 01:36:00 +01:00
  • 8eac84da50 - add some proper Factorio settings to control EventDataCache - bump Typescript version - make some classes a bit more typescript-ey - comment out some unused code Adam 2022-03-09 22:28:29 +01:00
  • e630ce3702 Gradle version bump, and fiddling with some gradle config. Add a 'hardReset' Gradle task. Add a 'docker remove' task. Adam 2022-03-09 21:40:40 +01:00
  • a9782a4d90 version bumps, schema tweaks, code tweaks, Adam 2022-03-04 23:54:45 +01:00
  • b055397d25 - wicked sick size optimisation of map-tiles update packet - fix ts-generator recursive value class unwrapping - move kafka state dir - try fixing kafka streams for tile generation (simplifying it, and fixing some nullability problems) Adam 2022-03-02 18:38:51 +01:00
  • c5d4ae8d63 fix factorio command Adam 2022-02-28 20:35:15 +01:00
  • 52fcfbaa93 update web-map to include event-update changes Adam 2022-02-28 20:34:56 +01:00
  • ebb8482201 make factorio ID value classes, nicer, and remove 'EncodeDefault' from colours Adam 2022-02-27 01:02:33 +01:00
  • 99a7167485 improve kafka consumer group gradle task Adam 2022-02-27 01:01:24 +01:00
  • 8a57f9daea add commented out -Xextended-compiler-checks just in case it happens again Adam 2022-02-26 22:24:42 +01:00
  • 33de9f0d06 fix compiler warning for opt-in requirement Adam 2022-02-26 22:24:04 +01:00
  • 1ba4371b14 update packet, add 'eventCounts' Adam 2022-02-26 22:23:08 +01:00
  • b42eaaa67e create KafkaConsumers reset task Adam 2022-02-26 17:34:31 +01:00
  • 462314b281 fix some KotlinCompile opt-in warnings Adam 2022-02-26 17:33:53 +01:00
  • 758fea4195 only log a message if there are event cache entries, and formatting Adam 2022-02-25 21:44:13 +01:00
  • 93e02e852a code tidy Adam 2022-02-24 22:17:00 +01:00
  • 066f68ff4d event debouncing / throttling basically working now Adam 2022-02-24 21:17:51 +01:00
  • 8e7208ba08 - update data model: simplify key/data (by removing data) Adam 2022-02-23 17:56:56 +01:00
  • b82e3a1bbf rename files Adam 2022-02-23 11:57:37 +01:00
  • 5208d9affd - make each event update have a key/data interface - separate .d.ts file for event updates - fix initialisation of global items Adam 2022-02-23 11:51:15 +01:00
  • 494913d3b9 fix init of global vars, make MapTile DTO more concise, and version bump Adam 2022-02-21 15:36:12 +01:00
  • 8dff124a71 fix tstl task Adam 2022-02-20 23:38:44 +01:00
  • 3a92149424 version bump Adam 2022-02-20 22:31:13 +01:00
  • 7481c8162a fixing 'when' statements, tidying up some code, Adam 2022-02-20 22:30:56 +01:00
  • d14d0cd991 finish first implementation of incremental updates Adam 2022-02-20 22:18:14 +01:00
  • dd45bece53 model updates, and fix tests Adam 2022-02-20 22:16:09 +01:00
  • e0b9ef9788 update event-type checker, plus some refactoring/updating Adam 2022-02-20 12:40:55 +01:00
  • 16510488da create an event-cacher, for debouncing/throttling Adam 2022-02-20 12:38:11 +01:00
  • c53d1d7c87 refactoring (I can't remember what... it's untested for sure), and using the latest things from event-schema Adam 2022-02-20 12:36:53 +01:00
  • a8337552e6 use compact size for collections (I think I tried this already and it failed - but I'm going to wipe all data this time, so hopefully it works) Adam 2022-02-20 12:32:17 +01:00
  • 2aed3a670c kxsBinary.kt - formatting Adam 2022-02-20 12:31:39 +01:00
  • cecafedd78 bump typed-factorio version, and add some more TS strictness Adam 2022-02-20 12:31:06 +01:00
  • e12e98ee71 update readme overview Adam 2022-02-20 12:30:45 +01:00
  • e1a33286c1 more IntelliJ exclusions Adam 2022-02-20 12:30:22 +01:00
  • 254c600309 use static enum values, not values() (better performance) Adam 2022-02-20 12:30:08 +01:00
  • 8f9ebdb1e1 update events schema Adam 2022-02-20 12:29:34 +01:00
  • e989d25a3c mucking about with updating kotlin 1.6.20 Adam 2022-02-20 12:24:24 +01:00
  • 727836a031 create TypeScriptToLua Gradle task, and some Gradle cleanup / experiments Adam 2022-02-20 12:23:29 +01:00
  • d3c7abff95 rm unused class (moved to kotka-streams) Adam 2022-02-20 12:21:46 +01:00
  • d5a55b423d add some IntelliJ exclusions Adam 2022-02-20 12:21:08 +01:00
  • a518255027 dependency and project version bumps Adam 2022-02-13 12:20:37 +01:00
  • 6d6429ebac rename&move KafkatorioKafkaAdmin.kt Adam 2022-02-13 12:01:12 +01:00
  • 0475d24bcf maybe make 'updatePackageJson' task run properly when the project version changes? Adam 2022-02-13 12:00:59 +01:00
  • f821c28183 yan lock update Adam 2022-02-13 11:15:51 +01:00
  • 23d61335b6 map - make zooming more granular Adam 2022-02-13 11:09:32 +01:00
  • d66de7d879 update logo (make grayscale) Adam 2022-02-13 11:09:13 +01:00
  • d634ecc909 release mod to portal (create logo, fix thumbnail, add desc) Adam 2022-02-13 10:44:13 +01:00
  • 7141d7e5f7 - try making a factorio mod portal api client, for auto releasing - make webmapTileDir a configurable variable Adam 2022-02-13 10:42:13 +01:00
  • ec1f1bc200 reduce logging for saving tiles Adam 2022-02-09 23:44:21 +01:00
  • b37da373ae split up the tile-chunk-grouping and save-tile applications Adam 2022-02-09 23:38:12 +01:00
  • e263275479 update kafka-resetter for the 3 applications Adam 2022-02-09 23:02:16 +01:00
  • 66fa1fb53a reuse the packet-splitter topics for the tile-saver job Adam 2022-02-09 23:02:00 +01:00
  • f59cc0beb9 fix queue size? only increase if the key is new Adam 2022-02-09 21:53:44 +01:00
  • 8040149e25 version bumnp, more gradle tidying, and fix the kotlin-js-store yarn lock file location Adam 2022-02-09 13:16:57 +01:00
  • 96412bf7c9 bump gradle version. gradle build scripts tidy up. Make versions more consistent, share some config Adam 2022-02-09 11:53:58 +01:00
  • 11cbb89821 tweaking map scale/zoom Adam 2022-02-09 10:45:23 +01:00
  • 0f0d968a6a rm imperial map scale Adam 2022-02-08 17:57:06 +01:00
  • 123cdb5e9a vlc save cmds Adam 2022-02-08 17:56:49 +01:00
  • ba03f761e0 zoom zoom faster - make 3 different Kafka consumers for player/tile/packet updates Adam 2022-02-08 17:56:34 +01:00
  • 215ef66fbd delete old code, try and tidy up coroutines launching Adam 2022-02-08 14:55:11 +01:00
  • 1af5912477 even more working - generate zoomed tiles (but also it doesn't work - it stops making new tiles at some point). Adam 2022-02-08 14:10:13 +01:00
  • 5a59b3bd6d workinggggg!!!!!!! Adam 2022-02-08 11:51:16 +01:00
  • bdb2d9577f so close to working performantly.... just the tiles are transparent??? Adam 2022-02-08 01:35:52 +01:00
  • 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 Adam 2022-02-06 21:05:37 +01:00
  • d75233e71e experimenting with a custom debouncer Adam 2022-02-05 12:21:11 +01:00
  • ae893b6269 bump kafka-ui Adam 2022-02-05 12:20:58 +01:00
  • f38143dee9 fixing deserialisation, and options Adam 2022-02-05 12:20:51 +01:00
  • f108431033 - bump kafka sdk version - fix kafka admin so it doesn't try making topics always - move some stuff to Kotka Streams - trying to optimise and debounce with windows... but it didn't work Adam 2022-02-05 12:20:25 +01:00
  • f5855ba5bd try making performance better... Adam 2022-01-25 00:13:37 +01:00
  • 8645b4552d debug print to try to figure out why websocker player position isn't working Adam 2022-01-25 00:12:05 +01:00
  • 4fc55b706f only try to create topics if there are topics to be created Adam 2022-01-25 00:11:38 +01:00
  • dbeb0e73dd try fixing queue size... Adam 2022-01-23 22:59:47 +01:00
  • 46ad618134 make 'chunks' command accept a 'radius' param (which makes current_chunk redundant) Adam 2022-01-23 22:59:29 +01:00
  • 494b9b4107 kind of slow, but working... Adam 2022-01-23 22:57:11 +01:00