Jump to content




Minecraft Time Clock


19 replies to this topic

#1 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 10 February 2012 - 12:30 AM

Here mi In-Game Minecraft Time Clock
I got it to fully work with the help of Advert & Brigander, Thank you guys.

Im currently uploading a video on youtube, so i'll put it here when its done ;)/>
Posted Image
Posted Image
Posted Image
Posted Image

#2 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 10 February 2012 - 08:43 AM

Nice work, you should try fitting it all into one computer now ;)/>

#3 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 10 February 2012 - 12:15 PM

Looks very nice and is set up very clean.

And I agree with Advert, you could make it even simpler.
You're basically using a 7-segment display, composed of the segments: top, middle, bottom, top-left, top-right, bottom-left and bottom-right.
Your horizontal segments are 3 blocks wide, the vertical ones 2 blocks.
If you connect all blocks of one segment into one color, then you only need 7 colors per digit.
Well, in your case you also seem to use some extra blocks: 4 corner blocks + 2 extra on sides of the middle.
Since you seem to toggle these only for specific numbers you essentially have a 7+ segment display.
But as long as you don't go over 16 segments per digit, it doesn't really matter.

Because if you stay at <= 16 colors/segments per digit, you can bundle all of them up into one side of a computer.
And since you have 4 digits, you'd only have to use 4 sides of one single computer to control all 4 digits.
You could even control the colon in the middle with the computer now.
To summarize:
- Group the blocks of a digit into 7-16 Segments.
- Connect every segment/blockgroup with one color (put red alloy wire on all of them and then lead the wire out to a colored cable)
- Connect all 7-16 segments/blockgroups into a bundled cable
- Repeat with the other 3 digits.
- Connect all 4 bundled cables with one side of a computer.

You'd have to rewrite your code of course, but give it a try, it will be worth it.

Cheers! ;)/>

#4 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 10 February 2012 - 01:21 PM

Here how i programed my stuff, I made 10 script, one for each number.

Here exemple of number one:
function colory(sSide,sColour,value)
nColour = colours[sColour]
if value == true then
		rs.setBundledOutput( sSide, colors.combine( rs.getBundledOutput( sSide ), nColour ) )
	elseif value == false then
		rs.setBundledOutput( sSide, colors.subtract( rs.getBundledOutput( sSide ), nColour ) )
	end
end
--top left bottom back right
--column ONE
colory("top","white",true)
colory("top","orange",true)
colory("top","magenta",true)
colory("top","red",true)
colory("top","yellow",true)
colory("top","lime",true)
colory("top","pink",true)
--column TWO
colory("left","white",false)
colory("left","red",false)
colory("left","pink",false)
--column THREE
colory("bottom","white",false)
colory("bottom","red",false)
colory("bottom","pink",false)
--column FOUR
colory("back","white",false)
colory("back","red",false)
colory("back","pink",false)
--column FIVE
colory("right","white",false)
colory("right","orange",false)
colory("right","magenta",false)
colory("right","red",false)
colory("right","yellow",false)
colory("right","lime",false)
colory("right","pink",false)

But as you guys said, i will give it a try and thanks for the nice comment ;)/>

#5 Brigander

  • Members
  • 30 posts
  • LocationThe Darkness

Posted 10 February 2012 - 07:56 PM

Don't wanna intrude here, but I wanna show off my clock as well.

Posted Image

Posted Image

#6 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 10 February 2012 - 07:59 PM

Now that we have two digital clocks here, how about a virtual analog clock?

#7 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 10 February 2012 - 08:07 PM

How would you make that XD

#8 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 10 February 2012 - 08:13 PM

View Postarongy, on 10 February 2012 - 08:07 PM, said:

How would you make that XD

Make a 32x32 pixel display, then draw the clock on it. Or something like that.

I'd post my clock, but it doesn't use CC. I could make it use CC, though...

Edit: I've decided to go ahead anyways:
*Large images in spoiler. (~3MB total)
Spoiler


#9 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 10 February 2012 - 08:50 PM

Im not sure to understand your wiring, can you explain how your clock work? ;)/>

#10 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 10 February 2012 - 08:55 PM

View Postarongy, on 10 February 2012 - 08:50 PM, said:

Im not sure to understand your wiring, can you explain how your clock work? ;)/>

It flashes 12:00.

#11 Brigander

  • Members
  • 30 posts
  • LocationThe Darkness

Posted 10 February 2012 - 09:00 PM

You're silly

#12 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 10 February 2012 - 09:07 PM

oh thought you found a way to show time without programing lol ;)/>

#13 Brigander

  • Members
  • 30 posts
  • LocationThe Darkness

Posted 12 February 2012 - 12:22 AM

I streamlined my processes for my clock. It now only requires 1 terminal.
Posted Image

#14 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 12 February 2012 - 02:00 AM

I just made a smaller version of my clock on my server.
Posted Image

#15 usernametook

  • New Members
  • 5 posts
  • LocationNY, USA

Posted 16 February 2012 - 08:26 AM

OOh a server i want for when i get home in a week or two bcz my internet here is poo :D/>
pm it to me ill join it and show off my horrible skills :D/>

#16 Chub1337

  • New Members
  • 36 posts

Posted 19 February 2012 - 08:53 PM

I thought I'd share my work, without RedPower 2, just CC and vanilla redstone

The display:

Spoiler

Overview of it all:
Spoiler

And the redstone from above:
Spoiler

Hope you guys liked it? :)/>

Chub1337

P.S. Currently also working on one with RedPower 2 :D/>

#17 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 20 February 2012 - 01:39 PM

View PostChub1337, on 19 February 2012 - 08:53 PM, said:

I thought I'd share my work, without RedPower 2, just CC and vanilla redstone

You need vertical redstone mod ;)/>

#18 DarkNinja2462

  • Members
  • 107 posts
  • LocationThe 4th Dimension

Posted 23 February 2012 - 02:09 AM

View PostChub1337, on 19 February 2012 - 08:53 PM, said:

I thought I'd share my work, without RedPower 2, just CC and vanilla redstone
meap

#19 DarkNinja2462

  • Members
  • 107 posts
  • LocationThe 4th Dimension

Posted 23 February 2012 - 02:11 AM

View Postarongy, on 12 February 2012 - 02:00 AM, said:

I just made a smaller version of my clock on my server.
Posted Image
Can u tell me the server I NEED ONE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PLZ I AM SITTING HERE LOOKING FOR ONE

#20 arongy

  • New Members
  • 37 posts
  • LocationQuebec, Canada

Posted 27 February 2012 - 05:34 PM

http://friendlyserver.proboards.com/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users