[Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Oh also Jeija. when you use two movestones and some random node in the middle, then send them to be moved off a location (trying a workaround for the sticky movestones) the node in the middle gets removed instead of pushed. Any thoughts on why?
And I will need to use piston rules correct?
And I will need to use piston rules correct?
Last edited by Gatharoth on Tue Jan 03, 2012 19:07, edited 1 time in total.
-
- Moderator
- Posts: 4124
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Just made a Piston Door: http://youtu.be/MUllePYjscY
Last edited by sfan5 on Tue Jan 03, 2012 20:39, edited 1 time in total.
I wanted to do that but then i'd have to fatten my house wallssfan5 wrote:Just made a Piston Door: http://youtu.be/MUllePYjscY
I love mods
It works!
I made a plug block, a socket block, and an inverter socket block. They are placed with a space between them, like so:
Each plug allows four sockets or inverter sockets around them in the four cardinal directions. A plug and a socket makes a diode - energy can pass through one way but not the other. A plug and an inverter socket makes a NOT gate, which, combined with an OR gate, allows ANY type of gate to be made (NOR is a universal gate).
This implementation is a lot faster than using wireless transmitters and wireless inverters, so it should enable more complex machines to be built.
Here is a diagram showing usage:
S represents a socket or an inverter socket, P represents a plug, and A represents air.
Here is the code (insert it into the bottom of your init.lua file, right before the "--INIT" line):
UPDATE: this is now included as temperest.lua in the main mod. See that file for the latest version.
One problem: sockets behave erratically when there is more than one plug two blocks away in a cardinal direction. I recommend you avoid allowing this to happen.
@ Jeija: If you want to integrate this into the main mod, feel free to. It's a bit messy since I'm still learning Lua, but it's pretty usable right now.
I made a plug block, a socket block, and an inverter socket block. They are placed with a space between them, like so:
Each plug allows four sockets or inverter sockets around them in the four cardinal directions. A plug and a socket makes a diode - energy can pass through one way but not the other. A plug and an inverter socket makes a NOT gate, which, combined with an OR gate, allows ANY type of gate to be made (NOR is a universal gate).
This implementation is a lot faster than using wireless transmitters and wireless inverters, so it should enable more complex machines to be built.
Here is a diagram showing usage:
Code: Select all
--S--
--A--
SAPAS
--A--
--S--
Here is the code (insert it into the bottom of your init.lua file, right before the "--INIT" line):
UPDATE: this is now included as temperest.lua in the main mod. See that file for the latest version.
One problem: sockets behave erratically when there is more than one plug two blocks away in a cardinal direction. I recommend you avoid allowing this to happen.
@ Jeija: If you want to integrate this into the main mod, feel free to. It's a bit messy since I'm still learning Lua, but it's pretty usable right now.
Last edited by Temperest on Wed Jan 04, 2012 21:37, edited 1 time in total.
WorldEdit 1.0 released
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
Oh and here are the textures I used:
(jeija_mesecon_plug.png)
(jeija_mesecon_socket_off.png)
(jeija_mesecon_socket_on.png)
(jeija_mesecon_inverter_off.png)
(jeija_mesecon_inverter_on.png)
(jeija_mesecon_plug.png)
(jeija_mesecon_socket_off.png)
(jeija_mesecon_socket_on.png)
(jeija_mesecon_inverter_off.png)
(jeija_mesecon_inverter_on.png)
WorldEdit 1.0 released
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
Can't make this mods working with latest git celeron master code (0.4 20120102 of 03/01/2012),
node definition loading fails..
Did you check with last version?
This mods looks really great , does celeron will accept to insert it into the mainstream?
node definition loading fails..
Did you check with last version?
This mods looks really great , does celeron will accept to insert it into the mainstream?
Last edited by redcrab on Wed Jan 04, 2012 00:47, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
@redcrab: I checked the latest git version and it works for me. Could you please post your error?
@Temperest: Nice work! But this can make the game crash when connecting a socket and an inverter. I guess you should make a delay (Minecraft redstone does not have torches/repeaters with delay for no reason)
I will include this in my mod as soon as this is fixed.
@Temperest: Nice work! But this can make the game crash when connecting a socket and an inverter. I guess you should make a delay (Minecraft redstone does not have torches/repeaters with delay for no reason)
I will include this in my mod as soon as this is fixed.
There are some broken mods in RTMMP (please remove or change them!). Maybe this could help you: http://c55.me/minetest/forum/viewtopic.php?id=691
See my post there. I hope this helped you. If not, try to remove the mods one after the other to figure out what's wrong or just ask again.
See my post there. I hope this helped you. If not, try to remove the mods one after the other to figure out what's wrong or just ask again.
removing modsredcrab wrote:Can't make this mods working with latest git celeron master code (0.4 20120102 of 03/01/2012),
node definition loading fails..
Did you check with last version?
This mods looks really great , does celeron will accept to insert it into the mainstream?
dynamite
moreores
nparticle
doesn't help
There is no direct crash but a general faulty behavior
when I add your mods here what I see during login and in game
Login
in Game
NB here the list of existing mods used
- add_tool
- baking
- bottle
- bucket
- cement
- corn
- dynamite
- experimental
- flowers
- growing
- hatches
- hoe
- home_mod
- leaf_decay
- mark_underground
- moarcraft
- moreblocks
- morechests
- moreores
- mushrooms
- nparticle
- obsidian
- pumpkin
- ropes
- rtmmp
- seasons
- villages
- watermelon
- wheat
- worldedit
Last edited by redcrab on Wed Jan 04, 2012 13:38, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
This is my working combination. (PM me if you want the server credentials)
Obviously I dont have (nparticle, dynamite,) seasons, worldedit and villages running.
Code: Select all
add_tool
baking
bucket
corn
experimental
give_initial_stuff
hatches
home_mod
leaf_decay
moarcraft
moreores
obsidian
pumpkin
rtmmp
watermelon
animals
bottle
cement
default
flowers
growing
hoe
jeija
legacy
morechests
mushrooms
paintings
ropes
throwing
wheat
I find out that "seasons" mods conflicts with "mesecons" mods..Jeija wrote:Is there any error in the console? Do you use the latest git version? Try robin's working combination. Did you also try just using my mod and no other one?
But beside of this topic, when removing seasons mods, the world become wholly ugly with freaky textures everywhere... how to clean up without destroying the entire world ?
Last edited by redcrab on Wed Jan 04, 2012 16:13, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net
It's nice to be important but it is more important to be nice.
-
- Moderator
- Posts: 4124
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
You could use WorldEdit, if you know how the wrong nodes are namedredcrab wrote:I find out that "seasons" mods conflicts with "mesecons" mods..Jeija wrote:Is there any error in the console? Do you use the latest git version? Try robin's working combination. Did you also try just using my mod and no other one?
But beside of this topic, when removing seasons mods, the world become wholly ugly with freaky textures everywhere... how to clean up without destroying the entire world ?
-
- Moderator
- Posts: 4124
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Yes, Mesecons should be able to close/open Doors from a Door ModStaffs wrote:I wanted to do that but then i'd have to fatten my house wallssfan5 wrote:Just made a Piston Door: http://youtu.be/MUllePYjscY
Hello, when I use two emiters and one receiver (all three of them on the same channel) - in other words: OR gate - it not always works correctly. Sometimes one of emiters doesn't activate receiver. What causes this problem? Maybe it's some kind of bug... Hope anybody helps. Thank you in advance.
Last edited by Karol on Wed Jan 04, 2012 16:44, edited 1 time in total.
@Karol: To make the mesecon receiver/transmitter system a bit more clear:
The on/off signal is only transmitted to the receiver when the signal at the transmitter changes. This means, that one of the receivers can be turned off although a transmitter seems to be turned on, if the last signal transmitted was an "off" signal.
If this does not refer to your problem, just make sure that the receivers and transmitters are above the same node - I don't expect to use grass/dirt because when grass turns to dirt the channel is not changed.
The on/off signal is only transmitted to the receiver when the signal at the transmitter changes. This means, that one of the receivers can be turned off although a transmitter seems to be turned on, if the last signal transmitted was an "off" signal.
If this does not refer to your problem, just make sure that the receivers and transmitters are above the same node - I don't expect to use grass/dirt because when grass turns to dirt the channel is not changed.
I'm sorry, I'm not sure I understand. What kind of configuration causes a crash? Could you post a diagram or example?Jeija wrote:@redcrab: I checked the latest git version and it works for me. Could you please post your error?
@Temperest: Nice work! But this can make the game crash when connecting a socket and an inverter. I guess you should make a delay (Minecraft redstone does not have torches/repeaters with delay for no reason)
I will include this in my mod as soon as this is fixed.
WorldEdit 1.0 released
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
Who is online
Users browsing this forum: No registered users and 3 guests