Commit Graph

676 Commits

Author SHA1 Message Date
Kae
8bef4abdbc Connection changes 2024-08-13 16:23:01 +10:00
Kae
4e236740f6 Update StarLogging.cpp 2024-08-08 13:06:42 +10:00
Kae
ffc1f95789 nicer error logging for BTree Repacker
recoverAll was really just sitting there
2024-08-08 12:09:47 +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
cb547d0bc6 Improve Windows stack output 2024-08-04 21:22:50 +10:00
Rohan
8f0c327ffa
Fix LeftStick movement StarClientApplication.cpp
It no longer has that drift. The drift is caused by the controller, and this simply turns up the threshold of where the game actually accepts the input as a movement.
2024-08-03 11:42:20 -07:00
Kae
6321a7d75d Update StarClientApplication.cpp 2024-08-03 18:54:49 +10:00
Kae
20de634a06 Improve Discord activity info
requested by Omeruin!
2024-08-03 18:51:19 +10:00
Kae
bef86811c9 revert libsamplerate addition
sadge
2024-08-03 13:36:16 +10:00
Kae
4f511c2aaa Update build_linux.yml 2024-08-03 13:32:41 +10:00
Kae
908fa1ee60 Add libsamplerate, make Voice bitrate configurable 2024-08-03 11:54:08 +10:00
Kae
497c6efc55 Fix RNG bugs from upgrade to C++17
staticRandomShuffle now uses its own tiny impl of the deprecated std::random_shuffle, producing identical results in testing
2024-08-02 11:53:59 +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
a75703085e Ignore GLEW wayland error (https://github.com/nigels-com/glew/issues/172) 2024-07-30 12:41:24 +10:00
Kae
0990379db8 Update StarRenderer_opengl.cpp 2024-07-30 12:25:01 +10:00
Kae
db836d0ca4 Update StarRenderer_opengl.cpp 2024-07-30 12:19:18 +10:00
Kae
e9e87a1c3c Avoid crashing when a OGG file is broken (thanks to @kblaschke !)
Also added a name tag to Audio for logging so that it's easier to find the audio asset that's causing it
2024-07-29 09:23:27 +10:00
Kae
8b1a2d6f0c add 2 new allocators, currently using rpmalloc on Windows (mimalloc unused for now) 2024-07-28 10:54:26 +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
9e7a2e9bb9 only print Lua command result if it's not null 2024-07-27 13:58:14 +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
369dcb63d1
disable left-stick movement for now
#87
2024-07-18 06:55:38 +10:00
Kae
d4fad6402f add F16-F24 keys 2024-07-12 08:09:06 +10:00
Kae
bc2e805d01 Bump shader versions
#78
2024-07-07 07:32:06 +10:00
Kae
d313a3ceb3 OpenGL: use 4.1 core
necessary for modern Mac support
2024-07-07 04:44:01 +10:00
Kae
49f84c7a3b add missing return statement 2024-07-02 21:26:30 +10:00
Kilkenni
0acce4b871 return values for bookmark Lua callbacks 2024-07-01 19:18:40 +03: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
bb5387fbdb fix seemingly extremely rare race condition leading to exception when joining a singleplayer internal server
happened when the client thread called universeServer->setPause (which locks m_clientsLock) between the client id being added to m_clients and the connection being added to m_connectionServer
2024-06-28 17:09:13 +10:00
Kae
4120a289db update fmtlib 2024-06-27 23:39:48 +10:00
Kae
f60a19e065 optional sbinit option to disable UGC (workshop mods) 2024-06-27 15:49:41 +10:00
Kae
64adc28658 fix the very last material color variant not displaying 2024-06-27 14:29:43 +10:00
LDA
e1abce7091 allow compiling with old versions of sdl2 2024-06-25 22:13:51 -07:00
Kae
624d41f94a Fix MaterialItem not entirely uninitializing
was causing an exception when a MaterialItem had a script on it
2024-06-26 13:04:19 +10:00
Kae
563d95b9e6 remove redundant vertexRounding uniform from interface shader
interface is always drawn without super-sampling anyway
2024-06-26 13:03:30 +10:00