Mineclonia/mods/ITEMS
Nils Dagsson Moskopp 4b91ae9522
Fix C stack overflow on Nether portal destruction
Before this patch, destroying an obsidian Nether portal frame destroyed
Nether portal nodes recursively. In Minetest binaries compiled with Lua
5.1 (i.e. without LuaJIT) this would cause a stack overflow when a huge
portal (23×23) was destroyed, crashing the server.

This patch implements Nether portal destruction using node timers. When
a portal node's timer triggers, it starts the timers of adjacent portal
nodes with the same orientation and no active timer and deletes itself.

Attempts to solve this problem using minetest.after() seemed promising,
but rubenwardy pointed out that anything relying on minetest.after() is
bound to fail if a server shuts down while portal nodes are destroyed.
2022-02-20 13:50:24 +01:00
..
REDSTONE Fix server crash when dispensing an unknown item 2021-06-19 02:04:59 +02:00
mcl_anvils Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_armor Fix armor rendering when wearing pumpkin 2022-01-23 20:11:55 +01:00
mcl_armor_stand Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_banners Render preview banners with transparent patterns correctly 2021-10-31 20:53:18 +01:00
mcl_beds Fix beds burning away and dropping 2022-02-07 03:39:52 +01:00
mcl_books Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_bows Refactor regular arrow flight time calculation 2021-07-12 16:06:44 +02:00
mcl_brewing Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
mcl_buckets Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cake Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cauldrons Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_chests Add noise to christmas chest textures 2021-12-12 15:40:29 +01:00
mcl_clock Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cocoas Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_colorblocks Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_compass Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_core Add packed ice crafting recipe 2021-11-24 06:06:26 +01:00
mcl_crafting_table Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_doors Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_dye Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_enchanting Merge remote-tracking branch 'n_to/update_template.txt' 2021-06-20 23:52:15 +02:00
mcl_end Make dragon egg teleport on punching 2021-07-13 09:11:48 +02:00
mcl_farming Convert correct floor node to dirt as gourd grows 2022-01-13 07:29:57 +01:00
mcl_fences Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_fire Fix memory leak & C stack overflow 2022-02-11 17:44:11 +01:00
mcl_fishing Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_flowerpots Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_flowers Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_furnaces Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_heads Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_hoppers Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_itemframes Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_jukebox Make jukebox accept and play old music records 2021-06-15 17:46:03 +02:00
mcl_maps mcl_maps: send hud_flags only if actually changed 2021-09-13 14:15:32 +02:00
mcl_mobitems Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_mobspawners Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_monster_eggs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_mushrooms Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_nether Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_ocean Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_portals Fix C stack overflow on Nether portal destruction 2022-02-20 13:50:24 +01:00
mcl_potions Make potion arrows able to hit end crystals 2021-07-12 22:21:15 +02:00
mcl_signs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_sponges Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_stairs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_throwing Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_tnt Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_tools Add debarking by right clicking wood using an axe 2021-09-07 00:48:10 +02:00
mcl_torches Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_totems Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_walls Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_wool Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_core Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_fences Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_stairs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
screwdriver Show screwdriver in creative inventory 2021-06-22 00:16:57 +02:00
xpanes Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00