Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-19 | Improve and clean up luacontroller digiline_send on globalstep feature | Jeija | |
2014-03-16 | Merge branch 'digiline-non-reentrant' of ↵ | Jeija | |
https://github.com/CiaranG/minetest-mod-mesecons into CiaranG-digiline-non-reentrant Conflicts: mesecons_luacontroller/init.lua | |||
2014-03-16 | Merge pull request #152 from CiaranG/timer | Jeija | |
Add timer() function/event (node timer based) to luacontroller | |||
2014-03-11 | Add timer() function/event (node timer based) to luacontroller | Ciaran Gultnieks | |
This adds a timer(<seconds>) function, which causes an event of type "timer" to be fired after that many seconds has elapsed. Because it's node timer based, it works properly across server restarts and block unloading. Thus, simplest example, a blinky plant replacement with a 10 second period: if event.type == "program" then timer(10) elseif event.type == "timer" then port.a = not port.a timer(10) end | |||
2014-03-11 | Handle luacontroller formspec events correctly | Ciaran Gultnieks | |
Example of problem fixed by this: Edit lua code, press Execute. Now (execute button has focus), hold down a key. Zillions of "program" events are generated. | |||
2014-03-11 | Send digiline messages after luacontroller execution | Ciaran Gultnieks | |
In the same way as for port settings, this queues up digiline messages sent during the luacontroller's execution, and sends them afterwards. This solves many problems, but one example: 1. Send a message, and receive a reply from another device. 2. While handling the reply event (effectively a nested invocation on the same luacontroller) make a change to memory 3. Notice that the memory change has no effect, because after completion of the reply handling, it stores the memory, but then the original invocation completes and overwrites it with it's own earlier copy of the same memory. | |||
2014-02-16 | Add missing string.upper to luacontroller | Ciaran Gultnieks | |
2014-01-11 | Try to fix gateswith serverstep code. | Novatux | |
2013-12-18 | Change field receipt handling to work properly with Minetest 0.4.8. | Uberi | |
2013-11-30 | Update code to standards of Minetest 0.4.8. | Uberi | |
2013-11-30 | Use minetest.swap_node() instead of mesecons' version, Minor code changes | Vanessa Ezekowitz | |
here and there to facilitate this. | |||
2013-08-27 | Merge pull request #112 from khonkhortisan/multi_rules | khonkhortisan | |
Multi rules Merged for near-future textures to be merged cleanly. | |||
2013-06-22 | Merge remote-tracking branch 'refs/remotes/origin/master' | Anthony Zhang | |
2013-06-22 | Descend µ in comment | khonkhortisan | |
2013-06-20 | Crossover | khonkhortisan | |
2013-06-10 | Support cyclic references in luacontroller memory tables, prohibit usage of ↵ | Anthony Zhang | |
goto statement (bugs reported by Nore). | |||
2013-06-06 | Fix bug where functions in Luacontroller EEPROM crashes the server (fixes #107). | Anthony Zhang | |
2013-06-05 | Add an ABM function which resets heat to 0, since gates/controllers won't be ↵ | Novatux | |
cooled normally if they are moved (piston, etc...) during the cooling delay. | |||
2013-05-21 | Silly mistake, interrupts should work better now. | Anthony Zhang | |
2013-05-15 | Add burnt luacontroller (so you don't lose your program after an overheat) ↵ | Anthony Zhang | |
and prevent interrupts from piling up (fixes #101, metadata trashing). Idea for burnt luacontroller comes from ShadowNinja. | |||
2013-04-01 | Experimental fix for issue #85 by removing ignored ports from the luacontroller | Jeija | |
2013-03-26 | Add table.* to luacontroller sandbox | Jeija | |
2013-03-23 | Explicit tables of luacontroller environment. | Anthony Zhang | |
2013-03-23 | Add math library to luacontroller, and make sure to copy stuff so code can't ↵ | Anthony Zhang | |
get out of the sandbox. | |||
2013-03-15 | Avoid corrupting metadata. | Anthony Zhang | |
2013-03-15 | Use formspec_escape when available. | Anthony Zhang | |
2013-03-15 | Avoid borking the luacontroller if the code uses square brackets. When the ↵ | Anthony Zhang | |
next stable MT is released, uncomment the formspec_escape call to take advantave of formspec escaping. | |||
2013-03-06 | Digging and footstep sounds for everything that needs them! Plus, pushing ↵ | Anthony Zhang | |
buttons, punching switches, and flipping levers all make sounds. | |||
2013-02-19 | More distinguishable inventory image for the luacontroller (not wield | Jeija | |
item, just top) | |||
2013-02-12 | Fix a dumb bug that conflicted with different things in the luacontroller | Jeija | |
2013-02-12 | Fix odd behaviour when using interrupts in the luacontroller | Jeija | |
2013-02-10 | LuaController: Queue setting the ports (wait for pending operations) | Jeija | |
2013-01-22 | Add tostring, tonumber, string to luacontroller, prohibit 'function' | Jeija | |
2013-01-22 | Bugfix for the luacontroller that occured when two events occur at the | Jeija | |
same time (output connected to input). The behaviour of the controller can now be described this way: The luacontroller sets port A, then B, then C, then D; if it is interrupted by another event during that time it stops and let the second event do the job. | |||
2013-01-20 | Lots of bugfixes concerning the luacontroller | Jeija | |
- Bug when using NOT-Gates - Moved error label a little downwards - On digiline event, msg and channel are now in event.*, not in event.iid.* | |||
2013-01-19 | Fix Bug: Wrong usage of action_on/action_off instead of action_change | Jeija | |
2013-01-19 | Add support in luacontroller for a not yet released mod called 'digilines' | Jeija | |
2013-01-19 | Remove unused variable | Jeija | |
2013-01-19 | Texture the LuaController formspec | Jeija | |
2013-01-14 | Bugfixes and improved stability of the luacontroller | Jeija | |
2013-01-13 | Implement interrupt(time, iid): The whole code is called again after a | Jeija | |
certain amount of time. Whenever it is called, an event is set. Possible events are: program, interrupt, on and off It also contains additional information (on/off -> event.in; interrupt -> event.iid) iid must be an integer or string value, otherwise the interrupt is not active | |||
2013-01-13 | Implement a memory for the controller (accesible via mem.) and cleanup code | Jeija | |
Based on PilzAdam's code. | |||
2013-01-13 | Add luacontroller, a microcontroller that you can code in lua. | Jeija | |
It still misses some functionality such as a persistent memory and a timer, but that is subject to change. The code runs in a sandbox. Speaking long term this will hopefully replace the old controller. |