[Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Sat Apr 20, 2013 15:26

Nice idea. :)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Apr 20, 2013 22:47

Temperest wrote:Builders rejoice! Mesecons wire now has a larger selection box, making building above the ground much easier.

Image
But that means i will mistakenly place it more in the wrong spot
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri May 24, 2013 18:59

It would be cool if there was a liquid crystal block, that is normally clear but turns dark grey when it receives power from a mesecon.
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Sat May 25, 2013 17:17

Try Ghoststone for that. It turns completely invisible when powered.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed May 29, 2013 14:43

I noticed some unused textures in the textures folder in mesecons. Things like inverters, sockets, and such. Are those features that are/were going to be added?
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Wed May 29, 2013 16:44

They already exist, but are not in the default distribution. For plugs, sockets, and inverters, you will need Mesecons-extension-temperest, available at the downloads page at Mesecons.net. This particular one is not available for a reason though: using it incorrectly will crash the server, and unfortunately this is not fixable without compromising on it being instantaneous.

The battery extension is not included by default because it does not fit quite perfectly with the mechanics of Mesecons, since it implies a power and electricity based metaphor, which is not the case.

We can't change it because texture packs rely on the textures staying in the same place throughout versions.
Last edited by Temperest on Wed May 29, 2013 16:45, edited 1 time in total.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed May 29, 2013 17:52

Temperest wrote:They already exist, but are not in the default distribution. For plugs, sockets, and inverters, you will need Mesecons-extension-temperest, available at the downloads page at Mesecons.net. This particular one is not available for a reason though: using it incorrectly will crash the server, and unfortunately this is not fixable without compromising on it being instantaneous.

The battery extension is not included by default because it does not fit quite perfectly with the mechanics of Mesecons, since it implies a power and electricity based metaphor, which is not the case.

We can't change it because texture packs rely on the textures staying in the same place throughout versions.

The reason I was wondering, was because I was making a personalized texture pack for myself, and noticed that there were extra textures. Thanks for the info.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Wed Jun 05, 2013 20:10

Quick update on development, newest to oldest news:

  • Pistons make sounds when extending or retracting.
  • Pipelining support: Mesecons receptors now work based on ticks, at around 20 ticks per second. That means a slight delay is now introduced whenever you use a receptor, around 0.05 seconds usually.
  • Yellow lightstone! Craft it with a MESE crystal fragment as the coloring item.
  • Luacontrollers don't drop when overheating now - they turn into "burnt luacontrollers" that still have all their metadata, so you don't lose your work! Just press the Program button again to re-enable it.
  • Pressure plates and vertical wires should look better.

There's no new stable release, but as always, you can download the very latest code here, it's quite stable as it is.
Last edited by Temperest on Wed Jun 05, 2013 20:11, edited 1 time in total.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Thu Jun 06, 2013 17:35

I just discovered a way to segfault the server, using luacontroller:
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
mem.i=string.sub

This puts a function in the mem table, and segfault the server when mem tries to be serialized.
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Thu Jun 06, 2013 20:40

Fixed! See here for reference.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Fri Jun 07, 2013 14:06

Now I have other code that crashes it (with the bugfix):
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
mem.i={}
mem.i[0]=mem.i


This causes a recursive structure to be created, and minetest crashes (stack overflow) when trying to remove all functions in it, since the function to do that calls itself recursively endlessly.

EDIT:
It is moreover possible to make loops using luacontroller, using the goto keyword:
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
i=0
::b::
if i<100 then
    i=i+1
    print(i)
    goto b
end
Last edited by Nore on Fri Jun 07, 2013 14:44, edited 1 time in total.
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Mon Jun 10, 2013 20:42

Nice catch! I didn't realize goto had made it in yet. The cyclic references crash was also fixed, again thanks to your bug hunting.

Servers, please upgrade Mesecons as soon as possible to avoid possible crashes when Luacontrollers are available to griefers.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Thu Jun 13, 2013 20:06

Read this http://forum.minetest.net/viewtopic.php?pid=94525#p94525. Also, I don't know how to code in lua :(
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Thu Jun 13, 2013 20:30

VoidLord: thanks for the feedback. Here's what I think:

VoidLord wrote:How about a better redstone alternate? That's the reason I got into this stuff. With mesecons there is no slight delay that allows stuff to happen, such as with the torches, those don't recieve signals quick enough.


Torches have a 1 second delay and yes, I agree that they are not great for making timing-sensitive stuff. Instead, try Delayers or Luacontrollers or Microcontrollers. They all have adjustable delays and very reliable timing capabilities.

VoidLord wrote:Another problem is that you can't power blocks with mesecons, so you can't, for exmple, hide complex circuitry in plain sight.


There is unfortunately no simple way of doing this. To use your example, redstone does not simply conduct all over the place with normal blocks; it needs dust/repeaters/torches/etc. to function correctly. The same goes for mesecons. If want to transmit signals over a small (1 meter) distance without any visible wires, just like redstone, the mesecon torch is probably what you want.

VoidLord wrote:Basically, I want to be able to make this a piston elevator or a zipper elevator without having to use microcontrollers or lua controllers, 'cause the first takes too long and I don't know how to use the second.


Takes too long to execute or to program? Microcontrollers work very quickly - one server tick, in fact. Luacontrollers work in much the same way, but is the more advanced cousin of the Microcontroller and is much more powerful. It is programmed in Lua, by the way; check out this tutorial if you want to learn how it works: http://mesecons.net/luacontroller/

VoidLord wrote:Also, I'd like the "power noticing range" to be more like minecraft's for the torches. If I should put this in the mesecons place someone tell me, 'cause I didn't know where to put it.


What is a "power noticing range"? If you meant the signal transmission distance, it is generally 1 meter for most items, and 2 for special items such as pressure plates, buttons, levers, and torches.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Thu Jun 13, 2013 20:55

For B) Yeah, I know about redstone. Too bad. For C) I meant it took too long to program. Also, I checked the page once before and think the problem lies knowing the structure of the game and how to use "."s correctly, mainly a problem about knowledge of functions. For D) I think it was a problem w/powering the blocks, but I meant the blocks around the node that are powered as a result. In general: Personally, I just want to play w/o digilines and luacontrollers and microcontrollers becase it's like a shortcut to me, and it removes the beauty of being able to see it work in action (not to say that I don't use microcontrollers :P). BTW, do you think it possible to make a BUD switch?
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Thu Jun 13, 2013 21:31

Personally I find that Luacontrollers work best if you have a basic knowledge of the Lua programming language already before programming things. At first, I found the whole controllers thing a bit overpowered, but eventually I found that the incredible new things we can do with them definitely outweigh the elegant but humongous machines we had before.

In fact, I find myself missing my old worlds sometimes:

Image

Today, that can be built with 3 Luacontrollers. An entire computer in Mesecons is now trivial!

BUD switches aren't really possible since there's no block updates, and therefore nothing to detect. I suppose you might have a block that triggers on nodeupdate, but that seems a bit hacky to me.

I highly recommend learning Lua anyways, since once you do, you also know the same language that Minetest mods are written in! And the programming skills that you get are invaluable in many more area than just games.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Thu Jun 13, 2013 23:02

I know. I'm reading a C++ book, and frankly I'm apt to point out that declaring a parameter for a function so that it recieves adresses doesn't make sense, AKA
void f(int &a , int &b)
In any case, I guess i'm stuck w/what i've got. Thanks anyway.
Last edited by VoidLord on Thu Jun 13, 2013 23:03, edited 1 time in total.
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Fri Jun 14, 2013 05:09

If you want to understand how mesecons components work, you can try to download contraptions from the mesecons competionhttp://forum.minetest.net/viewtopic.php?id=5285, since there are luacontrollers, computers built without luacontrollers/microcontrollers, etc. However, those circuits were done before the small delay was added, thus they may not work perfectly.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Fri Jun 14, 2013 20:57

Wait, for some reason the MESE block isn't conducting at all, no matter what I try. What should I do?
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Ragnar6645
New member
 
Posts: 7
Joined: Sat Jun 15, 2013 01:47

by Ragnar6645 » Sat Jun 15, 2013 02:09

Hey all, just out of curiosity has anyone thought of electromagnets? I didn't look through all 49 pages and I really don't want to either so just thought I would ask.

If nobody has thought of this then please let me know as I have a detailed explanation of how they could work as far as funtionality goes that I am writing up so I don't forget, just encase lol
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Sat Jun 15, 2013 04:32

VoidLord: the MESE block conducts only from directly adjacent faces, i.e., no diagonals. It will change colours to be slightly brighter when on. Only receptors that conduct to that side will turn on.

See the article "Mesecons Basics" in my post signature for a detailed description of the MESE block as a conductor, with plenty of pictures of course. Or visit the page directly: http://uberi.mesecons.net/projects/MeseconsBasics/index.html

Ragnar6645: what would that do? Some more information would be nice.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

Ragnar6645
New member
 
Posts: 7
Joined: Sat Jun 15, 2013 01:47

by Ragnar6645 » Sat Jun 15, 2013 05:48

Temperest wrote:Ragnar6645: what would that do? Some more information would be nice.

Sorry, I am in the middle of writing up the details in a text document but I'm making sure my understanding of magnetism is as correct as I can so that I can make the idea as coherent as possible.

As an example they could be used as a means to pull iron based items or natural magnets that are dropped or placed to them, or to repel natural magnets from them.

Some things that you could make with these are platforms that could be used as elivators or gathering point for easy iron mining and much more.

I will post the text document's contents here or something when I'm done writing it.
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Sat Jun 15, 2013 05:57

VoidLord: Are you sure that mesecons_extrawires is enabled? Check whether you have insulated wires.

Ragnar6645: It looks like a good idea... I want to know more about it!
 

Ragnar6645
New member
 
Posts: 7
Joined: Sat Jun 15, 2013 01:47

by Ragnar6645 » Sat Jun 15, 2013 06:22

Nore wrote:Ragnar6645: It looks like a good idea... I want to know more about it!

Thank you, I want to make sure the idea is as whole and coherent as I possibly can before I post it so it won't be done untill at least tomarrow. I will post it as soon as I have it finnished.
Last edited by Ragnar6645 on Sat Jun 15, 2013 06:23, edited 1 time in total.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Sat Jun 15, 2013 12:01

Yes Nore, I do have extrawires on because I do have insluated wires working. I checked the file and it should be working from the init.lua (basically a bunch of dofiles). I don't know why it shouldn't work, even though everything else is. Maybe it is being masked by the default pack?
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Sat Jun 15, 2013 12:17

Are you sure you use a mese block and not mese crystal in stone? And are you sure you do not use diagonals? Moreover, have you other mods enabled? And have you got insulated corner/t-junction and vertical wires?
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Sat Jun 15, 2013 12:51

Yes, yes, yes but nothing that modifies MESE, and yes.
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Sat Jun 15, 2013 14:25

Can you post your world here, or a WorldEdit schematic of the offending circuit? Or a screenshot would work too, I guess.

Also, which mods do you have installed? Which game is your world running on?

Ragnar6645: that does sound pretty interesting, and fits with Mesecons quite well I'd think.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07

by VoidLord » Sat Jun 15, 2013 14:31

How do I get a screeshot? Better hurry, my mom's angry.
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Jun 15, 2013 14:32

VoidLord wrote:How do I get a screeshot? Better hurry, my mom's angry.


If you mean in-game screenshots, press F12.
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 19 guests

cron