Commit graph

  • 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
  • 28f985bdca tweaking the kxs serde stuff Adam 2022-01-23 14:00:51 +01:00
  • 960782dc90 mv FactorioServerId to model.kt, delete empty file Adam 2022-01-23 13:54:56 +01:00
  • 13a86dc0d5 - use byte array special function for KxsBinary format - Adam 2022-01-23 13:54:32 +01:00
  • 97d0de56e7 tidy up event-schema ksx json stuff, and make the "empty list <-> empty object" thing contextual Adam 2022-01-23 13:52:54 +01:00
  • 678cf5504e hack together some sort of queue to help stop the chunk updates overloading the server. It doesn't work too well I think... Adam 2022-01-23 13:50:21 +01:00
  • 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 - Adam 2022-01-21 18:31:15 +01:00
  • 8c107b7b84 delete extensions, they were moved to kotka Adam 2022-01-21 07:57:07 +01:00
  • 27776553ba increase partition size, try making performance better Adam 2022-01-21 07:56:36 +01:00
  • 560a5d4172 the performance increase wasn't that good actually - so split up the topology into separate files so it's easier to read, and simplifying the png tile process so it joins tiles and prototypes sooner, with less info Adam 2022-01-21 07:55:36 +01:00
  • 2c518e396b massive tile processing speed improvement Adam 2022-01-20 13:58:46 +01:00
  • a557c437cc tiles are visible! the tileserver works! they're the right way up! they have colours! Adam 2022-01-19 22:42:22 +01:00
  • 6fe3132f23 more tiles stuff working... Adam 2022-01-19 18:40:07 +01:00
  • a7a095ecbf map tiles are now saved! Adam 2022-01-19 16:53:24 +01:00
  • 8533be0af8 chunk pngs almost working... Adam 2022-01-16 23:16:09 +01:00
  • 49ad3654a3 tiles from kafka -> image tiles... maybe??? Adam 2022-01-13 00:00:59 +01:00
  • 9acce508ea don't use Jansi Adam 2022-01-09 19:09:40 +01:00
  • a8b13be110 remove extra field (is there a better way to prevent this?) Adam 2022-01-09 19:07:51 +01:00
  • 723c7ae6e8 test LuaTiles Adam 2022-01-09 19:01:47 +01:00
  • 1439e81628 maybe fix docker build for kafka pipe?? again???? Adam 2022-01-09 18:48:32 +01:00
  • 27c8088f41 maybe fix docker build for kafka pipe?? Adam 2022-01-09 18:05:28 +01:00
  • d2aa961e1a add version header to kafka pipe messages Adam 2022-01-09 17:46:17 +01:00
  • b5de2132a1 version bump Adam 2022-01-09 17:40:38 +01:00
  • 4d2926ebe2 try making map tiles better, listen to events for changed tiles Adam 2022-01-09 17:40:28 +01:00
  • 4e8a0c4f69 fix build error, and disable SNAPSHOT kvision checking Adam 2022-01-09 17:39:24 +01:00
  • b9190b1948 make the json a little less verbose by having separate position types instead of a discriminator Adam 2022-01-09 16:33:23 +01:00
  • f41def72e2 rm comment, only send chunks updates on chunk generation Adam 2022-01-09 16:10:47 +01:00