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

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Krock » Post

Good to see some activity here again :)

Thanks for fixing all those bugs!
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Megaf
Member
Posts: 99
Joined: Fri Nov 01, 2013 18:00
GitHub: megaf
IRC: Megaf
In-game: Megaf
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Megaf » Post

Hi everyone. I know that some of you were using my fork of mesecons, because it was being maintained and because it had the very nice adition of the mese fences (conducting fence).
I would like you to know that I will no longer maitain my fork of mesecons and I advize you to use Jeija's Mesecons. He is back and have done fantastic job on it.
Mese Fence users worry not! I will keep maitining and developing mese fences on it's own mod!
mese_fence It's a fantastic mod that allow you to build elaborate sings and lamp post, ilumination systems. It depends on mesecons, so use the latest mesecons and mese_fence mod.

Thanks!
Megaf wrote:Hi, I make a fork and added a grey fence that is able to conduct mese signals.
I've done that because we like to use fences to build lamp posts and it would be so much better if fences could conduct electricity.

Also, the conducting fence is a good alternative to vertical mese wires.

I made a pull request already and hopefully Jeija will merge it.

Image

Image

Zeno Effect
Member
Posts: 14
Joined: Tue Nov 25, 2014 22:46
In-game: Zeno_Effect

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Zeno Effect » Post

Wanted to ask how you are suppose to use the command block exactly. I am not sure if it needs to be powered, how you are suppose to write the commands in the block or how it gets triggered (i.e being right clicked, hit or stepped on). Any help with how to use the command block and what I can do with it would be appreciated. :)

Rui
Member
Posts: 261
Joined: Wed Oct 01, 2014 12:59

[DELETED]

by Rui » Post

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 12:45, edited 2 times in total.

User avatar
TheEpicJames
Member
Posts: 634
Joined: Sun Dec 29, 2013 23:05
IRC: TheEpicJames
In-game: Block_Guy
Location: Some grassy area next to a forest, a river and a desert.
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by TheEpicJames » Post

one of the gates does that for you. You don't need a moonlight sensor.
I'm honestly not sure why I had "I like PIE." in my signature when I don't even really like it that much.

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Linuxdirk » Post

TheEpicJames wrote:one of the gates does that for you. You don't need a moonlight sensor.
Having a single node being placed on a lamp that outputs a signal and thus turns on the lamp when it’s night would be great anyways :D

Afton
New member
Posts: 5
Joined: Wed Sep 17, 2014 02:15
GitHub: Aftonone
In-game: Afton

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Afton » Post

So, here is my problem. I love messing with things like this but you can't place a block on another block with a wire on top of it. Is there anyway around this?
Life is short.....eat dessert first!

When people hurt you over and over, think of them like sandpaper. They may scratch and hurt you a bit, but in the end, you end up polished and they end up useless. - Chris Colfer (Actor, singer, 1990-)

Christian Metal rocks!!! \m/

User avatar
LazerRay
Member
Posts: 147
Joined: Sun Jul 27, 2014 01:32
GitHub: LazerRay

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by LazerRay » Post

Anyone know how to program the LUA controller or have good documentation on it?

I trying to use one to make a variable speed, continuous pulse generator. It would use one input rigged to a switch for an on/off toggle and the outputs send pulsing signals to control other items like Pipeworks filter injectors, the speed can be adjusted with it's variable in the code.

Any help with this confusion will be gladly appreciated.

User avatar
mtmodder148
Member
Posts: 132
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by mtmodder148 » Post

LazerRay, here is the tutorial http://mesecons.net/luacontroller/

This might also be helpful http://uberi.mesecons.net/

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Don » Post

Afton wrote:So, here is my problem. I love messing with things like this but you can't place a block on another block with a wire on top of it. Is there anyway around this?
Did you try holding shift when you place it?
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
LazerRay
Member
Posts: 147
Joined: Sun Jul 27, 2014 01:32
GitHub: LazerRay

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by LazerRay » Post

Thanks for that info on programing the LUA controller, I managed to get a working timer running. (I'm not much of a programer myself, so the script is very crude, if anyone knows a good way to clean it up, feel free to) This can be used for anything that requires a pulsing signal to operate it.

Code: Select all

if event.iid == "on" and pin.d then
     port.b = true
     interrupt (0.5, "off")
elseif event.iid == "off" and pin.d then
     port.b = false
     interrupt (0.5, "on")
else
     port.b = false
     interrupt (0.5, "off")
end

I also did find a weird duplication bug with Mese cable and placement of two devices.

Image

Placing a mese cable on top of the switch with a lever on the back of a nearby block causes the cable to change to an insulated one and drop a bare one, but when you break the cable, it becomes a bare one again.

User avatar
mtmodder148
Member
Posts: 132
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by mtmodder148 » Post

LazerRay, that code looks perfect to me. I am just beginning to program lua so someone else might disagree :)

User avatar
LazerRay
Member
Posts: 147
Joined: Sun Jul 27, 2014 01:32
GitHub: LazerRay

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by LazerRay » Post

Feel free to use it in contraptions, that is one of the reasons why I put it there. There are many uses for pulsing timers that can have thier speeds adjusted.

User avatar
mtmodder148
Member
Posts: 132
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by mtmodder148 » Post

Thanks!

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

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Jeija » Post

I sometimes (quite often) hear people complaining how mesecons performance is bad compared to redstone. I need to keep telling them, that the issue is not with mesecons, but with the minetest engine itself.

I made a pull request to engine with a small patch that improves performance (https://github.com/minetest/minetest/pull/1884), so if you want better singleplayer performance for your mesecons, I recommend you to build your own minetest with that patch included.

Here are some videos to demonstrate the big difference this patch makes:
https://www.youtube.com/watch?v=0c-5KvXqxXc
https://www.youtube.com/watch?v=B0YwfGVp3o8

User avatar
mtmodder148
Member
Posts: 132
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by mtmodder148 » Post

Brilliant!

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Nathan.S » Post

Wow, that is excellent. I hope that pull gets merged into trunk soon. I might just start playing with mesecons then.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Linuxdirk » Post

Wow! Is this just a tweak in conjunction with Mesecons or will this improve overall performance of the engine?

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

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Jeija » Post

It will improve any mods that do the kind of node manipulation that mesecons does: Update not very many nodes, but possibly at places far away from the player. It won't improve worldedit or anything like that though.
Mesecons is actually very performant on the server side, but the client just doesn't get updated often enough to make things visible. All this PR does is increase the update rate of nodes in singleplayer mode.

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Hybrid Dog » Post

Somehow l got an enabled piston which doesn't get a mesecons signal:
Image

@LazerRay laser ray? my laser mod has bad looking mirrors in the newest version
Attachments
screenshot_2741003634.png
screenshot_2741003634.png (255.68 KiB) Viewed 4449 times

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by 12Me21 » Post

It would be nice if mesecons could be placed on the sides of blocks, or vertical mesecons could connect along the whole wire, not just the top and bottom plates. Now I usually use mese blocks to transmit power up and down.

Also, the mesecon torch should be another type of plant, since all the other types of power sources are.

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

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Jeija » Post

12Me21, if you want to allow mesecons to be placed at the ceiling and on the floor, you might want to install the wire mod by Novatux. It is not in the main mesecons mod since it seriously slows down game initialization.
https://github.com/Novatux/wires
Image

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by 12Me21 » Post

Hmm.. how many different nodes does that use?

I had an idea for a conductor that would act the same as a MESE block, but would be more economical to use (in survival). It could automatically connect like the pipes in the Pipeworks mod, but instead of transporting stuff, they would act like wires.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by LionsDen » Post

ivalin wrote:The mod is so good . You could create cool things like hidden underground base with the pistons

https://lh5.googleusercontent.com/ez5F1 ... w1246-h520

https://lh6.googleusercontent.com/W2bgj ... w1246-h520

https://lh5.googleusercontent.com/D3aIW ... w1246-h520
Your images aren't coming through, not even when I go to the url inside your image tags. It gives a 403 error and says "Your client does not have permission to get URL from this server. " so you can't link to the direct images there. Maybe there is a setting that will allow it but at the moment, you cant.

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesec

by Hybrid Dog » Post

12Me21 wrote:Hmm.. how many different nodes does that use?

I had an idea for a conductor that would act the same as a MESE block, but would be more economical to use (in survival). It could automatically connect like the pipes in the Pipeworks mod, but instead of transporting stuff, they would act like wires.
you could try the mese_fence mod
https://github.com/Megaf/mese_fence

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests