Commit graph

381 commits

Author SHA1 Message Date
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
e270b05d58 replace runCatching exception swallow 2022-05-30 20:43:19 +02:00
Adam
8c37a0cef9 trigger tile png reload in browser by sending 'saved tile' events over websocket
- create new EventServerPacket for websocket packet data
- move common models to events-schema
2022-05-25 12:50:34 +02:00
Adam
187fca8b8c webmap: refactor state + update handling code, to separate files 2022-05-24 18:08:32 +02:00
Adam
aa4de3fb14 webmap: begin refactoring state classes... 2022-05-24 18:07:13 +02:00
Adam
9278172412 mod: try immediately outputting player logoff events 2022-05-24 17:40:21 +02:00
Adam
3416ae2758 webmap: try improving leaflet map, create separate layer for player icons, tidy up redux state store stuff 2022-05-24 17:39:46 +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
610d559f79 tile server: reduce logging, try no-cache for everything 2022-05-18 19:38:04 +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
0f08eee56f update SaveMapChunksTest after tiles refactor 2022-05-15 13:10:14 +02:00
Adam
6edf5415d0 reduce logging in webmap console 2022-05-15 13:10:00 +02:00
Adam
e2781e7bf2 make some saveTiles code private 2022-05-15 13:09:37 +02:00
Adam
6eb99a841c close input stream with .use { } 2022-05-15 13:09:12 +02:00
Adam
d44d4dbd01 try to fix project tokens null null null null bug 2022-05-15 13:08:36 +02:00
Adam
645a016434 tidy up grouping, colouring, saving map chunks 2022-05-15 00:00:21 +02:00
Adam
11a537091e rm unused model MapTiles 2022-05-14 23:50:25 +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
f80722c187 try to 'garbage collect' after refreshing tile img src 2022-05-14 23:48:50 +02:00
Adam
28505c1040 rm unused code comment 2022-05-14 18:00:17 +02:00
Adam
a3911560b9 bump project version to 0.5.0 2022-05-14 18:00:08 +02:00
Adam
867e22240b temp fix Type Factorio doc {@link https} bug 2022-05-14 17:59:50 +02:00
Adam
89b7c772ff try to fix pRoJeCtS mUsT bE cOnFiGuRiNg 2022-05-14 17:59:19 +02:00
Adam
697a00b443 bump kvision, kotlinx serialization, factorio, and a few others 2022-05-14 17:58:14 +02:00
Adam
775fd4c5b3 remove Supervisor jobs, allow exceptions to stop the whole application 2022-05-14 12:55:33 +02:00
Adam
7c77083c89 handle etags in WebMapTileServer 2022-05-14 12:51:27 +02:00
Adam
f0590b9df4 mad wicked sick tile grouping optimisations 2022-05-14 12:50:13 +02:00
Adam
c48d01b220 dynamically update tiles every 1 second 2022-05-14 12:27:32 +02:00
Adam
008c25233d coroutine based file watcher (supposed to be used for etag stuff, but it's a bit janky) 2022-05-14 12:25:10 +02:00
Adam
23d77ae26c try fixing white lines between web map tiles 2022-05-14 12:24:28 +02:00
Adam
6618a92a66 add some hacks to try and stop 'Projects must be configuring' bug 2022-05-14 12:23:58 +02:00
Adam
ffe9bcb9a8 bump versions
- kotlinx js wrappers
- kotest

also fix kotest dependencies
2022-05-14 12:22:47 +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
4cb7d0e1f3 add entity prototype 2022-05-07 20:29:39 +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
24e4cdf329 bump kafka-ui version 2022-05-02 23:35:33 +02:00
Adam
afe6a16287 tidy up topology 2022-05-02 23:35:19 +02:00
Adam
df197463eb remove unused SuppressProcessor.java 2022-05-02 23:34:59 +02:00
Adam
6c5613b283 kt-rcon: mucking about 2022-05-01 23:41:18 +02:00
Adam
29daff5abc web map: dark mode 2022-05-01 23:40:56 +02:00
Adam
51cff57f63 try fixing gradle config cache warning 2022-05-01 23:40:41 +02:00