Commit graph

153 commits

Author SHA1 Message Date
Adam
144cbba075 update package.json versions 2022-10-04 23:47:51 +02:00
Adam
f804c39a3b migrate docker-compose convention plugin out of buildSrc 2022-10-02 12:11:06 +02:00
Adam
f12a505d22 migrate buildSrc plugins to includedBuild plugins 2022-09-18 20:49:32 +02:00
Adam
dadbcdd8d6 version bumps (scrimage, kotlinJsWrappers, ktor, hoplite, tstl, typed-factorio, typescript) 2022-09-10 10:13:48 +02:00
Adam
60d61752b3 update mod generated code (remove unused var) 2022-09-01 23:19:06 +02:00
Adam
02edffa2e9 version bump to 0.9.0 (just prepping for the next release) 2022-09-01 23:17:56 +02:00
Adam
b1cf94a8a8 fix item subgroup mapping 2022-09-01 22:57:40 +02:00
Adam
3821996eeb bump some versions (use Kotest in Maven Local b/c plugin isn't available on Sonatype snapshot)
add tile width/height (added in new version of Factorio)
2022-08-28 13:39:34 +02:00
Adam
c9ae17d418 bump versions (kafka, ktor, hoplite, simple-syslog, factorio, tstl, typed-factorio, kotka, gradle-node) and update code to compile 2022-08-13 12:05:17 +02:00
Adam
d9f5d6d46d UpdatePackageJson task is updated based on a json object, and move npm versions to libs.versions.toml 2022-08-13 11:59:30 +02:00
Adam
d006635e49 bump tstl, typed-factorio, ks-js-wrappers 2022-07-23 16:26:11 +02:00
Adam
085776d42b packet size improvements
- change structure resource packets
- make more booleans default to false
- use encode_string - massive decrease in packet size!!
2022-07-17 23:54:53 +02:00
Adam
10c54998c7 version bump to 0.8.0 2022-07-16 23:23:55 +02:00
Adam
b507081eac Render buildings and resources
- create LuaJsonList to handle empty Lua JSON lists being sent as empty objects
- fix exporting of resources and entities
- split up map tiles into different layer directories
- add 'chunk size' to MapChunkPosition
- move tests to correct packages
- bump tstl
- decrease tstl logging
- remove some defined, but unused, kafka topics
- syslog, rest, websocket servers & web-map: decrease logging
- webmap: add additional layers for buildings and resources
2022-07-16 23:11:40 +02:00
Adam
90aa086dd4 mod: entity prototype improvements and refactoring
- refactor and move queue & emitter classes for consistency
- don't emit all prototypes at once
- add simple queue for 'instant' packets so the printer doesn't get overwhelmed and mix up the output
2022-07-09 14:03:57 +02:00
Adam
ae0eb98f12 version bump 2022-07-08 21:48:19 +02:00
Adam
80eb001bbf emit entity prototypes
- mod: refactor event handlers to separate files
- lib: update models for prototypes
2022-07-08 21:06:09 +02:00
Adam
665327e010 bump project to 0.7.0 (and fix docker .env task for all docker .envs) 2022-07-06 17:43:50 +02:00
Adam
5fcb831df2 use version platform more, try fixing projects must be configuring bug 2022-07-06 17:16:09 +02:00
Adam
c29b66aada bump tstl 2022-07-06 17:15:42 +02:00
Adam
90dc520d22 massive refactor to export entities (buildings and resources)
- minor version bumps
- new Factorio version
- use both prototype name and type to identify a prototype
- kxs-ts-gen: use BrandTyping, but exclude some identifiers
- kxs-ts-gen: manually create zip dist, so it can run after the project compiles
- mod: use typed-factorio strict types
- mod: refactor event handlers to be a little more consistent and object-oriented
2022-07-05 23:44:23 +02:00
Adam
88982d818a make tstl explicitly depend on package.json 2022-07-02 10:24:02 +02:00
Adam
6c6526eda9 regenerate mod lua (I guess it didn't happen before?) 2022-07-02 10:21:38 +02:00
Adam
a381e01886 move lua to src/generated, and tweak IntelliJ 'mark as excluded/src' 2022-07-02 09:50:11 +02:00
Adam
c0c82e7c9c finish migrating to ktor!
- remove http4k
- renamed 'schema' subproject to 'library', because it contains more than just data models
- tiles are now hosted per factorio-server
- changed api base to `kafkatorio/data`
- tidied up some Gradle conf
- remove 'events-processor' subproject - I don't want to set up loads of microservices right now
2022-07-02 08:45:21 +02:00
Adam
ae9ecc24f5 bump tstl and typed-factorio 2022-06-28 22:10:39 +02:00
Adam
b0452881bc commit generated lua code (I'm not 100% sure it's generated stably - this way I can see changes) 2022-06-28 21:59:54 +02:00
Adam
68adff29a8 try to diagnose weird getProjectTokens() null null null bug 2022-06-27 23:00:11 +02:00
Adam
23a2ecb0d4 set serial name for MinedProduct and MinedProduct.Type 2022-06-27 22:59:52 +02:00
Adam
1d0b2b8eaa refactor typescript files (mostly moving&renaming for consistency) 2022-06-27 22:57:57 +02:00
Adam
e078e6316d manually bump Kafkatorio versions for events-server and web-map (I still need to automate that...) 2022-06-26 23:50:30 +02:00
Adam
e7abf4583a rename Factorio mod tasks 2022-06-26 15:45:59 +02:00
Adam
f3f92afd22 try fixing weird gradle getProjectTokens() null null null bug 2022-06-26 15:30:30 +02:00
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