Search found 4 matches

by Quackor
Tue Nov 26, 2013 00:16
Forum: Mod Releases
Topic: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Replies: 1874
Views: 545732

OK, a simpler example... even this code will not work for me and result in node C blinking crazy and eventually overheating.

Code: Select all

interrupt(1, "loop")
if event.iid == "loop" then
port.c = not port.c
end
what gives?
by Quackor
Sun Nov 24, 2013 23:26
Forum: Mod Releases
Topic: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Replies: 1874
Views: 545732

I'm trying to have one of my outputs send a signal for half a second every 5 seconds or so... this code runs but slowly gets crazier and crazier (as in the port outputs more often, until it overheats... am I missing something fundamental here?) interrupt(0.5, "loop") if mem.count == nil th...
by Quackor
Sun Nov 24, 2013 23:24
Forum: Feature Discussion
Topic: Troublesome luacontroller loop
Replies: 2
Views: 1095

PilzAdam wrote:I guess this would fit better into the mesecons topic.
Directing all mod-related questions into a single topic seems messy... maybe it would be useful to have a forum section dedicated to mod functionality? not sure :/ I'll respost this in the messecons topic just in case.
by Quackor
Sun Nov 24, 2013 23:12
Forum: Feature Discussion
Topic: Troublesome luacontroller loop
Replies: 2
Views: 1095

Troublesome luacontroller loop

I'm trying to have one of my outputs send a signal for half a second every 5 seconds or so... this code runs but slowly gets crazier and crazier (as in the port outputs more often, until it overheats... am I missing something fundamental here?) interrupt(0.5, "loop") if mem.count == nil th...