Commit graph

120 commits

Author SHA1 Message Date
Adam
b8c1c57a17 try emitting player disconnects and immediate packet updates immediately (otherwise the server doesn't see the disconnect message and the last player remains online) 2022-06-26 15:30:03 +02:00
Adam
4d0ec1a1a7 version bump 0.6.1 2022-06-26 14:58:19 +02:00
Adam
c9df87e5e0 fix NPE for config update event 2022-06-26 14:57:14 +02:00
Adam
dacb6f62c4 tidy up Gradle config, standardise a group for Factorio Mod tasks 2022-06-26 14:56:53 +02:00
Adam
9a7ac19cfa update logo 2022-06-24 17:52:24 +02:00
Adam
e0f689c538 gradle docker config tidy up 2022-06-20 23:59:57 +02:00
Adam
d2768c3c9e factorio mod deploy tweaks (better confirmation and link to the page) 2022-06-19 11:29:07 +02:00
Adam
0398e2026d project version bump to 0.6.0, and bump kotest, tstl, typescript 2022-06-19 10:54:37 +02:00
Adam
c870d1f6e0 provider for package.json (try to fix Gradle warning) 2022-06-19 10:38:26 +02:00
Adam
487d1a91f5 re-gen kafkatorio-schema.ts (no real change, just alphabetically ordered) 2022-06-19 10:32:07 +02:00
Adam
33d31bfbdd version bumps. Kotlin 1.7 and yarn.lock and others 2022-06-19 10:20:48 +02:00
Adam
e9a6f99fb8 add some logs to try and figure out if player disconnection can be sent before server shutdown 2022-05-30 20:45:11 +02:00
Adam
9278172412 mod: try immediately outputting player logoff events 2022-05-24 17:40:21 +02:00
Adam
227ac27652 make gradle zip directory drop helper function nicer 2022-05-21 12:44:51 +02:00
Adam
9f48270a0a tidy up UpdatePackageJson task, tidy up some Gradle config 2022-05-19 23:13:17 +02:00
Adam
e9f96fb0fc bump version 2022-05-18 20:44:03 +02:00
Adam
883ed897f5 mod: try fixing settings not loading 2022-05-18 19:38:32 +02:00
Adam
6d9f303226 mod: move npm root dir so node_modules isn't in the src dir, and fix the hack for the bug https://github.com/GlassBricks/typed-factorio/issues/13 2022-05-18 19:37:29 +02:00
Adam
b6b874d8f7 add Gradle task to upload the mod to the portal, and some gradle fixes 2022-05-18 19:33:27 +02:00
Adam
d44d4dbd01 try to fix project tokens null null null null bug 2022-05-15 13:08:36 +02:00
Adam
5291ac9484 try to reduce delay when de-queueing events 2022-05-14 23:50:00 +02:00
Adam
f9b078b5a1 when queuing chunks, print the min/max chunk coords 2022-05-14 23:49:37 +02:00
Adam
867e22240b temp fix Type Factorio doc {@link https} bug 2022-05-14 17:59:50 +02:00
Adam
697a00b443 bump kvision, kotlinx serialization, factorio, and a few others 2022-05-14 17:58:14 +02:00
Adam
93444bfe39 try adding tstl language server plugin (I don't think IntelliJ understands it though) 2022-05-07 23:03:43 +02:00
Adam
85ccb87171 try fixing Gradle NPE on projectTokens 2022-05-07 23:03:19 +02:00
Adam
436b7ba1d4 fix map chunk update prototype clash 2022-05-07 23:02:51 +02:00
Adam
5a000b9327 fix entity position type, fix Entity proto property name clash, and update ts-schema 2022-05-07 23:02:31 +02:00
Adam
688b2c7bcb - add tile deconstruction (concrete tiles can be removed)
- add @SerialName to all packets
- start implementing Entity prototype
- start implementing Entity updates
- clean up some old commented out code
- refactor how debounced events track the triggering events (now include timestamps per event)
- bump tstl
2022-05-07 20:29:24 +02:00
Adam
5656acd350 try fixing gradle config cache errors 2022-05-07 20:22:54 +02:00
Adam
51cff57f63 try fixing gradle config cache warning 2022-05-01 23:40:41 +02:00
Adam
403ca0dd2e mod: clean up onMapChunkEventListeners.ts 2022-05-01 15:47:28 +02:00
Adam
92e385fbe7 gradle config: try fixing config-cache miss with projectTokens 2022-05-01 15:46:20 +02:00
Adam
153747e39c mod: fix checking for existing entries in EventDataCache 2022-05-01 15:43:44 +02:00
Adam
ab9e9d4d66 mod: fix settings names and descriptions 2022-05-01 11:20:54 +02:00
Adam
023fb8b3de mod command: print enqueued chunk count 2022-05-01 09:44:20 +02:00
Adam
4a2c771603 experiment with optimising map-chunk message 2022-04-24 11:32:34 +02:00
Adam
b81e62e2fd enable gradle build cache, and improve tasks 2022-04-23 17:59:37 +02:00
Adam
bb54f6666b fix 'prototype key' in MapTileDictionary 2022-04-20 23:15:20 +02:00
Adam
8ae4e934f7 rm object casting TypeScript (no longer needed) 2022-04-20 22:57:19 +02:00
Adam
b0a6151c36 move from schema2 to schema 2022-04-20 17:18:09 +02:00
Adam
6bfcd30558 use tuples for colours 2022-04-20 17:14:00 +02:00
Adam
8bf393f9c3 start tidying up after schema->schema2 migration 2022-04-20 11:28:30 +02:00
Adam
3fff57d46d biggest refactor ever...
- use kxs-ts-gen for TypeScript schemas
- update schema files, so they're tidier (no need for typescript-generator workarounds)
- version bumps (kotlin, gradle, tstl, factorio, kotest)
- improve kxs binary format (use okio)
- move schema files package ('events' wasn't needed)
- tidy up topic creation, naming. base it off classes, make util functions
2022-04-20 10:17:41 +02:00
Adam
f26f4286e9 remove extraneous word from mod setting titles 2022-03-14 22:19:58 +01:00
Adam
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
2022-03-14 00:05:15 +01:00
Adam
1fbe0d87b0 fix EntityIdentifiers deserialization bug (kxs has polymorphism problems with interfaces) 2022-03-14 00:02:22 +01:00
Adam
3ebc8997d2 code tidy 2022-03-13 11:04:18 +01:00
Adam
70349d86a7 emit prototypes on_init (they don't seem to always emit, otherwise?) 2022-03-13 11:03:47 +01:00
Adam
b8ba8b7c9e - tidy up groupMapChunks.kt
- add ticks to all Kafkatorio Packets
- add Kafka Streams test for groupMapChunks.kt
2022-03-12 16:42:24 +01:00