Commit graph

40 commits

Author SHA1 Message Date
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
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
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 2022-01-21 07:55:36 +01:00
Adam
a7a095ecbf map tiles are now saved! 2022-01-19 16:53:24 +01:00
Adam
8533be0af8 chunk pngs almost working...
- rm yarn lock, it should be in ./gradle/kotlin-js-store
 - move kafka extensions to another project, kotka-streams
 - move prototypes to their own package
 - create a Factorio command for emitting prototypes
 - add bounding box to chunk updates
 - bump typed-factorio version
 - fix MapEntityPosition -> MapChunkPosition x/y rounding
 - lots of work on the Kafka Streams topology
2022-01-16 23:16:09 +01:00
Adam
49ad3654a3 tiles from kafka -> image tiles... maybe??? 2022-01-13 00:00:59 +01:00
Adam
723c7ae6e8 test LuaTiles 2022-01-09 19:01:47 +01:00
Adam
4d2926ebe2 try making map tiles better, listen to events for changed tiles 2022-01-09 17:40:28 +01:00
Adam
b9190b1948 make the json a little less verbose by having separate position types instead of a discriminator 2022-01-09 16:33:23 +01:00
Adam
4d2f574827 fix typescript after updates 2022-01-09 15:15:52 +01:00
Adam
4d94e2f395 finish fixing the schema 2022-01-09 15:07:36 +01:00
Adam
524aa218fc pre-emptively fixing kxs generics on factorioPrototypes.kt 2022-01-09 14:08:41 +01:00
Adam
7486961fc2 cleaning up comments and old code 2022-01-09 14:07:19 +01:00
Adam
beb73d1584 - make tests multi-platform
- fix polymorphism finally???
2022-01-09 14:01:48 +01:00
Adam
2208c91652 fix polymorphic serialization, and update the names of some schema objects 2022-01-09 12:37:26 +01:00
Adam
e5feabf7eb make jvm schema tests run 2022-01-09 11:06:15 +01:00
Adam
f16e7405f6 update json serde tests 2022-01-09 11:05:52 +01:00
Adam
51e0aff823 improve event-schema polymorphism with enums 2022-01-08 23:09:27 +01:00
Adam
e6d424960e fix tests 2022-01-08 14:02:38 +01:00
Adam
56fa2cbf00 fix bugs (mostly tstl limitations) and improve schema structure a bit 2022-01-08 14:02:30 +01:00
Adam
f97b0a6562 more mod restructuring 2022-01-08 13:23:32 +01:00
Adam
ed4d42a2ef make the data being output by the events-mod more generalised, to include more than just events (mod config, prototypes) 2022-01-08 13:11:51 +01:00
Adam
58233c9343 - mod refactoring into separate files, specific dirs
- start work on emitting prototypes
- start preparing for generating map tiles for leaflet
- start work on more events
  - console chat
  - chunk charted
2022-01-06 09:16:44 +01:00
Adam
a0c330384a it is literally working 2022-01-04 15:09:50 +01:00
Adam
08ab1c582c tidying up 2021-12-28 17:05:52 +01:00
Adam
7813756c69 kafka -> websockets working!! 2021-12-28 16:26:23 +01:00
Adam
abada0bf4b mucking about trying to get camel-kafka-connect websockets working 2021-12-26 22:55:06 +01:00
Adam
7e134b5353 - use kotlin-js convention buildsrc plugin
- move yarn-lock
2021-12-22 23:01:24 +01:00
Adam
45189dddc2 - version bumps for coroutines, gradle, kotlin
- refactor kafka-connector project, prepping for the connector-admin
2021-12-22 22:45:56 +01:00
Adam
0736c7e24c js export optin compiler flag 2021-12-08 21:15:37 +01:00
Adam
85763df893 refactor 2021-12-08 21:15:26 +01:00
Adam
1f88d6f464 move schema to kotlin-multiplatform 2021-12-08 17:43:08 +01:00
Adam
6d60428ab9 added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
Adam
29d190b8f4 fetch serialName with kxs, minor formatting/refactoring 2021-12-03 22:18:17 +01:00
Adam
42b60ac0c3 factorio -> event -> mod -> console -> kafka pipe -> kafka -> event processor working!!!!!!!!!!!!!!!!!! 2021-12-03 09:11:55 +01:00
Adam
7091f7648d - more tidying up
- setting up distribution plugin
- using more variables for mod config
2021-12-02 00:54:15 +01:00
Adam
8c75b47a96 more re-organisation to new name 2021-12-01 18:12:34 +01:00
Adam
633e898f3c project re-organisation, and rename 2021-12-01 16:57:46 +01:00