minetest/src
SmallJoker 32f68f35cf
Avoid packets getting sent to disconnected players (#14444)
Many functions expect RemotePlayer to have a valid peer ID,
this however is not the case immediately after disconnecting
where the object is still alive and pending for removal.

ServerEnvironment::getPlayer(const char *, bool) now only
returns players that are connected unless forced to.
2024-03-10 13:24:35 +01:00
..
benchmark Fix some narrowing warnings 2024-03-02 01:56:25 +01:00
client Client: fix failing assert on empty texture name 2024-03-10 10:50:04 +01:00
content Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
database Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
gui Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
irrlicht_changes Set VBO hints in more places 2024-02-29 17:20:49 +01:00
mapgen Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
network Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
script Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
server Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
threading Fix native thread handle usage on win32 2024-01-06 15:38:09 +01:00
unittest Fix compiler warnings 2024-02-24 12:39:12 +01:00
util Add missing include in container.h 2024-03-02 01:47:03 +01:00
activeobject.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
activeobjectmgr.h Custom data structure for active objects to get performance *and* safety (#13880) 2024-01-17 20:04:56 +01:00
chat_interface.h
chat.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
chat.h CSM: Fix duplicate player names (#13910) 2023-10-22 15:31:29 +02:00
chatmessage.h
clientdynamicinfo.h Fix more type promotion mistakes 2024-02-26 22:07:40 +01:00
cmake_config_githash.h.in
cmake_config.h.in Define strlcpy only on platforms where it's not available 2024-01-19 11:53:08 +01:00
CMakeLists.txt Allow toggling touchscreen mode at runtime (#14075) 2024-02-22 15:44:49 +00:00
collision.cpp Avoid movement jitter (#13093) 2023-12-10 19:12:37 +01:00
collision.h Expose collided objects in moveresult 2020-05-06 14:03:52 +02:00
config.h Android build via CMake (#13528) 2023-05-26 15:21:23 +02:00
constants.h Scale resend timeout exponentially 2024-01-17 20:05:57 +01:00
content_mapnode.cpp
content_mapnode.h
content_nodemeta.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
content_nodemeta.h
convert_json.cpp Use json forward-declarations 2023-04-27 18:50:33 +02:00
convert_json.h Use json forward-declarations 2023-04-27 18:50:33 +02:00
craftdef.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
craftdef.h Throw Hocroft-Karp onto shapeless recipes 2023-04-14 21:10:09 +02:00
daynightratio.h Make natural night light as bright as MT 0.4.16 (#9053) 2019-10-18 21:54:44 +01:00
debug.cpp Show better description to users when std::bad_alloc happens 2023-09-13 13:58:59 +02:00
debug.h Show better description to users when std::bad_alloc happens 2023-09-13 13:58:59 +02:00
defaultsettings.cpp Drop enable_vbo setting 2024-02-29 17:20:49 +01:00
defaultsettings.h Settings: Proper priority hierarchy 2021-01-29 17:32:35 +01:00
dummygamedef.h Rename "mod metadata" to "mod storage" everywhere 2022-11-24 17:58:25 -05:00
dummymap.h Add lighting test and benchmark (#12802) 2022-09-26 06:49:08 -04:00
emerge_internal.h Lua on each mapgen thread (#13092) 2024-02-13 22:47:30 +01:00
emerge.cpp Lua on each mapgen thread (#13092) 2024-02-13 22:47:30 +01:00
emerge.h Lua on each mapgen thread (#13092) 2024-02-13 22:47:30 +01:00
environment.cpp Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
environment.h Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
exceptions.h Return to the main menu if a shader compilation fails (#14256) 2024-01-19 11:51:46 +01:00
face_position_cache.cpp
face_position_cache.h
filesys.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
filesys.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
gamedef.h Use nicer syntax for nested namespace definitions 2023-06-15 10:38:44 +02:00
gameparams.h Add register dialog to separate login/register (#12185) 2022-06-05 17:47:38 +02:00
gettext.cpp Move setenv compat code to porting.h 2024-01-14 13:17:53 +01:00
gettext.h Get rid of wgettext 2023-04-08 20:17:50 +02:00
gettime.h Refactor local time getter functions (#12221) 2022-04-28 18:53:33 +02:00
httpfetch.cpp Allow curl to use all content encodings 2024-03-01 18:22:59 +01:00
httpfetch.h Enforce minimum for curl(_file_download)_timeout 2023-10-05 17:29:49 +02:00
hud.cpp Add chat HUD flag (#13189) 2023-02-20 21:00:37 +01:00
hud.h Fix out of range enum casts in deSerialize functions (#14090) 2024-01-17 20:05:46 +01:00
inventory.cpp Fix some common SAO methods to not generate useless update packets 2024-03-06 18:03:57 +01:00
inventory.h Add wear bar color API (#13328) 2024-02-02 21:21:00 +01:00
inventorymanager.cpp Inventory: Fix deleted inventory being used for regaining locked lists 2023-10-27 18:47:07 +02:00
inventorymanager.h Convert spaces to tabs (#13506) 2023-05-26 15:13:57 +02:00
irr_aabb3d.h
irr_ptr.h Delete clang-format files and comments (#14079) 2023-12-15 10:23:44 +01:00
irr_v2d.h
irr_v3d.h
irrlichttypes_bloated.h
irrlichttypes_extrabloated.h Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019) 2019-02-07 21:26:06 +00:00
irrlichttypes.h Irrlicht support changes (#14383) 2024-02-19 21:14:47 +01:00
itemdef.cpp Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
itemdef.h Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
itemgroup.h
itemstackmetadata.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
itemstackmetadata.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
json-forwards.h Use json forward-declarations 2023-04-27 18:50:33 +02:00
light.cpp Fix light overflow of u8 if light is saturated at 255 (#10305) 2020-08-23 15:39:55 +02:00
light.h
lighting.cpp Convert spaces to tabs (#13506) 2023-05-26 15:13:57 +02:00
lighting.h Make volumetric light effect strength server controllable 2023-12-21 16:21:01 -08:00
log.cpp Replace the old STATIC_ASSERT macro with static_assert 2023-06-15 10:38:44 +02:00
log.h Check specific outputs for isatty (#12980) 2022-11-21 12:08:40 -05:00
main.cpp Allow toggling touchscreen mode at runtime (#14075) 2024-02-22 15:44:49 +00:00
map_settings_manager.cpp Minor script api fixes/cleanups 2023-06-23 09:05:26 +02:00
map_settings_manager.h Minor script api fixes/cleanups 2023-06-23 09:05:26 +02:00
map.cpp Detect air-only blocks instead of day/night differences (#14264) 2024-02-22 21:47:42 -08:00
map.h Allow active blocks to be generated (#14185) 2024-01-13 10:27:41 -08:00
mapblock.cpp Detect air-only blocks instead of day/night differences (#14264) 2024-02-22 21:47:42 -08:00
mapblock.h Detect air-only blocks instead of day/night differences (#14264) 2024-02-22 21:47:42 -08:00
mapnode.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
mapnode.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
mapsector.cpp Fix missing limit check for block y pos (#14320) 2024-01-30 21:51:51 +01:00
mapsector.h Allow access into MapSector::m_blocks (#14232) 2024-01-10 09:17:26 -08:00
metadata.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
metadata.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
modchannels.cpp Move the codebase to C++14 2022-02-26 14:39:41 +01:00
modchannels.h
modifiedstate.h Reduce size of some MapBlock members 2023-12-16 12:51:42 +01:00
nameidmapping.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
nameidmapping.h
nodedef.cpp Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
nodedef.h Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
nodemetadata.cpp Inventory: Don't throw resize lock exception in destructor (#13894) 2023-10-22 15:30:11 +02:00
nodemetadata.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
nodetimer.cpp
nodetimer.h Fix typos and en_US/en_GB inconsistency in various files (#12902) 2022-11-09 11:57:19 -05:00
noise.cpp Add API for restoring PseudoRandom and PcgRandom state (#14123) 2024-01-16 23:20:52 +01:00
noise.h Fix signed overflow UB in PseudoRandom::next() 2024-01-19 11:52:53 +01:00
objdef.cpp Allow ObjDefManager instances to be cloned 2020-05-05 19:26:59 +02:00
objdef.h Fix remaining issues with mapgen scriptapi 2020-05-05 19:26:59 +02:00
object_properties.cpp Reorder ObjectProperties struct 2024-03-06 18:03:57 +01:00
object_properties.h Fix some common SAO methods to not generate useless update packets 2024-03-06 18:03:57 +01:00
particles.cpp Fix more type promotion mistakes 2024-02-26 22:07:40 +01:00
particles.h Fix out of range enum casts in deSerialize functions (#14090) 2024-01-17 20:05:46 +01:00
pathfinder.cpp Replace PP with direct printing 2023-06-26 22:51:32 +02:00
pathfinder.h Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
player.cpp Move PlayerSettings class to client code 2024-03-06 18:03:57 +01:00
player.h Move PlayerSettings class to client code 2024-03-06 18:03:57 +01:00
porting_android.cpp Save the settings in more cases to avoid losing setting changes (especially on Android) (#14266) 2024-01-23 21:33:27 +01:00
porting_android.h Remove excessive includes from porting.h 2024-01-14 13:17:53 +01:00
porting.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
porting.h Define strlcpy only on platforms where it's not available 2024-01-19 11:53:08 +01:00
profiler.cpp Add MAX profiler option 2023-04-14 00:09:48 +01:00
profiler.h Add MAX profiler option 2023-04-14 00:09:48 +01:00
raycast.cpp Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
raycast.h Don't use a reference for RaycastState::m_pointabilities (#14376) 2024-02-17 18:36:20 +01:00
reflowscan.cpp Fix typos and en_US/en_GB inconsistency in various files (#12902) 2022-11-09 11:57:19 -05:00
reflowscan.h
remoteplayer.cpp RemotePlayer: make peer ID always reflect the validity of PlayerSAO (#14317) 2024-02-02 22:13:24 +01:00
remoteplayer.h RemotePlayer: make peer ID always reflect the validity of PlayerSAO (#14317) 2024-02-02 22:13:24 +01:00
rollback_interface.cpp Replace PP with direct printing 2023-06-26 22:51:32 +02:00
rollback_interface.h
serialization.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
serialization.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
server.cpp Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
server.h Fix attached sounds stopping if objects are removed serverside (#14436) 2024-03-06 20:36:02 +01:00
serverenvironment.cpp Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
serverenvironment.h Avoid packets getting sent to disconnected players (#14444) 2024-03-10 13:24:35 +01:00
settings_translation_file.cpp Remove controls listed in the pause menu (no touchscreen) (#13282) 2024-01-05 20:10:07 +00:00
settings.cpp Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
settings.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
skyparams.h Allow fog color to be overriden properly (#14296) 2024-01-23 22:33:33 +01:00
sound.h Introduce std::string_view into wider use (#14368) 2024-02-17 15:35:33 +01:00
staticobject.cpp Reduce exposure of various internals (#12885) 2022-11-03 17:35:31 +01:00
staticobject.h Reduce exposure of various internals (#12885) 2022-11-03 17:35:31 +01:00
terminal_chat_console.cpp Remove excessive includes from porting.h 2024-01-14 13:17:53 +01:00
terminal_chat_console.h CSM: Fix duplicate player names (#13910) 2023-10-22 15:31:29 +02:00
texture_override.cpp Address some clang-tidy warnings 2023-12-25 10:07:28 +01:00
texture_override.h Address some clang-tidy warnings 2023-12-25 10:07:28 +01:00
tileanimation.cpp Fix clang-tidy type promotion errors 2024-02-26 20:47:47 +01:00
tileanimation.h Fix out of range enum casts in deSerialize functions (#14090) 2024-01-17 20:05:46 +01:00
tool.cpp Fix undefined behaviors (#14365) 2024-02-15 11:05:42 +01:00
tool.h Add wear bar color API (#13328) 2024-02-02 21:21:00 +01:00
translation.cpp Reduce translations log spam 2024-03-06 22:33:32 +01:00
translation.h Reduce translations log spam 2024-03-06 22:33:32 +01:00
unsupported_language_list.txt Move unsupported language list into a separate file (#13865) 2023-10-05 17:29:02 +02:00
version.cpp Android build via CMake (#13528) 2023-05-26 15:21:23 +02:00
version.h
voxel.cpp Optimize lighting calculation (#12797) 2022-10-09 10:50:26 -04:00
voxel.h Replace PP with direct printing 2023-06-26 22:51:32 +02:00
voxelalgorithms.cpp Handle blit_back_with_light with empty area 2023-07-13 20:42:39 +02:00
voxelalgorithms.h Add lighting test and benchmark (#12802) 2022-09-26 06:49:08 -04:00