Page 21 of 58

PostPosted: Thu Jun 21, 2012 15:59
by whiskers75
It's in the depends as the code in there was copied from it (mesecons_temperest).
Going to code the block and textures!

PostPosted: Thu Jun 21, 2012 16:31
by whiskers75
Pushed the latest code - check GitHub!

PostPosted: Thu Jun 21, 2012 17:59
by whiskers75
OK, users of the mesecons mod. The AND block, still very primitive, but being developed, is complete! Check out the file WHISKERS75_README for details! The new code is in Temperest's dir.

PostPosted: Thu Jun 21, 2012 19:03
by monty_oso
Now i can destroy mesecons but i can't destroy inverters or plugs

PostPosted: Thu Jun 21, 2012 23:46
by monty_oso
Image


This is the scheme for logic gates in minecraft i will try to
do the same for mine test because these gates don't work in minetest.

This in my first gate.
The AND gate.
Image

If you have any suggestion please let me know in this tread: http://minetest.net/forum/viewtopic.php?pid=27503

I know you have a convention to do do a text schemes of mesecons circuits, can you give me a list of the symbols of that?

This is an example of what i need:

Ø=Power Source
|X|=Any Block
|-->|=Mesecon Torch
--=Mesecon wire

PostPosted: Thu Jun 21, 2012 23:56
by Temperest
I've already made all of the most common gates here:

http://minetest.net/forum/viewtopic.php?pid=6945#p6945

Glad to see the start of a Mesecons circuit project!

PostPosted: Fri Jun 22, 2012 03:15
by monty_oso
The torch DIODE
Image

Demonstration video: http://youtu.be/EjNK3guXCLc

PostPosted: Fri Jun 22, 2012 16:51
by whiskers75
AND block now has its own dir and auto power on (NOT off!)
Also - Minetest circuit project? Tell me about it, seeing as I am building a giant electronic Tic Tac Toe board with the Tic Tac Toe mod, the AND block and mesecons.

Image

PostPosted: Fri Jun 22, 2012 19:22
by Temperest
That's pretty cool! If you need any help with that I'd be glad to join a build server.

Here's take 2 of my Mesecon reusable components:

Image

As you can see, they are much smaller than before. The image includes a frequency regulator, a stackable full adder (in progress), and several in-line logic gates, all 8-bit.

The eventual goal is to create a fully working tiny computer within MineTest that supports basic programs written in its assembly language.

I might set up the Mesecons server again when it's a bit further along and I'm done experimenting.

PostPosted: Sat Jun 23, 2012 00:58
by Jat
Error for version github mesecons for me:
2:53:00: VERBOSE[main]: error_message = ServerError: LuaError: error: ...4.dev-20120606-c57e508-win32\bin\..\builtin/item.lua:153: attempt to index local 'playerpos' (a nil value)
02:53:00: VERBOSE[main]: stack traceback:
02:53:00: VERBOSE[main]: [C]: in function 'place_node'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons_pistons\init.lua:204: in function '?'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:68: in function 'activate'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:254: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...win32\bin\..\mods\minetest\mesecons/internal_api.lua:264: in function 'turnon'
02:53:00: VERBOSE[main]: ...c57e508-win32\bin\..\mods\minetest\mesecons\init.lua:176: in function 'receptor_on'
02:53:00: VERBOSE[main]: ...-win32\bin\..\mods\minetest\mesecons_switch\init.lua:33: in function 'callback'
02:53:00: VERBOSE[main]: ...4.dev-20120606-c57e508-win32\bin\..\builtin/item.lua:223: in function <...4.dev-20120606-c57e508-win32\bin\..\builtin/item.lua:219>
02:53:00: VERBOSE[main]: (tail call): ?

PostPosted: Sat Jun 23, 2012 02:12
by monty_oso
First version of the torch XOR gate

Image

PostPosted: Sat Jun 23, 2012 02:16
by Temperest
monty_oso wrote:First version of the torch XOR gate

Image


That's very nifty, but the plug version is significantly smaller:

Image

Dimensions are 5 by 3 by 1 nodes.

PostPosted: Sat Jun 23, 2012 02:20
by Temperest
whiskers75 wrote:AND block now has its own dir and auto power on (NOT off!)
Also - Minetest circuit project? Tell me about it, seeing as I am building a giant electronic Tic Tac Toe board with the Tic Tac Toe mod, the AND block and mesecons.


By the way, I've been working on the schematics for the tic-tac-toe game:

Image

I'll upload it when I get it in a bit more of a completed state.

PostPosted: Sat Jun 23, 2012 04:47
by monty_oso
The torch XOR gate

Image

PostPosted: Sat Jun 23, 2012 05:42
by Jeija
Wondering if Tic-Tac-Toe will work; I mean the speed is not that good...
I think we could make some more logic blocks than just AND, at least those who cannot be used to generate high frequency that makes the game crash
(anyone know what of them are the bad ones? Certainly XOR, NOR and NAND - what else?

PostPosted: Sat Jun 23, 2012 06:32
by whiskers75
I can make a NAND block, if you want me to.
Oh and Temperest - thanks so much for the tic tac toe work. (How are we going to build THAT schematic?)

Come and play on my server! 80.195.186.237 port 30000.

PostPosted: Sat Jun 23, 2012 08:50
by whiskers75
The mesecons door is not working - I did a /giveme mesecons_door:door, placed it and I get a un-diggable block of wood. Help!

PostPosted: Sat Jun 23, 2012 08:52
by Jeija
Do you use the latest version of minetest? Is there any error?

PostPosted: Sat Jun 23, 2012 09:48
by whiskers75
I'll use the latest git build.

PostPosted: Sat Jun 23, 2012 09:57
by whiskers75
Door is fixed - but object detectors error out with this:
10:55:25: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...../mods/minetest/mesecons/mesecons_detector/init.lua:63: attempt to call method 'get_text' (a nil value)
10:55:25: ERROR[main]: stack traceback:

In thread 7fad90373740:
/home/otto/minetest/src/main.cpp:1741: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fad90373740:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 virtual void ServerMap::saveBlock(MapBlock*))
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)

PostPosted: Sat Jun 23, 2012 10:00
by whiskers75
This error is causing MT to crash as soon as it boots. Please fix!!

PostPosted: Sat Jun 23, 2012 10:29
by Jeija
Please be patient!

PostPosted: Sat Jun 23, 2012 10:40
by Jeija
May be fixed now, have a look at git.

PostPosted: Sat Jun 23, 2012 10:46
by whiskers75
Oh and Temperest - your movestone fix does not carry players... and movestones continue moving beyond the circuit
(I am finding a lot of bugs!)

PostPosted: Sat Jun 23, 2012 11:16
by whiskers75
Jeija - your fix worked.

PostPosted: Sat Jun 23, 2012 11:17
by Jeija
:D
Currently working on movestones

PostPosted: Sat Jun 23, 2012 11:21
by whiskers75
Thanks.

PostPosted: Sat Jun 23, 2012 11:42
by mathsgeeek
Where can I get your git reposity so I don'thave to redownload your .zip/.tar.gz every timee I want your latest feature?
Thanks

PostPosted: Sat Jun 23, 2012 11:43
by whiskers75

PostPosted: Sat Jun 23, 2012 14:32
by Temperest
whiskers75 wrote:Oh and Temperest - your movestone fix does not carry players... and movestones continue moving beyond the circuit
(I am finding a lot of bugs!)


Honestly, I'm surprised it didn't just crash outright :P.

I assume Jeija, knowing the architecture of the mod better, is more qualified to fix this.

By the way: movestones never were able to carry players. I believe there was something about the Lua API that made this a bit difficult.

(also I thought I'd fixed the movestones moving mast the mesecon?)