[Mod] Mesecon digicode [0.2] [digicode]

Post Reply
User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

[Mod] Mesecon digicode [0.2] [digicode]

by Zeg9 » Post

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)
Last edited by Zeg9 on Wed Mar 13, 2013 08:10, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Nice!

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

PilzAdam wrote:Nice!
Thanks :D
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
Shadowmang
Member
Posts: 10
Joined: Mon Oct 22, 2012 17:05

by Shadowmang » Post

Cool!

Sokomine
Member
Posts: 4184
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Post

Nice mod. Saves quite a lot of space if one wants to do that kind of code input.
A list of my mods can be found here.

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

wow, amazing!

User avatar
Jeija
Member
Posts: 686
Joined: Fri Dec 23, 2011 21:46
Location: Nürtingen, Germany

by Jeija » Post

Great!
I will put it on the extensions part of the mesecons website if you don't mind. http://mesecon.ohost.de/extensions.php
Redstone for minetest: Mesecons (mesecons.net)

User avatar
terminalerror
Member
Posts: 33
Joined: Tue Oct 30, 2012 22:46
Location: The Sar-Chasm

by terminalerror » Post

Awesome. Could you make a letter passcode too?
ERROR[main]: ModError: Failed to load and run a sarcastic remark.

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

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 :)
Last edited by Zeg9 on Sun Nov 04, 2012 08:46, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Awesome!
A small problem: Is it a bit slow or is it just me?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

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 ?
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
OryHara
Member
Posts: 25
Joined: Sun May 06, 2012 04:20

by OryHara » Post

hey its 0.1 guys, dont expect insta light speed from a new mod, lol. everything new has its glitches

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

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 :)
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Cool! Now we can protect our bases with secret codes :D

User avatar
pandaro
Member
Posts: 323
Joined: Sun Jan 08, 2012 21:34
GitHub: pandaro
Location: behind

by pandaro » Post

Nice! Very usefull!
sorry for bad english
Linux debian 7 wheezy 64
kde

User avatar
sfan5
Moderator
Posts: 3963
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Awesome Mod!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
BZab
Member
Posts: 126
Joined: Mon Jan 28, 2013 10:04
Location: Poland

by BZab » Post

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)

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

v0.2 is out, this one works with latest mesecons and fixes "attempt to call field 'button_get_rules' (a nil value)".
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
lordcirth
New member
Posts: 9
Joined: Tue Apr 09, 2013 23:51

by lordcirth » Post

FYI, I have modified the digicode into a new item:
http://forum.minetest.net/viewtopic.php ... 391#p83391
Feedback welcome.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests