←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

In Game Time Clock

Brigander's Photo Brigander 16 Feb 2012

Its installed, just trying to get the kinks ironed out from the transition to 1.1 >_>
Quote

Bladedemon70's Photo Bladedemon70 22 Feb 2012

I like the clock and all but when using it i can't seem to get the clock to keep the minute updated to each minute but it only updates every 10 could it be and indentation problem or pure user error.... and yes i have the same set up made here :huh:/>
Quote

Brigander's Photo Brigander 22 Feb 2012

What rate is your timer set to?

Try setting it to .8 seconds in order to get the minute digits to move properly.
Quote

Bladedemon70's Photo Bladedemon70 22 Feb 2012

tired that any other suggestions and also im going to look in the code to see if its all good on my part

*Edit*

I found out that the last digit of the minute is off timing...
Looked at the code and can't figure out what is up.
Quote

Selkitty's Photo Selkitty 22 Feb 2012

Very nice setup, Brig. also, to those who ask while I'm streaming the clock on my map is a replica of this clock XD nothing more nothing less.

On a side note: I tried to build this in littleblocks... I was nearly finished when I realized I couldnt adjust the timer with littleblocks... I'll look into a CC based timer to see if I can resolve some issues I have and if I get it finished I'll stream it and save that clip ^^ (in littleblocks it would only take up like four or so blocks, so it'd make a nice wall clock
Quote

luza's Photo luza 22 Feb 2012

can someone move this to the peripheral section please?
Quote

Casper7526's Photo Casper7526 22 Feb 2012

its not a peripheral?
Quote

Selkitty's Photo Selkitty 22 Feb 2012

would be interesting and certainly smaller if it were a peripheral but I think that would also take the challenge out of building it :x
Quote

Bladedemon70's Photo Bladedemon70 23 Feb 2012

Hey still having problems with the clock not changing every minute and its the last digit of the clock on the minute side that is stuck.

How is the function cableSet() segment suppose to be indented i think that is where my problem may be occuring.
Quote

Selkitty's Photo Selkitty 23 Feb 2012

View PostBladedemon70, on 23 February 2012 - 02:20 PM, said:

Hey still having problems with the clock not changing every minute and its the last digit of the clock on the minute side that is stuck.

How is the function cableSet() segment suppose to be indented i think that is where my problem may be occuring.


clock not updating: you do have a timer on it, right? *points to the top down view image*
derpderpderp, I havent entirely woken up yet
Edited by Selkitty, 23 February 2012 - 02:41 PM.
Quote

Brigander's Photo Brigander 23 Feb 2012

View PostBladedemon70, on 23 February 2012 - 02:20 PM, said:

Hey still having problems with the clock not changing every minute and its the last digit of the clock on the minute side that is stuck.

How is the function cableSet() segment suppose to be indented i think that is where my problem may be occuring.

Er indentation is for readability it has no impact on how the program functions...
Quote

Bladedemon70's Photo Bladedemon70 23 Feb 2012

Hmmm...idk maybe just me ill try again later but my setup is right... its exactly like the picture....
I reput the code in and doesnt work still but i have to ask do you put it in its own .lua file or write it into the computer manually thorugh mc.... I dont know what i have done wrong but i really want this to work

*Edit*

Since I want to learn to code this stuff anyway ill make my first self project a clock for myself....If this is ok.... I think it'll be a good thing to get me started jsut need to know how to get it going but I'll figure it out some how...

Thanks for the help... and also thanks Brigander for the cool clock...
Quote

scyl's Photo scyl 24 Feb 2012

Did something changed in ComputerCraft?? because this just stopped powering the cables after I update to 1.3. The clock in the terminal(when I right click on it) is still working, but it is not outputting to the cables.
Quote

wackybob's Photo wackybob 27 Feb 2012

View PostSelkitty, on 22 February 2012 - 08:19 AM, said:

Very nice setup, Brig. also, to those who ask while I'm streaming the clock on my map is a replica of this clock XD nothing more nothing less.

On a side note: I tried to build this in littleblocks... I was nearly finished when I realized I couldnt adjust the timer with littleblocks... I'll look into a CC based timer to see if I can resolve some issues I have and if I get it finished I'll stream it and save that clip ^^ (in littleblocks it would only take up like four or so blocks, so it'd make a nice wall clock

i tried to make this in littleblocks, but the lamps dont show up, and the wires dont show up either...
what versions did you use?
Quote

Leo Verto's Photo Leo Verto 06 Mar 2012

Can I use the time encoding and formating functions for my alarm clock?
Of course I'll credit you!
Quote