Adam
8a6c49a74b
initial hacky implementation of multi-server support in the frontend
2022-09-01 23:19:59 +02:00
Adam
60d61752b3
update mod generated code (remove unused var)
2022-09-01 23:19:06 +02:00
Adam
ece583e93c
bump kvision, remove manual npm version settings (I think it's been fixed now)
2022-09-01 23:18:47 +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
9934957457
rm ::class.qualifiedName (not available on JS)
2022-09-01 23:00:58 +02:00
Adam
d3547f5927
EmptySerializersModule -> EmptySerializersModule()
2022-09-01 22:58:10 +02:00
Adam
b1cf94a8a8
fix item subgroup mapping
2022-09-01 22:57:40 +02:00
Adam
4bc46f9753
progress towards multi-server handling
...
- bump some versions
- validate Factorio server ID & token
-
2022-08-28 19:37:49 +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
7f95304fa7
fix tests after 'booleans default to false' on DTOs
2022-07-23 16:26:26 +02:00
Adam
d006635e49
bump tstl, typed-factorio, ks-js-wrappers
2022-07-23 16:26:11 +02:00
Adam
6fa826baa2
return 304 if a tile doesn't exist (nicer than having the browser spammed with errors)
2022-07-17 23:55:58 +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
a8784db5b2
update player state booleans - they default to false now
2022-07-17 12:15:46 +02:00
Adam
10c54998c7
version bump to 0.8.0
2022-07-16 23:23:55 +02:00
Adam
731c037f0e
fix tests
2022-07-16 23:20:14 +02:00
Adam
5d99b86dca
rm unused code
2022-07-16 23:17:02 +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
567ec6a68c
server: fix saving tiles >= chunk size 256
2022-07-09 14:06:15 +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
4510ec4a6e
only save png tiles 256px and up
2022-07-07 22:28:47 +02:00
Adam
1b3e3dc539
events-server: fix socker server port
2022-07-06 21:02:43 +02:00
Adam
dab07fbaae
fix docker volume name
2022-07-06 19:42:58 +02:00
Adam
fe5413195a
set up docker config for pc & nuc
2022-07-06 17:45:45 +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
2454a3faaf
fix test
2022-07-06 17:09:51 +02:00
Adam
9dbd6f68f3
experiment with adding jwt to docker syslogger
2022-07-06 16:23:08 +02:00
Adam
8f4823ae97
add MapChunkEntityUpdate to webmap
2022-07-06 16:22:50 +02:00
Adam
f0c384b5c5
rm commented out code
2022-07-06 16:21:50 +02:00
Adam
d9e9e1af7d
close socket if null received
2022-07-06 16:21:07 +02:00
Adam
412cf15097
fix tests after The Big Entity Refactor
2022-07-06 16:20:29 +02:00
Adam
5a304245f1
bump kvision, js wrappers. organise dependencies
2022-07-06 16:20:11 +02:00
Adam
b9b6065735
try fixing projects must be configuring bug
2022-07-06 16:18:48 +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
b14adfb810
delete unused code (bye bye http4k!)
2022-07-02 10:21:13 +02:00
Adam
79447b5936
fix tests after events-lib & events-server refactor
2022-07-02 10:20:32 +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
db4350a927
re-enable kafka processor
2022-07-02 08:54:38 +02:00
Adam
8c9d8e40c2
fix websocket connection
2022-07-02 08:54:02 +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
8a90c4fb5e
- start migrating tile-server to use Ktor
...
- start splitting up Kafka processor and tile-server to two subprojects
2022-07-01 13:14:32 +02:00
Adam
ae9ecc24f5
bump tstl and typed-factorio
2022-06-28 22:10:39 +02:00