79e0d834fd
Rework user limit and checks around join process
2025-05-30 13:02:24 +02:00
b580c66b61
Restrict minimum state for ClientInterface::sendToAll
2025-05-30 13:02:24 +02:00
9ce9d7f433
Extend check for lingering clinets
2025-05-30 13:02:24 +02:00
0bdd5f294e
Make SDL2 default on macOS ( #16039 )
2025-05-02 21:28:13 +02:00
00addc3e5d
Mark liquid and light updates low priority
2025-04-22 20:36:45 -07:00
2a3427a39c
Fix m_nearest_unsent_d calculation when changed blocks arrive
...
Uses the nearest cube surface instead of euclidean distance to correctly reset the distance to start scanning from.
2025-04-22 20:36:45 -07:00
99150fadd1
Some RemoteClient improvements
...
* Simplications
* Remove RemoteClient::m_blocks_modified
* Remove unneeded nearest_emergefull_d
2025-04-22 20:36:45 -07:00
5c6e4d35b0
Client: protect against circular attachments ( #16038 )
...
The server already includes such check. There must be a desync issue that causes
an ID mismatch, resulting in client crashes. Any such crash must be prevented.
2025-04-21 12:33:19 +02:00
124d770823
Fix edge-case where manually set gameid isn't used
2025-04-10 14:39:21 +02:00
9d81c02f27
Add/remove/change some log messages for clarity
2025-04-10 14:39:21 +02:00
a3648b0b16
Add spatial index for objects ( #14631 )
2025-04-08 08:44:53 +02:00
6724068659
Slight fix to #15949 to handle emerge queue full ( #15960 )
...
Partially restore the existing logic, and try to enqueue a block as before, if the queue is full it will be handled correctly.
2025-03-31 21:31:10 -07:00
2602d03b34
Split ABM/LBM from serverenvironment.cpp to own file
2025-03-30 18:17:19 +02:00
8f8d7c4088
Check if a block is already in the emege queue before checking occlusion culling and trying to reemerge ( #15949 )
2025-03-28 11:31:54 -07:00
18ac8b20fa
Replace object visual by enum ( #15681 )
2025-03-06 21:02:11 +01:00
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
d74af2f1a7
Use matrix4::getRotationRadians
2025-02-27 12:31:04 +01:00
a8c4c55d58
Document that object properties colors
field is unused ( #15685 )
2025-02-02 19:04:18 +01:00
7c6ade0fc5
Restore proper rollback database indexing ( #15707 )
2025-01-24 16:50:59 +01:00
547e1476bb
Allow overriding fonts via media files ( #15606 )
...
Co-authored-by: sfan5 <sfan5@live.de >
2025-01-19 20:42:40 +01:00
e8f6127779
Reduce irrlicht_extrabloated.h includes in header files
2025-01-04 12:39:34 +01:00
d1dd044455
Reorder client initialization ( #15554 )
...
Previously, ServerEnv created a player instance before they're fully initialized.
This commit moves all initialization steps and callbacks into TOSERVER_CLIENT_READY
^ which includes StageTwoClientInit for player loading or creation
2024-12-24 15:24:56 +01:00
e9080f91f2
Cleanup ban.cpp/h ( #15496 )
...
Make BanManager more const correctly
Delete unused includes
2024-12-01 20:52:13 +01:00
c175046d30
Network: Fix serialization version checks ( #15477 )
...
This fixes some incorrect assumptions that the read and write version ranges are identical - whereas they're in fact not.
2024-11-27 18:39:57 +01:00
c00129360e
Remove unused pos_max_d
2024-11-12 10:52:46 +01:00
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
e441b5d240
Fix spelling mistakes in player_sao.cpp
2024-10-23 10:52:28 +02:00
a18355e7e8
Introduce object target for shared sources
2024-10-16 19:39:59 +02:00
1b2d24791a
Separate anticheat settings ( #15040 )
2024-10-11 12:01:22 +02:00
3797ca52c4
Network: offload often changed constants to source file ( #15207 )
...
* Network: offload often changed constants to source file
This prevents unnecessary recompiling when using incremental builds.
There is also no need to have separate max proto version variables;
as they're subject to the handshake between client and server. The
code is also expected to support the same version (or higher).
Co-authored-by: sfan5 <sfan5@live.de >
2024-10-02 11:01:30 +02:00
610ddaba7c
Allow detection of damage greater than HP ( #15160 )
...
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de >
2024-09-27 21:34:52 +02:00
526a2f7b8c
Dehardcode the death formspec ( #15155 )
...
Co-authored-by: Paul Ouellette <oue.paul18@gmail.com >
2024-09-24 22:37:44 +02:00
3c48671076
Fix -Winconsistent-missing-override in unit_sao.h ( #15190 )
2024-09-24 22:25:46 +02:00
d5d8fb629b
Simplify TOSERVER_INIT
and TOCLIENT_HELLO
...
- Network compression support was never added.
- Client hasn't used the returned playername since at least 0.4-stable.
2024-09-02 21:50:43 +02:00
7968ab6928
Move network protocol implementation behind an interface
2024-08-21 21:40:58 +02:00
f2c66b9ceb
Add possibility to easier override HP and breath engine logic by Lua ( #14179 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de >
2024-08-21 20:24:43 +02:00
dc21924f31
Fix animations not being restartable ( #15016 )
2024-08-20 11:51:52 +02:00
03e600a721
Fix whitespaces
2024-08-17 21:02:54 +02:00
3df070f352
Remove SAO::onAttach() and SAO::onDetach()
2024-08-17 19:49:38 +02:00
6874c358ea
Allow managing object observers
...
-----
Co-authored-by: sfan5 <sfan5@live.de >
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com >
2024-08-16 22:13:16 +02:00
85e717fcd1
Rework object attachment handling to fix bugs ( #14825 )
2024-08-12 15:32:18 +02:00
f04cdc00a6
Optionally hide player names on the serverlist ( #14820 )
...
This commit adds a setting to anonymize player names when sending data to the server list.
2024-08-11 20:19:53 +02:00
39fd9b93c3
Introduce proper error handling for file streams
2024-05-14 18:33:08 +02:00
dd475d8af4
Add benchmarks for server::ActiveObjectMgr
2024-05-09 11:31:35 +02:00
2bdd0a6bdb
Add physics overrides for walk speed and Fast Mode ( #14475 )
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org >
2024-04-30 13:50:01 +02:00
72cb4e9bea
Allow nil
puncher in object:punch
( #14319 )
2024-04-28 17:55:04 +02:00
bc4ab8b99e
General code refactoring/improvements in server, treegen and connection
2024-03-20 16:37:32 +01:00
178943b4b7
Improve ServerEnvironment::getRemovedActiveObjects() in many ways
2024-03-20 16:37:32 +01:00
8339594206
Handle static_save changes at runtime and between restarts
2024-03-17 15:55:24 +01:00
2386bfda7e
Fix static_save=false not working & related cleanups
2024-03-17 15:55:24 +01:00