Commit Graph

589 Commits

Author SHA1 Message Date
0fb5359521
Much smarter tick scheduling 2024-04-24 11:21:23 +07:00
d93cc21dcd
Use WAL in storage databases 2024-04-24 10:29:31 +07:00
9644eda14c
Don't spam regular log with json test fails 2024-04-24 00:12:05 +07:00
21fcad14b3
Misc fixes 2024-04-24 00:06:38 +07:00
60fb895fe8
Universe migrated to sqlite database 2024-04-23 22:49:03 +07:00
9797202af2
Fix race condition in event loop shutdown when using awaitTermination() 2024-04-23 17:30:52 +07:00
195de2d160
Persistent universe parameters storage, as well as player context 2024-04-23 16:59:51 +07:00
c016dade54
SQLite as underlying file storage engine 2024-04-23 13:51:24 +07:00
87966e5fa1
Persistent world storage test 2024-04-23 03:04:17 +07:00
38eddc0276
Fix orientation update not updating spatial index 2024-04-22 23:02:04 +07:00
68ec91e1e8
Players now can place objects 2024-04-22 22:57:26 +07:00
ab516d91a9
Responsive player tracking 2024-04-22 22:41:43 +07:00
fd583cf2b9
Fix smashOnBreak not being honored 2024-04-22 22:22:01 +07:00
934e8f8479
Plants without occupied spaces no longer crash server 2024-04-22 22:16:48 +07:00
c2cb8dd208
Make server-side entities exceptions be fatal 2024-04-22 22:16:05 +07:00
e04cc92ffd
Now players are properly kicked to their ships if world experiences fatal error 2024-04-22 22:06:12 +07:00
4212390bf3
event loop now accepts tasks during shutdown if they happen inside event loop 2024-04-22 22:01:16 +07:00
7270b1b47b
Fix wrong json conversion from numbers again 2024-04-22 21:43:01 +07:00
3bb7e50315
Fix wrong json conversion from numbers 2024-04-22 21:29:02 +07:00
dfcc59d218
Fix grass being buried under tiles 2024-04-22 20:50:20 +07:00
9d049ec3aa
Better item spewing 2024-04-22 20:49:14 +07:00
58ec1b7933
Fix hitting only rooted tile did not break trees 2024-04-22 20:48:19 +07:00
baf04fe447
Object breaking 2024-04-22 20:11:16 +07:00
f9fe93383f
Now root mechanics is properly handled by damageTiles 2024-04-22 17:52:43 +07:00
d9de575de6
Now root mechanics is properly handled by damageTiles 2024-04-22 17:52:25 +07:00
b50f356f7e
Functional cell rootSource mechanics 2024-04-22 17:19:05 +07:00
74bbc58c60
Functional plants 2024-04-22 16:41:05 +07:00
17a3de38bc
Improvements to scheduling inside blockable event loop 2024-04-22 16:39:38 +07:00
01c7a29fe8
More genuine container contents shuffling 2024-04-22 00:14:59 +07:00
88e82ad9c8
Fix treasure pool levels 2024-04-21 23:37:51 +07:00
81492f2985
Proper biome item placement 2024-04-21 23:32:29 +07:00
82c2d1315e
Same goes to karst/worm caves 2024-04-21 22:30:14 +07:00
fbbab1c82d
Use floats for perlin noise matrices, since they don't need double precision 2024-04-21 22:27:48 +07:00
135f8e9728
Plant entities? 2024-04-21 22:26:02 +07:00
151470f76d
Microdungeon placement now don't hog event loop 2024-04-20 23:11:42 +07:00
5c13567fed
Paced tile damage/modifications, to root out evil actors 2024-04-20 22:38:13 +07:00
f89afb80bb
Working wiring 2024-04-20 21:31:26 +07:00
7e26f0d3b8
Add more world bindings 2024-04-20 14:44:20 +07:00
5c840eaf77
Fix imports 2024-04-19 15:05:58 +07:00
d9a6d97c4f
Move vectors io to streams 2024-04-19 15:00:29 +07:00
50a3fa6865
Merge kommons math into kstarbound 2024-04-19 14:51:36 +07:00
df329f7087
WorldGeometry.split, little more work on world bindings 2024-04-19 14:18:05 +07:00
fffc0b6102
Misc perfromance improvements 2024-04-19 11:54:41 +07:00
100afadd5c
Blockable event loop without locking 2024-04-19 11:27:55 +07:00
a66de1133a
Fix horizon mask 2024-04-18 22:50:49 +07:00
dc585273b7
Misc fixes 2024-04-18 21:25:25 +07:00
eb6fef150e
Rearrange code execution so objects are generated parallel to applying tile changes to world 2024-04-18 21:06:40 +07:00
fc6938fc35
Deterministic dungeon containers 2024-04-18 21:05:16 +07:00
7857b8821e
Working name generator 2024-04-18 20:47:17 +07:00
432f77a676
More object placement fixes 2024-04-18 19:18:47 +07:00
432df454e2
fix dumb mistake regarding anchors 2024-04-18 18:52:19 +07:00
4fc33b2cb6
Fix TileModification having wrong code for reading hue shift from network 2024-04-18 18:41:29 +07:00
a0d3ddf595
Fix wrong hue shift on modifiers 2024-04-18 18:35:36 +07:00
fde196ceae
Fix jigsaw connectors having wrong understanding of "opposite" 2024-04-18 18:35:27 +07:00
3b642ffe40
Remove "withRandom" 2024-04-18 17:55:10 +07:00
8f407465f5
All composing terrain selectors now can reference other terrain selectors by name 2024-04-18 16:54:05 +07:00
edf33ca224
Little more terrain 2024-04-18 16:43:39 +07:00
dbef69d6e6
Terrain fixes 2024-04-18 16:27:33 +07:00
46900554c3
Don't flush when writing universe time packet 2024-04-18 14:52:05 +07:00
de735cc5b8
Send network packets right away 2024-04-18 14:31:08 +07:00
bad3fd9b16
Fix painting does nothing 2024-04-18 14:23:32 +07:00
adab78f0c0
Improve StringByteString performance 2024-04-18 14:09:44 +07:00
3ead24267c
Active item half functional 2024-04-18 14:04:37 +07:00
30ca2c9573
Add random:randn 2024-04-17 15:57:06 +07:00
d755e6cd66
Items (not finished), Item Registry, performance tweaks, memory improvements, loading performance improvements 2024-04-17 15:35:32 +07:00
9f52e2314d
container objects "functional" 2024-04-15 21:28:43 +07:00
77aa05d9f3
Loungeable objects, some cleanup to entities in general 2024-04-14 20:59:01 +07:00
403aac63de
Some initial fixes for Lua bindings and stuff 2024-04-14 11:48:19 +07:00
8ee60c0f4d
Some initial Lua bindings (object, animator, root, sb) 2024-04-14 01:45:15 +07:00
38b189ac88
Remove old iteration of "avatar" 2024-04-12 11:00:38 +07:00
7f0f647494
Wire connecting? 2024-04-12 10:36:43 +07:00
a46269aa15
Performance improvement bits 2024-04-12 10:24:47 +07:00
164040b45b
SpawnEntityPacket 2024-04-11 20:36:23 +07:00
8fe7a6f951
Update all methods to not reference global timestep constant
this sets up ground for variable tick rate
2024-04-11 15:06:32 +07:00
7cd0f5e173
TileModification packets 2024-04-10 22:41:41 +07:00
b3b51aefa5
Bring back lazingly initialized perlin noise 2024-04-10 10:07:44 +07:00
318b689d2d
Fix memory requirements of previous commit :) 2024-04-10 09:55:28 +07:00
e134554879
Item drops stuff, but i accidentally inflated chunk memory requirements 2024-04-09 23:24:33 +07:00
8987dc5270
Use linked map and linked set so placements appear in the same order as they were supplied by dungeon parts 2024-04-09 10:59:20 +07:00
c91b448e66
More work on objects, orientations and spaces are working? kind of 2024-04-09 10:56:50 +07:00
c2e5b32c94
Very compact dungeon representation in RAM, but it is quite slow 2024-04-08 14:06:12 +07:00
53bb3bd843
Dungeons generation (need optimizing), BlockableEventLoop (finally normal event loop) 2024-04-08 12:14:42 +07:00
68f3d6aa29
Flatten perlin noise structure, improving perfomance by margin of 4
не рузен
2024-04-06 03:02:32 +07:00
43e9c2412d
Cave liquid 2024-04-06 01:57:44 +07:00
6f6150475e
Grass generation 2024-04-05 23:35:35 +07:00
a839af1041
Merge TicketList into ServerChunk 2024-04-05 19:55:45 +07:00
c3c928de92
Terrain generation, staged async chunk loading 2024-04-05 18:30:45 +07:00
31ea958304
Fix orbital warp actions 2024-04-04 10:59:34 +07:00
aea534add4
Fix findRandomWorld not accounting for satellites 2024-04-04 10:59:17 +07:00
cb384be77a
SkyParameters are now finally generated 2024-04-04 10:50:46 +07:00
55253f78d1
Some fixes 2024-04-04 01:00:48 +07:00
db09de857b
SystemWorld, fixed MWCRandom, event loops, universe io 2024-04-04 00:31:57 +07:00
3b2e1d06c3
Actually load versioning.config 2024-04-02 21:57:53 +07:00
66a3f0304a
Minor cleanup, VersionedAdapter 2024-04-02 21:53:18 +07:00
24fdf7ab70
Coroutine scope for connection 2024-04-02 20:38:03 +07:00
209c1a5776
TileEntities, WorldObject 2024-04-02 20:07:11 +07:00
cb63b47b12
Some sky implementation work 2024-03-30 20:12:40 +07:00
ff746f43ae
Delay perlin noise initialization until actually used 2024-03-30 18:15:06 +07:00
fd1a63a22c
little bit polishing 2024-03-30 15:02:12 +07:00
6302661019
Entity spatial index 2024-03-30 12:36:17 +07:00