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

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

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

by runs » Post

And other languages support. People don't normally live in the US or the UK.

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

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

by PolySaken » Post

If someone will review my code I can do some optimizing and make stuff more deterministic. I've removed a bunch of unintended behavior from my copy, surely I can do so for the actual code.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

avi
New member
Posts: 1
Joined: Fri Feb 14, 2020 05:14
GitHub: abraha2
In-game: avi

MISSING init.lua file.

by avi » Post

I think we should fix the fact that this doesn't run AT ALL,
beause it is missing the init.lua file.
Every time I try to run it it always throws an error at me!
"/usr/share/games/minetest_game/mods/meesecons couldn't load /usr/share/games/minetest_game/mods/meesecons/init.lua no such file, or directory"

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: MISSING init.lua file.

by PolySaken » Post

avi wrote:
Mon Jul 13, 2020 06:44
I think we should fix the fact that this doesn't run AT ALL,
beause it is missing the init.lua file.
Every time I try to run it it always throws an error at me!
"/usr/share/games/minetest_game/mods/meesecons couldn't load /usr/share/games/minetest_game/mods/meesecons/init.lua no such file, or directory"
Mesecons is a modpack, not a mod, so it needs a modpack.conf file rather than an init.lua.
It runs perfectly fine for me.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: MISSING init.lua file.

by Festus1965 » Post

avi wrote:
Mon Jul 13, 2020 06:44
"/usr/share/games/minetest_game/mods/meesecons ...
Isn't that the folder from the installed by game area ?
Shouldn't it be mesecons (and not meesecons) be in the .minetest/mod/ folder ? and activated via workd.mt file ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

neoh4x0r
Member
Posts: 82
Joined: Wed Aug 29, 2018 20:16
GitHub: neoh4x0r

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

by neoh4x0r » Post

avi wrote:
Mon Jul 13, 2020 06:44
I think we should fix the fact that this doesn't run AT ALL,
beaus it is missing the init.lua file.
Every time I try to run it it always throws an error at me!
"/usr/share/games/minetest_game/mods/meesecons couldn't load /usr/share/games/minetest_game/mods/meesecons/init.lua no such file, or directory"
Festus1965 wrote:
Mon Jul 13, 2020 07:43
Isn't that the folder from the installed by game area ?
Shouldn't it be mesecons (and not meesecons) be in the .minetest/mod/ folder ? and activated via world.mt file ...
PolySaken wrote:
Mon Jul 13, 2020 06:55
Mesecons is a modpack, not a mod, so it needs a modpack.conf file rather than an init.lua.
It runs perfectly fine for me.
I learned this the hard way after spending a long time trying to figure out why my
installed mods were not working....and why I was unable to enable/disable modpacks.

Eventually I stumbled upon this in the wiki: https://wiki.minetest.net/Installing_Mods
I quickly realized that I was not installing mods to the correct location

As per the wiki link above (Installing_Mods):

Mods should be installed to your local minetest folder...

In other words:

game-specific mods go here:

Code: Select all

minetest/games/game_name/mods
  • modpacks are not supported in this location.
  • These mods cannot be disabled
global mods go here: (This is where mesecons should be installed)

Code: Select all

minetest/mods
  • must be enabled per-world by selecting the world and choosing configure.
world specific mods go here:

Code: Select all

minetest/worlds/world_name/mods

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

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

by PolySaken » Post

Mod packs do work inside games.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

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

by Miniontoby » Post

Yes but only when there is an modpack.txt inside the folder of this mod

And i though it was mesecons not meesecons btw. /usr/share/games/minetest_game/mods/meesecons/init.lua
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

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

by Miniontoby » Post

I have a 'add' request/idea for this mod:
Make Vertical Insulated Mesecons. Just like Insulated Mesecons but vertical.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

Bastrabun
Member
Posts: 211
Joined: Mon Nov 04, 2019 19:48

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

by Bastrabun » Post

Are the vertical mesecons not already insulated in a way? I can have 2 lines next to each other and they do not connect. You only have to have the "ends" of those vertical lines in different heights.
Whatever I say is CC0

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

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

by PolySaken » Post

Miniontoby wrote:
Thu Jul 23, 2020 12:34
I have a 'add' request/idea for this mod:
Make Vertical Insulated Mesecons. Just like Insulated Mesecons but vertical.
I use wires3d, which can do what you want, instead of the default mesecon wires. but I agree vertical insulated wires should be in the base mod.
Maybe make a PR?
(note that wires3d doesn't seem finished.)
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

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

by Miniontoby » Post

I want just the normal.

And just more like 3 way crossed insulated mesecons (left-right, front-back, up-down) and vertical straigth ones so i can have multiply lines going up or down

and ik it's inside 3dwires but i dont realy want it 3d, just that it got added to the mesecons modpack, no external mod.

And Bastrabun these are not vertical, they are horizontal. And they are not vertical turnable with a screwdriver


This is why i want it: viewtopic.php?p=378084#p378084
Last edited by Miniontoby on Fri Jul 24, 2020 12:55, edited 1 time in total.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

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

by Miniontoby » Post

runs wrote:
Thu May 28, 2020 22:57
And other languages support. People don't normally live in the US or the UK.
I made a topic in modding discussion for translate request. Plz check it out viewtopic.php?f=47&t=25107
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Walker
Member
Posts: 1816
Joined: Tue Oct 03, 2017 09:22
In-game: Walker
Contact:

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

by Walker » Post

--- deleted ---
Last edited by Walker on Sun Jul 26, 2020 17:23, edited 1 time in total.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

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

by Miniontoby » Post

Walker wrote:
Sat Jul 25, 2020 20:20
This is a error with pipeworks and this is the mesecons topic. plz move it
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

Merak
Member
Posts: 116
Joined: Sat Nov 05, 2016 20:34

Mesecons TimeGate , LightStone

by Merak » Post

The TimeGate is getting stuck when I leave and return. It won't work until it is dug and placed again and the time is re-entered.

How about making LightStone conduct? I imagine it would be rare that it would be undesirable behavior.

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: Mesecons TimeGate , LightStone

by PolySaken » Post

Merak wrote:
Mon Sep 28, 2020 12:13
The TimeGate is getting stuck when I leave and return. It won't work until it is dug and placed again and the time is re-entered.

How about making LightStone conduct? I imagine it would be rare that it would be undesirable behavior.
If lightstones conducted we wouldn't be able to make computer screens with them
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: Mesecons TimeGate , LightStone

by Desour » Post

Merak wrote:
Mon Sep 28, 2020 12:13
The TimeGate is getting stuck when I leave and return. It won't work until it is dug and placed again and the time is re-entered.
Mesecons has no TimeGate where you can enter a time with a formspec. There's a delayer that you can punch to set the delay time. It is possible that the node you are referring to comes from another mod. Please give more information. Eg. press F5 ingame and tell us what the node name is (look at the node and read node pointing at).
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

Merak
Member
Posts: 116
Joined: Sat Nov 05, 2016 20:34

Dirt recipe

by Merak » Post

The recipe to make dirt is too tedious because water buckets do not stack. So a large amount of dirt can not be made that way. How about changing the recipe or how dirt is made?
DS-minetest wrote:
Tue Sep 29, 2020 16:32
Mesecons has no TimeGate
Thanks for pointing that out. I now reported it to
MoreMesecons

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: Dirt recipe

by PolySaken » Post

Merak wrote:
Fri Oct 02, 2020 07:53
The recipe to make dirt is too tedious because water buckets do not stack. So a large amount of dirt can not be made that way. How about changing the recipe or how dirt is made?
I imagine this is for pipeworks automation where stacking is not an issue. Perhaps you should use a quarry for dirt rather than crafting it.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

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

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

by Linuxdirk » Post

How can I have a Luacontroller delaying an action? I have this code:

Code: Select all

if event.type == 'on' and event.pin.name == 'A' then
    port.c = false
    port.b = true
end
I want to have port.b set to true 5 seconds after the on event was received on pin A

Any ideas?

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

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

by Desour » Post

Linuxdirk wrote:
Sat Oct 10, 2020 22:12
How can I have a Luacontroller delaying an action? I have this code:

Code: Select all

if event.type == 'on' and event.pin.name == 'A' then
    port.c = false
    port.b = true
end
I want to have port.b set to true 5 seconds after the on event was received on pin A

Any ideas?
Use interrupt:

Code: Select all

if event.type == 'on' and event.pin.name == 'A' then
    interrupt(5, "5 after A on")
elseif event.type == "interrupt" and event.iid == "5 after A on" then
    port.c = false
    port.b = true
end
I think, mesecons.net has a luacontroller tutorial.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

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

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

by Linuxdirk » Post

I’ll try your example, thanks.
DS-minetest wrote:
Sat Oct 10, 2020 22:38
I think, mesecons.net has a luacontroller tutorial.
It mentions interrups but the tutorial is super shallow and has little to no good examples on how to actually invoke use interrupts.

Update: Thanks for the hint, I was able to achieve what I wanted using interrupts according to your example.

User avatar
captenfalkonion
Member
Posts: 41
Joined: Thu Jun 08, 2017 17:06
In-game: captefalkonion
Location: Germany

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

by captenfalkonion » Post

I got a idea for the sticky pistons if i place a sticky piston at a other one and at this one a block i cant pull this block back if i pull the second piston back. And my idea was to make it possible to pull this block back i dont konw how but just as a little idea.

User avatar
LRV
Helper
Posts: 378
Joined: Mon Dec 19, 2016 17:29
GitHub: Mooncarguy
In-game: Mooncarman Mooncarguy

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

by LRV » Post

captenfalkonion wrote:
Wed Nov 18, 2020 15:09
I got a idea for the sticky pistons if i place a sticky piston at a other one and at this one a block i cant pull this block back if i pull the second piston back. And my idea was to make it possible to pull this block back i dont konw how but just as a little idea.
https://mesecons.net/uberi/projects/Dou ... index.html
This is a cool signature. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests