Commit Graph

20 Commits

Author SHA1 Message Date
HybridDog
a2c0dd1130 Various small fixes
* Save the fakeplayer's wielded item in set_wielded_item
* pipeworks.luaentity: Return the found objects in get_objects_inside_radius
* Remove the invalid and unused on_blast return values in lua_tube.lua
  This should avoid a crash when a strong explosion happens next to a Lua Tube.
* Do not access a global "nodename" in a BUG message.
  This avoids a potential crash, in case the message actually appears in practice.
* Set the Flow Sensor and Fountain Head mesecons connection rules
* pipeworks.luaentity: Use the same function for move_to and set_pos
* (no functional change) Do not save the object returned by tube_inject_item into the "item1" local variable in filter-injector.lua
2021-02-07 11:58:18 +01:00
HybridDog
17a602a5a1 Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations 2021-02-05 17:17:50 +01:00
Skgland
ba7eb19317
Prevent the symptoms of Issue #33
Try to prevent the crash from issue #33 by
replaving nil velocity or acceleration with (0,0,0).
This does not fix the underlying cause of them being nil,
but should prevent the crash.
2020-12-18 19:28:07 +01:00
Pedro Gimeno
6ad2c9f568 Prevent another crash if minetest crashes during startup 2019-06-06 23:13:53 +02:00
SmallJoker
d19f4fc518 Fix get_pos crash since 92a55c3 2018-07-04 18:58:35 +02:00
SmallJoker
92a55c3985 Replace deprecated Lua function calls 2018-07-03 22:30:44 +02:00
Vanessa Ezekowitz
769dd7fe7b Adjust rate control code to work better
now it'll run at full speed if there's enough time
else it'll throttle back to 1/3.
(at that point, the movement imprecision caused by this
will become hidden behind lag-induced imprecision)
2017-07-03 18:43:03 -04:00
Jordan Irwin
69d994a2a2 Replace deprecated methods: (#179)
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-05-18 05:33:56 -04:00
Vanessa Ezekowitz
8d50c191c8 cap luaentities table entries to valid coords on load
(in case the file gets corrupted on write?)
2017-04-09 03:18:56 -04:00
ForbiddenJ
0056116148 Namespace pollution cleanup (Used list at #154) 2017-04-04 05:27:37 -03:00
Vanessa Ezekowitz
0639bb9706 allow pipeworks to skip server steps when moving entities around. 2017-03-31 18:27:44 -04:00
Novatux
4eeb6950c4 Fix crash when deleting luaentities with //clearobjects. 2015-08-01 16:36:50 +02:00
Novatux
8e642df6a2 Try to fix crash (2) 2015-06-23 19:26:01 +02:00
Novatux
528b21da7f Try to fix crash 2015-06-23 19:16:22 +02:00
Novatux
dada8474fe Revert "fix multiple crash points if luaentity.entities or values returned from"
This reverts commit d0952a97fc.
2015-06-23 19:00:17 +02:00
Vanessa Ezekowitz
d0952a97fc fix multiple crash points if luaentity.entities or values returned from
luaentity.add_entity() are nil
2015-06-23 12:48:20 -04:00
Tim
b54a868c33 chmod -x *.lua 2015-01-29 21:59:35 +01:00
Novatux
5b2e3a44c3 Fix #73 2014-09-12 19:47:43 +02:00
Novatux
17cae3a650 Fix possible race condition crash 2014-08-16 11:16:23 +02:00
Novatux
d5480f5ff0 Major rewrite of items in tubes 2014-08-14 16:22:03 +02:00