Page 1 of 1

[Mod] Mesecon digicode [0.2] [digicode]

PostPosted: Sat Nov 03, 2012 15:04
by Zeg9
This mod adds a digicode for mesecons, codes can be from 1 number to 4.
When you enter the right code, it sends a short mesecon signal to the block behind it (like a mesecon button).

It is advised to use a protection mod like protector or node ownership, else everyone is able to break it and change the code.
But, if you don't want to use one, please tell me so I make it unbreakable without the right code (or only breakable by the placer).

Crafting:
Image

License: WTFPL (applies to all parts)

Depends: default, mesecons

Screenshot (click for full size):
Image

Download:
v0.2 (for latest mesecons)
v0.1 (for older mesecons)

PostPosted: Sat Nov 03, 2012 15:08
by PilzAdam
Nice!

PostPosted: Sat Nov 03, 2012 15:09
by Zeg9
PilzAdam wrote:Nice!

Thanks :D

PostPosted: Sat Nov 03, 2012 15:29
by Shadowmang
Cool!

PostPosted: Sat Nov 03, 2012 17:07
by Sokomine
Nice mod. Saves quite a lot of space if one wants to do that kind of code input.

PostPosted: Sat Nov 03, 2012 17:23
by Mito551
wow, amazing!

PostPosted: Sat Nov 03, 2012 19:27
by Jeija
Great!
I will put it on the extensions part of the mesecons website if you don't mind. http://mesecon.ohost.de/extensions.php

PostPosted: Sat Nov 03, 2012 21:24
by terminalerror
Awesome. Could you make a letter passcode too?

PostPosted: Sun Nov 04, 2012 08:43
by Zeg9
Jeija wrote:Great!
I will put it on the extensions part of the mesecons website if you don't mind. http://mesecon.ohost.de/extensions.php


Yeah thanks!
EDIT: The digicode on the extension page links to mesecons door :/ It's bad to copy-paste code x)

terminalerror wrote:Awesome. Could you make a letter passcode too?

No, not at the moment. But I could work on it :)

PostPosted: Tue Nov 20, 2012 12:57
by kaeza
Awesome!
A small problem: Is it a bit slow or is it just me?

PostPosted: Tue Nov 20, 2012 16:30
by Zeg9
kaeza wrote:Awesome!
A small problem: Is it a bit slow or is it just me?


You're right, it looks like it's a bit slow;
Maybe this is due to how the formspec change is implemented, I don't think I can do anything for this :/

Are you running a standalone server or singleplayer ?

PostPosted: Tue Nov 20, 2012 17:27
by OryHara
hey its 0.1 guys, dont expect insta light speed from a new mod, lol. everything new has its glitches

PostPosted: Tue Nov 20, 2012 18:12
by kaeza
Single player.
I'm not complaining. The digicode is awesome.

terminalerror wrote:Awesome. Could you make a letter passcode too?


This could be cool too, but if you plan to do it, use a different object/node/whatever, and let the number keypad as it is.

Also as I see, the whole idea of the keypad is the UI. I mean, you could implement it as fast as possible if you just used a textbox, but it wouldn't be the same :)

PostPosted: Wed Nov 21, 2012 02:09
by Josh
Cool! Now we can protect our bases with secret codes :D

PostPosted: Wed Nov 21, 2012 11:02
by pandaro
Nice! Very usefull!

PostPosted: Wed Nov 21, 2012 17:45
by sfan5
Awesome Mod!

PostPosted: Thu Jan 31, 2013 20:40
by BZab
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
21:39:53: ERROR[main]: ServerError: LuaError: error: ...ome/bartek/.minetest/mods/minetest/digicode/init.lua:60: attempt to call field 'button_get_rules' (a nil value)

PostPosted: Sat Mar 09, 2013 14:08
by Zeg9
v0.2 is out, this one works with latest mesecons and fixes "attempt to call field 'button_get_rules' (a nil value)".

PostPosted: Thu Apr 11, 2013 22:39
by lordcirth
FYI, I have modified the digicode into a new item:
http://forum.minetest.net/viewtopic.php?pid=83391#p83391
Feedback welcome.