Commit Graph

44 Commits

Author SHA1 Message Date
sys4-fr
1dab017abe
Fix possible crash and wireless receptors in unloaded map blocks (#22)
Co-authored-by: sys4 <bricassa@sys4.fr>
2021-04-14 16:21:16 +02:00
HybridDog
c41d0371c0 Various code fixes detected by luacheck
* Luablock: Fix the missing position argument when executing the lua code fails
* Wireless: Fix the missing id argument
* Localize several variables
* Some other small changes, e.g. dead code removal
2021-03-08 19:40:21 +01:00
HybridDog
e5cdeef141 Remove unused loop variables 2021-03-07 20:18:18 +01:00
upsilon
182eb9822a
Better fix for #16 2021-03-07 10:40:05 +01:00
upsilon
021100b3d4 Add a setting for disabling the wireless jammer
Fixes #17
2021-03-07 10:25:11 +01:00
upsilon
227cba54b2 Avoid stack overflow using wireless + digilines
Fixes #16
2021-03-07 10:25:11 +01:00
HybridDog
0000cfb474 Remove old vector_extras code and use the MapDataStorage 2020-04-14 08:49:21 +02:00
upsilon
54030d1620
Wireless: transmit digilines messages on all channels 2020-04-11 13:01:17 +02:00
upsilon
be7982a453
Major wireless refactor 2020-04-11 12:45:33 +02:00
upsilon
899ea4aa29
Wireless: remove legacy code. 2020-04-09 19:27:11 +02:00
upsilon
5d29cdce5b
Avoid activating wireless that no longer exist. 2020-04-09 19:21:40 +02:00
upsilon
ce9544d2bf
Remove mod storage checks 2017-06-23 13:47:41 +02:00
upsilon
abe8368e32
Make the mod working with current stable release 2017-05-02 18:11:24 +02:00
upsilon
f44bdbfb36
Remove a debug message 2017-04-27 18:19:16 +02:00
upsilon
ae9935fcca
Wireless: make an "on" version of the wireless node
This avoids self-activating bugs
2017-04-27 18:15:47 +02:00
upsilon
5422017493
Wireless: avoid inserting numerous times same wireless in wireless table 2017-04-27 17:42:59 +02:00
upsilon
b403e6e9ab
Wireless: bugfixes 2017-04-27 17:01:35 +02:00
upsilon
9b61effa60
Attemps to fix a strange server freeze, probably due to the wireless
No debug log...
2017-04-27 15:59:19 +02:00
upsilon
eebb82f48b
Fix unworking wireless when the wireless LBM is enabled 2017-04-22 21:17:06 +02:00
upsilon
23dd415bbe
Wireless: add owners to wireless + optimize ?
Channels are linked together only if the owner is the same.
The mod storage upgrading function is untested.
2017-04-21 13:56:37 +02:00
upsilon
75abcb3077
Add a moremesecons_utils mod to reduce redundant code 2017-04-19 11:08:58 +02:00
upsilon
b9654cca02
Add back registration LBMs, disabled by default. 2017-04-19 10:36:33 +02:00
upsilon
3a6a2e616c
Use mod storage instead of LBMs to revover wireless and teleporter tables 2017-04-17 11:17:09 +02:00
upsilon
676baa4b0b
Check for NaN values in settings 2017-02-11 15:44:53 +01:00
upsilon
795146a83e
Add a settingtypes.txt file 2017-02-11 14:01:20 +01:00
HybridDog
3c99c37f44 fix on_receive_fieldss: check for protection and do not set meta if that field is nil, eg.g because of pressing escape 2016-04-27 18:42:20 +02:00
paly2
e4ed8a50ee Wireless doesn't work if channel is empty. 2016-04-27 14:04:39 +02:00
HybridDog
b16d0d52c2 run lbms everytime the chunks get loaded 2016-04-24 19:15:29 +02:00
HybridDog
a3dfdd1fc2 Revert "Restore ABMs, LMBs seem not to work"
This reverts commit 700c412649.
2016-04-24 19:11:44 +02:00
paly2
700c412649 Restore ABMs, LMBs seem not to work 2016-04-24 14:58:10 +02:00
paly2
d33d256c58 Making wireless digiline-compatible 2016-04-24 14:19:51 +02:00
palige
6619af67f9 Fixing wireless jammer rules 2016-04-23 11:52:15 +02:00
HybridDog
26e1fad5cc use lbm for caching positions for those nodes 2016-03-22 11:41:19 +01:00
HybridDog
1d954c5069 disable catching up for those abms to reduce possibly lag 2015-12-12 17:24:29 +01:00
HybridDog
2d6344f7fe use a nodebox for the jammer
optipng and advpng textures
2015-09-10 22:47:37 +02:00
HybridDog
39fd6136e5 fix wireless digging doesn't disable mesecons at pos 2015-09-10 21:52:49 +02:00
HybridDog
680e21af42 fix wireless pos comparison and update jammer, there might be a possibility to somehow cause a not ending loop 2015-09-10 21:45:08 +02:00
paly2
9938d13412 Add the "wireless jammer" 2015-09-10 18:33:07 +02:00
palige
71ddb8be2a Fix a bug for wireless and teleporter 2015-09-02 12:46:07 +02:00
palige
b44d0d2fbc Fix a bug for wireless 2015-09-01 10:51:53 +02:00
palige
9df8c6be64 Change README.md and fix a bug for teleporter and wireless 2015-08-31 11:25:29 +02:00
palige
f05ac54c3e Change some textures 2015-08-30 11:49:32 +02:00
palige
43fff9844c Add wireless in the creative inventory 2015-08-29 17:55:23 +02:00
palige
a673ceb374 Fix a bug for temporarygate and add Signalchanger 2015-08-28 12:24:33 +02:00