87 Commits

Author SHA1 Message Date
Kae
57a5afa13a fix net compat rules not being considered in client netLoad 2025-01-05 15:21:59 +11:00
Kae
e065981ce2 Update StarWorldClient.cpp 2024-10-27 05:44:33 +11:00
Kae
beea448827 fix WorldClient::m_inWorld being false during during player init
this was breaking a few new checks
fixes #136
2024-10-26 10:46:46 +11:00
Kae
0a5e92ef38 unify UniverseClient & WorldClient LuaRoots & let universeClient scripts intercept packets
can be used for intercepting chat packets, for example!
2024-10-17 19:02:24 +11:00
Kae
8155ec6715 protected dungeon ID optimization + /settileprotection improvements 2024-09-14 15:59:01 +10:00
Kae
4da398e42d Merge branch 'main' into wip/net-n-btree 2024-09-12 19:13:57 +10:00
Kae
7408981e13 use a version number rather than a bool
more flexible, allows for backwards compat with older OpenSB versions & not just vanilla Starbound
2024-09-11 18:22:44 +10:00
Kae
37f3178d33 Network compatibility changes 2024-09-11 15:19:17 +10:00
Kae
95b13f670d code clean-up 2024-09-09 20:32:23 +10:00
lonaasan
227585f1dc [bugfix] removed check in setRespawnWorld due to the nature of NULL 2024-09-09 11:35:40 +02:00
lonaasan
732fc2a9d7 [Revision] Applying the recommended changes from pull request #110 (return current value if no argument given, moving the methods to their correct location) 2024-09-09 11:27:14 +02:00
lonaasan
98a395721e [Small Addition] added respawnInWorld Command 2024-09-09 09:53:11 +02:00
Kae
a5788e7585 Update StarNetPackets.cpp 2024-07-27 14:52:36 +10:00
Kae
951fe787c4 Networking changes (needs P2P testing, requires clients to update unfortunately) 2024-07-27 14:09:12 +10:00
Kae
54ac208dd5 lighting: disable the new additive point light behavior when new lighting is off 2024-06-28 17:10:17 +10:00
Kae
39a6e900a4 Inspecting now logs to the chat
TODO: make configurable!
2024-06-17 20:31:40 +10:00
Kae
41bad6c97c fix MaterialDatabase::radiantLight null deref when material/matmod ID does not exist 2024-06-01 21:32:27 +10:00
Kae
1b86da7f36 fix: PaintingBeamTool turning invisible after switching color 2024-04-25 02:09:10 +10:00
Kae
f58702683f log EntityMessageResponse error instead of throwing 2024-04-24 16:28:09 +10:00
Kae
ca1426eabc Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
2024-04-22 06:07:59 +10:00
Kae
227e60ca4c new object lighting toggle, log non-master entity render/update exceptions 2024-04-15 08:03:26 +10:00
Kae
6c896c2ef7 Make ping updates more accurate 2024-04-04 14:35:36 +11:00
Kae
02632b248c Fix more cases of tile collision not taking object material spaces into account
Fixes #53
2024-04-01 10:30:03 +11:00
Kae
c484fab32d experiment: auto-conversion of object spread lights to hybrid spread/point lights 2024-03-26 07:31:33 +11:00
Kae
57ca6776e4 Lua patches 2024-03-21 00:57:49 +11:00
Kae
bf73fbc1ad cursed point lights everywhere (but god it looks good) 2024-03-20 15:29:26 +11:00
Kae
6d76a11e25 experiment: unclamped lighting 2024-03-20 01:53:34 +11:00
Kae
983bb82a96 Async lighting improvements 2024-03-19 18:21:54 +11:00
Kae
5a48b0383a fix StepUpdate typos (oops) 2024-03-18 22:09:48 +11:00
Kae
9dc1eb7312 InterpolationTracker operates on time in seconds instead of steps now 2024-03-17 17:33:31 +11:00
Kae
3534067801 Tile Prediction: make refunds silent 2024-03-11 17:03:09 +11:00
Kai Blaschke
cd23817bf1
Fixed remaining compiler warnings
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
2024-02-28 18:30:27 +01:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.

99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.

Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.

Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kae
8181cff72e Hopefully fix the rare lightmap flicker 2023-11-25 23:36:36 +11:00
Kae
994b0fe3cf Fix TestUniverse 2023-11-24 20:35:45 +11:00
Kae
508e8f4304 Use invis material to fix constant re-placement of falling blocks 2023-10-31 08:32:20 +11:00
Kae
7d948f8839 Don't tile predict falling blocks for now
causes too many mispredictions due to not simulating falling blocks locally (and it might still be an issue even if we did simulate it due to slight timing differences between client/server)
2023-10-31 08:10:05 +11:00
Kae
6f7f3800d3 Don't forget to dirty collision on tile modification failure 2023-08-31 01:12:17 +10:00
Kae
a7ae034278 Objects can now be placed under tiles that have non-block collision 2023-08-21 00:59:02 +10:00
Kae
ecadfa7e44 Bump up prediction expiry time
Also added a new font
2023-08-20 20:48:18 +10:00
Kae
572b492b93 Fix collision not refreshing on expired predictions and slight placement issue 2023-08-19 22:49:05 +10:00
Kae
3805db7722 oops: Fix sub-step material placement 2023-08-19 21:35:56 +10:00
Kae
2fb2616384 More accurate liquid collection prediction 2023-08-19 21:08:44 +10:00
Kae
d2ec7f37c1 Predict MiningTool liquid collection 2023-08-19 20:57:55 +10:00
Kae
ec4f70340e Allow overriding placed collision kind ("""overground""") from world.placeMaterial 2023-08-19 18:26:52 +10:00
Kae
0c74c70475 Predict placed tile collision 2023-08-19 12:55:32 +10:00
Kae
156c243360 improve applyTileModifications to be more aggressive 2023-08-19 00:18:51 +10:00
Kae
f6f91b18e8 Various improvements
You can now right click empty slots to insert one from swap.
Added unique sounds for the swap slot count incrementing/decrementing.
Material placement now plays sounds.
2023-08-18 23:14:53 +10:00
Kae
cd36a269fd Account for latency predicting item drop pickup 2023-08-18 21:48:09 +10:00
Kae
aa0ef06ac6 Predict item drop animation client-side 2023-08-18 16:54:47 +10:00