Commit graph

262 commits

Author SHA1 Message Date
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
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
5a59b3bd6d workinggggg!!!!!!!
- fix map tiles proto colours KTable
- test and tidy up Colour/ColourHex
- reset event-server application
2022-02-08 11:51:16 +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
d75233e71e experimenting with a custom debouncer 2022-02-05 12:21:11 +01:00
Adam
ae893b6269 bump kafka-ui 2022-02-05 12:20:58 +01:00
Adam
f38143dee9 fixing deserialisation, and options 2022-02-05 12:20:51 +01:00
Adam
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
2022-02-05 12:20:25 +01:00
Adam
f5855ba5bd try making performance better... 2022-01-25 00:13:37 +01:00
Adam
8645b4552d debug print to try to figure out why websocker player position isn't working 2022-01-25 00:12:05 +01:00
Adam
4fc55b706f only try to create topics if there are topics to be created 2022-01-25 00:11:38 +01:00
Adam
dbeb0e73dd try fixing queue size... 2022-01-23 22:59:47 +01:00
Adam
46ad618134 make 'chunks' command accept a 'radius' param (which makes current_chunk redundant) 2022-01-23 22:59:29 +01:00
Adam
494b9b4107 kind of slow, but working... 2022-01-23 22:57:11 +01:00
Adam
28f985bdca tweaking the kxs serde stuff 2022-01-23 14:00:51 +01:00
Adam
960782dc90 mv FactorioServerId to model.kt, delete empty file 2022-01-23 13:54:56 +01:00
Adam
13a86dc0d5 - use byte array special function for KxsBinary format
-
2022-01-23 13:54:32 +01:00
Adam
97d0de56e7 tidy up event-schema ksx json stuff, and make the "empty list <-> empty object" thing contextual 2022-01-23 13:52:54 +01:00
Adam
678cf5504e hack together some sort of queue to help stop the chunk updates overloading the server. It doesn't work too well I think... 2022-01-23 13:50:21 +01:00