384 Commits

Author SHA1 Message Date
Kae
8aedf51957 add new quest Lua bindings to player 2024-10-15 16:16:57 +11:00
Kae
be884c33b4 change ImageMetadataDatabase caches to use a TTL 2024-10-15 16:11:17 +11:00
Kae
c9d45daac9 Don't trigger player slot reordering when autosaving after swapped 2024-10-11 05:16:09 +11:00
Kae
03b7e3a22b PlayerInventory: fix bag loading issue 2024-10-04 13:44:07 +10:00
Kae
25f3edbae3 shipworlds: store their own epoch time for consistent plant growth 2024-10-02 14:45:27 +10:00
Kae
ca48a137ec root.assetFrames & assets.frames 2024-09-22 15:59:45 +10:00
Kae
090441b80a make lexical casts (string -> int/float) faster 2024-09-16 23:02:22 +10:00
Kae
8155ec6715 protected dungeon ID optimization + /settileprotection improvements 2024-09-14 15:59:01 +10:00
Kae
9dbc4daacc Update StarWorldServer.cpp 2024-09-13 15:24:13 +10:00
Kae
253473f32c Update StarWorldServer.cpp 2024-09-13 15:05:28 +10:00
Kae
392c8e9bd7 Merge branch 'main' into wip/net-n-btree 2024-09-13 14:56:56 +10:00
Kae
85fbe0bab0 Update StarArmorWearer.cpp 2024-09-13 14:56:45 +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
floydinator-git
1f5e8a4629 Fix ImageMetadataDatabase::calculateImageSize calling Image::readPngMetadata on non-PNG images. 2024-09-10 23:04:09 -04: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
lonaasan
57e9d13e6a Added custom OpenSB help text categories and descriptions 2024-09-06 23:29:02 +02:00
Kae
90db1e0fba add Player::currentState 2024-09-02 22:18:09 +10:00
Kae
efa57d3081 UniverseClient: log packet type when a packet throws an exception 2024-09-02 22:18:03 +10:00
Kae
ac7577b4df Rename Keypad enums
noticed keypad binds were named like this in SE (probably due to using the names given by SDL there) and it's nicer anyway. better do this sooner than later.
2024-09-02 22:17:26 +10:00
Kae
3c9c65fa38 fix sapling infinite loop 2024-08-25 20:29:22 +10:00
Kae
e3462c3c69 Update StarUniverseServer.cpp 2024-08-25 20:28:50 +10:00
Kae
25386deef4
Use formatting for that exception msg 2024-08-21 17:20:49 +10:00
SilverSokolova
d9ca18198e
Elaborate on dungeon air vs ground error message 2024-08-21 00:21:51 -05:00
Kae
8bef4abdbc Connection changes 2024-08-13 16:23:01 +10:00
Kae
b2afd65144 Fix WorldStorage accessing null entityMap if a broken world throws an exception on load
happened to me when trying to repair a broken world file
2024-08-08 11:59:38 +10:00
Kae
dc37c9bdb8 Check if object matspace is a biome metamaterial when removing old matspaces
#95
2024-08-05 10:07:22 +10:00
Kae
20de634a06 Improve Discord activity info
requested by Omeruin!
2024-08-03 18:51:19 +10:00
Kae
42acfb3f2d fix F16-F24 keys offsetting keycodes, add key name to canvas key callback args 2024-07-31 08:40:56 +10:00
Kae
420f1d9731 add player.favoriteColor and setFavoriteColor 2024-07-30 14:00:03 +10:00
Kae
5398190030 relax sector unload criteria 2024-07-28 10:53:14 +10:00
Kae
e1be2ab429 finalize network improvements
can now disable zstd stream compression via config, peer-to-peer uses stream compression now, also made the server commands script a bit nicer
2024-07-27 20:04:34 +10:00
Kae
372921abde Update StarNetPacketSocket.cpp
oops
2024-07-27 19:42:24 +10:00
Kae
0ec199b3af Update StarNetPacketSocket.cpp 2024-07-27 18:56:16 +10: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
b1315d1784 Update StarPlayerInventory.cpp 2024-07-27 10:43:58 +10:00
Kae
c3de15c18d Fix compressed buffer not being emptied instantly in TcpPacketSocket::writeData
would only cause an issue when using sendAll, resulted in rarely not connecting
2024-07-27 08:43:32 +10:00
Kae
2d278e71c1 fix possible segfault in PlayerInventory::retrieve 2024-07-26 14:54:34 +10:00
Kae
a6ac154b94 accept 🎮 in mod bindings 2024-07-25 08:56:00 +10:00
Kae
323364f0af well that doesn't compile outside MSVC apparently 2024-07-25 07:25:27 +10:00
Kae
0638127721 Update StarObject.cpp 2024-07-25 07:21:17 +10:00
Kae
0634ae78fc Object::init - avoid throwing if 'scripts' parameter isn't an array for some reason 2024-07-25 07:04:21 +10:00
Kae
6dd49fb69a
make missing packed.pak instructions slightly more verbose
ffs. TODO: prompt automatic copy if it detects an existing install
2024-07-24 18:18:52 +10:00
Kae
f46d796253 Propagate client admin status to WorldServers 2024-07-20 05:35:06 +10:00
Kae
49f84c7a3b add missing return statement 2024-07-02 21:26:30 +10:00