Commit Graph

854 Commits

Author SHA1 Message Date
SmallJoker
bfd952b51a
Delayer: Combine shared definitions, add protection (#490) 2019-11-04 20:00:43 +01:00
HybridDog
b7873e8e02 Code tidy: Remove redundant params (#486) 2019-10-05 14:13:59 +02:00
fluxionary
d6b2a39c99 Set mvps_protection_mode default to the documented value (#484, base: #466) 2019-09-24 17:25:07 +03:00
Vitaliy
1b54011b68 Use table.copy in mesecons.tablecopy
mesecons.tablecopy didn’t support recursive tables, while Minetest table.copy works well for them.
2019-09-23 19:50:04 +02:00
Vitaliy
15e743629e
Respect protection in MVPS (#466) 2019-09-20 23:04:52 +00:00
Panquesito7
1bf862f932 Use modpack.conf instead of legacy modpack.txt (#475) 2019-08-25 23:36:21 +03:00
coil
1a9704f184 Add digiline commands for operating node detector (#472) 2019-08-21 23:52:33 +03:00
Hugo Locurcio
8baa789eb1 Optimize images (#464)
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
Piotr Halama
b0158f5674 Too many glasses in noteblock 2019-04-10 23:00:58 +02:00
DS
073c92d487 Revert "Fix sticky pistons (#403)" (#458)
This reverts commit d8f82e6771dc21122a59b3f65dbeb102dab2c372.
2019-03-17 10:29:04 +01:00
Thomas Rudin
737f366741 LuaC: add lightweight interrupts (#449) 2018-12-29 23:48:32 +03:00
Christopher Head
302a28934d Document inactive block behaviour (#447) v1.2.1 2018-12-21 22:10:08 +03:00
Vitaliy
6e767a6c76
Make sticky piston stick falling things as well (#436) 2018-12-21 22:02:57 +03:00
Christopher Head
9d239cbfff Fix typos (#442) 2018-12-09 16:38:23 +03:00
number Zero
d3cabedbb0 Prevent long error message from covering the button 2018-12-09 13:59:49 +01:00
ne-vlezay80
df4e880d8b Fix crash in microcontroller (#439)
Add check nil var with bug from crash server.
fixes #438
2018-11-06 09:48:44 +01:00
Vitaliy
45bbd9f7e3
Don’t damage unloaded blocks (#435) 2018-10-29 23:58:07 +03:00
luk3yx
028c290cd7 Mark 'code' as private as well
Saves on bandwidth, however the code is still accessible via the formspec.
2018-09-18 13:01:18 +02:00
luk3yx
8808bb8911 Mark LuaController memory as private
If LuaControllers handle sensitive information, hacked clients could get this information from the LuaController. Marking the memory as private fixes this and saves a small amount of bandwidth.
2018-09-18 13:01:18 +02:00
Vitaliy
fa040eb085
Fix vertical movestone textures (#430) 2018-09-09 00:35:15 +03:00
number Zero
a4f5ae5b89 Remove tiny (+0.001) selection box oversize 2018-09-07 17:31:49 +02:00
number Zero
9e6eac4285 Make insulated wires’ selection box fit in the node 2018-09-07 17:31:49 +02:00
Vitaliy
c73b451f9b
Update wiki links (#432)
wiki.minetest.net is the official Minetest wiki
2018-08-29 00:45:46 +03:00
DS
9ff2329253 Noteblock: use new fire sounds (#385) 2018-08-26 23:13:47 +03:00
sfan5
444cd0f2f1 Replace usage of default.LIGHT_MAX with minetest.LIGHT_MAX
It was moved a long time ago and the former is not guaranteed to be available.
fixes #424
2018-07-24 21:30:04 +02:00
Vitaliy
d4e05f33af
Fix Luacontroller’s print() (#422)
Because of working inside the sandbox, it was unable to print tables.
v1.2
2018-07-23 15:53:32 +03:00
Jordan Irwin
334400a541 Add 'settingtypes.txt' (#350) 2018-07-23 15:48:34 +03:00
SmallJoker
5a0492b176 Check protection on microcontroller programming (#420)
Also, fix globals assignment.
2018-07-23 14:00:59 +03:00
Christopher Head
f61b1affea Let things fall behind movestones (#421)
* Let things fall behind movestones
2018-07-23 13:14:05 +03:00
Vitaliy
a234006592
Fix mesecon receiver duplication (#419) 2018-07-21 10:42:24 +03:00
beyondlimits
12fb09f452 Fix crash when error()ing an invalid value on programming (#418) 2018-07-18 22:49:34 +03:00
Vitaliy
ff73d0e60f
Merge pull request #401 from Wuzzy2/sfx
Add missing sound effects and fix wrong pressure plate sounds
2018-07-18 01:37:45 +03:00
rubenwardy
7013f2e5d4
Add screenshot.png 2018-05-15 20:21:33 +01:00
AntumDeluge
f70a308bb0 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2018-03-25 22:05:10 +02:00
Eduardo Trápani
d8f82e6771 Fix sticky pistons (#403)
Fixed method name to get the position.
2018-02-15 11:47:24 +01:00
DS
7537b9f381 Use rotate_simple for insulated wires (#382) 2018-01-30 21:47:03 +03:00
Wuzzy
5ae3354227 Change hydroturbine sound to metal 2018-01-28 21:22:09 +01:00
Wuzzy
1b513d2111 Fix sounds of pressure plates, change groups 2018-01-28 21:14:54 +01:00
Wuzzy
6f1ff24474 Add sounds for wires and piston heads 2018-01-28 20:56:42 +01:00
20kdc
065e870349 Improve LuaController security (#393)
Fixes:
1. Lack of 'safe' on minetest.deserialize usage
2. String sandbox bypass via (""):evil()
3. Loss of upcoming digilines messages on server shutdown
4. LCs failing to show information on some errors
5. Interrupt IDs as infinite data storage
2018-01-22 14:26:21 +03:00
Wuzzy
fec82ab246 Sticky block: Add texture, sounds and groups (#397) 2018-01-18 22:01:53 +03:00
CloudyProton
02f8d29170 Microcontroller craft fallbacks for detectors (#390)
Register both luacontroller and microcontroller variations of detector craft recipes.
2018-01-14 23:21:43 +03:00
Christopher Head
2b096f050d Limit and optimize digiline_send (#379)
* Close vulnerability and optimize digiline_send

`digiline_send` as it previously existed was vulnerable to a
time-of-check-to-time-of-use vulnerability in which a table could be
sent, size-checked, and then modified after the send but before
delivery. This would allow larger tables to be sent. It was also slow
because it called `minetest.serialize`. Fix both of these by
implementing custom message cleanup logic which simultaneously computes
the message’s cost.

* Clean up interaction with Digilines

Use `minetest.global_exists` to avoid an undefined global variable
warning when operating a Luacontroller with Digilines not available. Use
the new `digilines` table in preference to the old `digiline` table.

* Copy received messages

When a Digiline message is received at a Luacontroller, copy it so that
local modifications made by the Luacontroller code will not modify
copies of the table that are being passed to other nodes on the Digiline
network.
2018-01-13 22:27:00 +03:00
DS
993fdedd8c Check for falling after piston pusher removal (#392) 2018-01-07 01:32:15 +03:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
DS-Minetest
db39eef2f6 Make the fpga overheat 2017-10-29 21:19:08 +01:00
number Zero
f78937b351 Fix typo 2017-10-21 17:05:09 +03:00
Vitaliy
cc860acf8a Publish some LuaC API (#348) 2017-10-18 22:54:28 +03:00
DS
748446b3cc MVPS: pull objects (#374) 2017-10-18 22:53:22 +03:00
DS
1b10610f92 Check for falling nodes on MVPS move (#371) 2017-10-18 22:40:25 +03:00