Commit graph

331 commits

Author SHA1 Message Date
Adam
33de9f0d06 fix compiler warning for opt-in requirement 2022-02-26 22:24:04 +01:00
Adam
1ba4371b14 update packet, add 'eventCounts' 2022-02-26 22:23:08 +01:00
Adam
b42eaaa67e create KafkaConsumers reset task 2022-02-26 17:34:31 +01:00
Adam
462314b281 fix some KotlinCompile opt-in warnings 2022-02-26 17:33:53 +01:00
Adam
758fea4195 only log a message if there are event cache entries, and formatting 2022-02-25 21:44:34 +01:00
Adam
93e02e852a code tidy 2022-02-24 22:17:00 +01:00
Adam
066f68ff4d event debouncing / throttling basically working now 2022-02-24 21:17:51 +01:00
Adam
8e7208ba08 - update data model: simplify key/data (by removing data) 2022-02-24 00:07:28 +01:00
Adam
b82e3a1bbf rename files 2022-02-23 11:58:24 +01:00
Adam
5208d9affd - make each event update have a key/data interface
- separate .d.ts file for event updates
-  fix initialisation of global items
2022-02-23 11:51:28 +01:00
Adam
494913d3b9 fix init of global vars, make MapTile DTO more concise, and version bump 2022-02-21 15:36:12 +01:00
Adam
8dff124a71 fix tstl task 2022-02-20 23:38:44 +01:00
Adam
3a92149424 version bump 2022-02-20 22:31:13 +01:00
Adam
7481c8162a fixing 'when' statements, tidying up some code, 2022-02-20 22:30:56 +01:00
Adam
d14d0cd991 finish first implementation of incremental updates 2022-02-20 22:18:14 +01:00
Adam
dd45bece53 model updates, and fix tests 2022-02-20 22:16:21 +01:00
Adam
e0b9ef9788 update event-type checker, plus some refactoring/updating 2022-02-20 12:40:55 +01:00
Adam
16510488da create an event-cacher, for debouncing/throttling 2022-02-20 12:39:50 +01:00
Adam
c53d1d7c87 refactoring (I can't remember what... it's untested for sure), and using the latest things from event-schema 2022-02-20 12:36:53 +01:00
Adam
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) 2022-02-20 12:32:17 +01:00
Adam
2aed3a670c kxsBinary.kt - formatting 2022-02-20 12:31:39 +01:00
Adam
cecafedd78 bump typed-factorio version, and add some more TS strictness 2022-02-20 12:31:06 +01:00
Adam
e12e98ee71 update readme overview 2022-02-20 12:30:45 +01:00
Adam
e1a33286c1 more IntelliJ exclusions 2022-02-20 12:30:22 +01:00
Adam
254c600309 use static enum values, not values() (better performance) 2022-02-20 12:30:08 +01:00
Adam
8f9ebdb1e1 update events schema
- unwrap value classes when generating TS
- add value classes for some data types
- add FactorioEventUpdates (for new incremental event updates)
- use static lists for enum values (better performance)
- add LuaControl for sharing Player/Entity fields
2022-02-20 12:29:34 +01:00
Adam
e989d25a3c mucking about with updating kotlin 1.6.20 2022-02-20 12:24:33 +01:00
Adam
727836a031 create TypeScriptToLua Gradle task, and some Gradle cleanup / experiments 2022-02-20 12:23:29 +01:00
Adam
d3c7abff95 rm unused class (moved to kotka-streams) 2022-02-20 12:21:46 +01:00
Adam
d5a55b423d add some IntelliJ exclusions 2022-02-20 12:21:08 +01:00
Adam
a518255027 dependency and project version bumps 2022-02-13 12:20:37 +01:00
Adam
6d6429ebac rename&move KafkatorioKafkaAdmin.kt 2022-02-13 12:01:12 +01:00
Adam
0475d24bcf maybe make 'updatePackageJson' task run properly when the project version changes? 2022-02-13 12:00:59 +01:00
Adam
f821c28183 yan lock update 2022-02-13 11:15:51 +01:00
Adam
23d61335b6 map - make zooming more granular 2022-02-13 11:09:32 +01:00
Adam
d66de7d879 update logo (make grayscale) 2022-02-13 11:09:13 +01:00
Adam
d634ecc909 release mod to portal (create logo, fix thumbnail, add desc) 2022-02-13 10:44:13 +01:00
Adam
7141d7e5f7 - try making a factorio mod portal api client, for auto releasing
- make webmapTileDir a configurable variable
2022-02-13 10:42:13 +01:00
Adam
ec1f1bc200 reduce logging for saving tiles 2022-02-09 23:44:21 +01:00
Adam
b37da373ae split up the tile-chunk-grouping and save-tile applications 2022-02-09 23:38:12 +01:00
Adam
e263275479 update kafka-resetter for the 3 applications 2022-02-09 23:02:16 +01:00
Adam
66fa1fb53a reuse the packet-splitter topics for the tile-saver job 2022-02-09 23:02:00 +01:00
Adam
f59cc0beb9 fix queue size? only increase if the key is new 2022-02-09 21:53:44 +01:00
Adam
8040149e25 version bumnp, more gradle tidying, and fix the kotlin-js-store yarn lock file location 2022-02-09 13:16:57 +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
123cdb5e9a vlc save cmds 2022-02-08 17:56:49 +01:00
Adam
ba03f761e0 zoom zoom faster - make 3 different Kafka consumers for player/tile/packet updates 2022-02-08 17:56:34 +01:00
Adam
215ef66fbd delete old code, try and tidy up coroutines launching 2022-02-08 14:55:11 +01:00