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

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Gerald wrote:
Serh Arien wrote:Hi everyone,
I just want to know if it possible to set a block in a position with the command block ?
And to "delete" it with the command block to

Thanks :)
A command block does the same as typing commands in chat.
I think you need worldedit to have block changing commands.

So it's possible ( with WE)

The goal is the player press a buttom, who will activate the command block.

The player musn't do anithing with the chat

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote:
Gerald wrote:
Serh Arien wrote:Hi everyone,
I just want to know if it possible to set a block in a position with the command block ?
And to "delete" it with the command block to

Thanks :)
A command block does the same as typing commands in chat.
I think you need worldedit to have block changing commands.

So it's possible ( with WE)

The goal is the player press a buttom, who will activate the command block.

The player musn't do anithing with the chat
It should work.
If the sort of the block is unimportant you can also use the ghoststone.
Moreover, just moving blocks can be done using pistons.
If you really need a special block and want it to appear and disappear completly, you can use worldedit. Command to select an area: //fixedpos set1 x y z //fixedpos set2 x y z

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

[/quote]

It should work.
If the sort of the block is unimportant you can also use the ghoststone.
Moreover, just moving blocks can be done using pistons.
If you really need a special block and want it to appear and disappear completly, you can use worldedit. Command to select an area: //fixedpos set1 x y z //fixedpos set2 x y z[/quote]

As i don't know if you understood exactly what i want to do, their is an exemple : ( go to 1'05'') the iron bar
: https://www.youtube.com/watch?v=dmTbhrm6Abs

In fact, i can't do what i want with piston i NEED it invisible :D

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote:
As i don't know if you understood exactly what i want to do, their is an exemple : ( go to 1'05'') the iron bar
: https://www.youtube.com/watch?v=dmTbhrm6Abs

In fact, i can't do what i want with piston i NEED it invisible :D
I have another idea: the technic:constructor can place and remove 4 blocks in a row. Just use one constructor per level.

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Then, i have to download the technic mod?

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote:Then, i have to download the technic mod?
Yes.

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Gerald wrote:
Serh Arien wrote:Then, i have to download the technic mod?
Yes.

Ok ok, i tried it but as you can see, i don't have enaught place to the mesecons
salle du tresor bon.png
salle du tresor bon.png (410.1 KiB) Viewed 602 times
thanks for your helped

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote: Ok ok, i tried it but as you can see, i don't have enaught place to the mesecons
salle du tresor bon.png
thanks for your helped
The place is a problem. Ghoststone, Pistons and Constructor drop out, because of appearance.

Commandblocks + Worldedit will still work.

Another idea are gate controllers:
viewtopic.php?f=9&t=9897&hilit=gate+controller
You will have to use multiple ones to close the door step by step.

Finally, you can use commandblocks and a command defined in an own mod.
Important methods:
-minetest.register_chatcommand("command", data)
-minetest.set_node(pos, node)

Iron bars can be a problem, because they will not connect correctly depending on the method you will chose.

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Gerald wrote:
Serh Arien wrote: Ok ok, i tried it but as you can see, i don't have enaught place to the mesecons
salle du tresor bon.png
thanks for your helped
The place is a problem. Ghoststone, Pistons and Constructor drop out, because of appearance.

Commandblocks + Worldedit will still work.

Another idea are gate controllers:
viewtopic.php?f=9&t=9897&hilit=gate+controller
You will have to use multiple ones to close the door step by step.

Finally, you can use commandblocks and a command defined in an own mod.
Important methods:
-minetest.register_chatcommand("command", data)
-minetest.set_node(pos, node)

Iron bars can be a problem, because they will not connect correctly depending on the method you will chose.

gate controller is a good idea to

For a mod, i can't do it because i don't know anithing about modding/codding...
Is their a place to ask it to someone

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Serh Arien wrote:
Gerald wrote:
Serh Arien wrote: Ok ok, i tried it but as you can see, i don't have enaught place to the mesecons
salle du tresor bon.png
thanks for your helped
The place is a problem. Ghoststone, Pistons and Constructor drop out, because of appearance.

Commandblocks + Worldedit will still work.

Another idea are gate controllers:
viewtopic.php?f=9&t=9897&hilit=gate+controller


I try it and...
Thanks tou ! it work !
You will have to use multiple ones to close the door step by step.

Finally, you can use commandblocks and a command defined in an own mod.
Important methods:
-minetest.register_chatcommand("command", data)
-minetest.set_node(pos, node)

Iron bars can be a problem, because they will not connect correctly depending on the method you will chose.

gate controller is a good idea to

For a mod, i can't do it because i don't know anithing about modding/codding...
Is their a place to ask it to someone

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote: For a mod, i can't do it because i don't know anithing about modding/codding...
Is their a place to ask it to someone
I think there is no place like that. Moreover the mod i have in mind would be very specific and not very usefull to somebody else. I think the worldedit solution will be easier.

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Gerald wrote:
Serh Arien wrote: For a mod, i can't do it because i don't know anithing about modding/codding...
Is their a place to ask it to someone
I think there is no place like that. Moreover the mod i have in mind would be very specific and not very usefull to somebody else. I think the worldedit solution will be easier.
Tnaks for every things you did, gate conttroller work as i looked for.
You save the map !

( let me do a last request, do you know how to do a timer ? because i'm afraid that using delayer from mesecon should lag ( i need do use 120 of them...))
I didn't found anithing about it so i ask you)


Thanks you so much fo your help, i love you ;)

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Serh Arien wrote: ( let me do a last request, do you know how to do a timer ? because i'm afraid that using delayer from mesecon should lag ( i need do use 120 of them...))
I didn't found anithing about it so i ask you)

Thanks you so much fo your help, i love you ;)
You can use a Mesecons:Luacontroller with something like the following code (i have not tested it):

Code: Select all

Interrupt(1) --executes the programm every second 
if (event.type == "on" and event.pin.name == "A") then --if signal at A
   port.b = true --start counting and show it
elseif (event.type == "interrupt" and port.b) then 
   if (not mem.counter) then 
     mem.counter = 0 --init
   end 
   if (mem.counter == 120) then --if reaching 120 seconds 
      port.b = false   --stop counter
      port.c = true     --send final signal
   else
      mem.counter = mem.counter + 1 --count up 
   end
end
maybe the documentation is helpfull:
http://mesecons.net/luacontroller/

User avatar
Serh Arien
Member
Posts: 68
Joined: Tue Nov 03, 2015 19:53

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

by Serh Arien » Post

Gerald wrote:
Serh Arien wrote: ( let me do a last request, do you know how to do a timer ? because i'm afraid that using delayer from mesecon should lag ( i need do use 120 of them...))
I didn't found anithing about it so i ask you)

Thanks you so much fo your help, i love you ;)
You can use a Mesecons:Luacontroller with something like the following code (i have not tested it):

Code: Select all

Interrupt(1) --executes the programm every second 
if (event.type == "on" and event.pin.name == "A") then --if signal at A
   port.b = true --start counting and show it
elseif (event.type == "interrupt" and port.b) then 
   if (not mem.counter) then 
     mem.counter = 0 --init
   end 
   if (mem.counter == 120) then --if reaching 120 seconds 
      port.b = false   --stop counter
      port.c = true     --send final signal
   else
      mem.counter = mem.counter + 1 --count up 
   end
end
maybe the documentation is helpfull:
http://mesecons.net/luacontroller/
Well it could be a good idea ( again ! ) but as i had say, i don't know anothing about codding, and i don't understand everything in mesecon website.

The code don't work so i'll ask it in the good topic :)

Thanks you again for every thing you did

Emon
Member
Posts: 48
Joined: Tue Apr 26, 2016 09:35

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

by Emon » Post

Italian version available here.

User avatar
Lejo
Member
Posts: 718
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

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

by Lejo » Post

I have a problem mesecons_doors don't work with the new Version I make a problem topic with some more Problems.
How I can fix the Error with the doors?

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

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

by benrob0329 » Post

Update to the latest vertion of Mesecons.

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

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

by amadin » Post

.
Last edited by amadin on Wed Dec 18, 2019 20:00, edited 1 time in total.

kosmonautik
Member
Posts: 30
Joined: Fri Jun 24, 2016 10:40
In-game: kosmonautik
Location: Czech Republic
Contact:

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

by kosmonautik » Post

How can I run it in Linux Ubuntu? How have I to rename the folder? Thanks.

kosmonautik
Member
Posts: 30
Joined: Fri Jun 24, 2016 10:40
In-game: kosmonautik
Location: Czech Republic
Contact:

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

by kosmonautik » Post

How can I run it in Linux? How I have to rename the folder? Thanks

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

It shouldn't matter what it is called, as it is a modpack, but I'd rename the folder to mesecons anyway.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

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

by krokoschlange » Post

I foun a bad bug which causes minetest to crash when stuff from mesecons appears in the inventory when searching for it or go on the page where you find it. I removed all files from minetest and installed mesecons again but the bug remains... I did not use any other mod and different worlds but it didn't help.
debug.txt shows nothing special:

Code: Select all

2016-07-23 18:52:05: WARNING[Main]: BanManager: creating C:\games\Minetest\bin\..\worlds\any\ipban.txt
2016-07-23 18:52:05: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2016-07-23 18:52:05: ACTION[Main]:         .__               __                   __   
2016-07-23 18:52:05: ACTION[Main]:   _____ |__| ____   _____/  |_  ____   _______/  |_ 
2016-07-23 18:52:05: ACTION[Main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
2016-07-23 18:52:05: ACTION[Main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |  
2016-07-23 18:52:05: ACTION[Main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|  
2016-07-23 18:52:05: ACTION[Main]:       \/        \/     \/          \/     \/        
2016-07-23 18:52:05: ACTION[Main]: World at [C:\games\Minetest\bin\..\worlds\any]
2016-07-23 18:52:05: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:51993.
2016-07-23 18:52:14: ACTION[Server]: singleplayer [127.0.0.1] joins game. 
2016-07-23 18:52:14: ACTION[Server]: singleplayer joins game. List of players: singleplayer

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

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

by krokoschlange » Post

Well yesterday nothing seemed to help but now it works again. I really don't know why. I just waited.

miloszs
Member
Posts: 184
Joined: Thu Jul 07, 2016 21:20
GitHub: miloszs
IRC: miloszs mmmm
In-game: miloszs mmmm
Location: Poland

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

by miloszs » Post

THIS IS THE BEST MOD IN MINETEST!!!!!!!!

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

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

by ABJ » Post

No. Somewhere there may be a better mod. Stop with the over hype.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests