1.23 and Real Time Clock

Yesterday evening I submitted 1.23 for Windows Phone and Amazon. All that remains now is waiting.

In the meantime, I’d like pick up what I had to postpone a few days ago and continue to explain briefly how new electric elements work.

Today’s element is a real time clock.

Real Time Clock

This is a simple device that has 5 outputs and provides you with real time via analog signals.

What is real time? It is the time that passed since you started playing your world. The moment when the ship sails away is the zero point of this clock.

The unique feature of real time clock is that it is always correct. It runs continuously, even if you are far away, and will give you the right time when you come back. If you craft a new real time clock, it will still show time since the ship sailed, no matter when it was constructed. There is no way to reset it. I say “show”, but of course you need other elements connected to the clock to see it. The clock itself just provides electric signals.

On the above picture you can see that there are 4 outputs on all sides of the clock, numbered 1 to 4 (using dots). The final, 5th output is at the back and is accessible when you place the clock on a wire-through-block element.

The clock is setup to increment its value by exactly 4096 each day. That means the clock “ticks” roughly every 0.3 seconds.

Because there are 5 outputs and each has 4 bits, the total size of the counter is 20 bits. It will overflow after 256 days.

Here’s a table showing periods of all 5 outputs. Remember each output is 4 bits.

Input Period
1st (top) 0.293s (1/4096 of a game day)
2nd (right) 4.69s (1/256 of a game day)
3rd (bottom) 75s (1/16 of a game day)
4th (left) 1 game day
5th (back) 16 game days

In fact, real time clock is just a giant 20 bits counter with a fixed period of 0.293s. 4th output is useful for counting entire days. 3rd output for determining time of day.

73 Comments

  1. Posted October 30, 2013 at 19:43 | Permalink | Reply

    Omg the 1.23 update for IOS is just too long…

    • Posted October 30, 2013 at 19:46 | Permalink | Reply

      I’ve been waiting.

      • colepanzer
        Posted October 31, 2013 at 01:00 | Permalink | Reply

        shut up. It’s not Kaalus’s fault. It’s the AppStore’s fault for not approving it yet.

        • Posted October 31, 2013 at 06:08 | Permalink

          I know that it’s Apple’s fault and I didn’t say that it’s Kaalus fault either.LOL

  2. Posted October 30, 2013 at 19:45 | Permalink | Reply

    OMG!!! THANX!!!! SOOOOOO MUCH!!!!!

    • Posted October 30, 2013 at 20:02 | Permalink | Reply

      How about a break gate? It takes one digital or a 1 analog signal to “break” the gate(for the signal to pass through the gate). You can edit the signals it takes to “break” the gate using the edit thingy. 1 input 1 output. It should also have an amount of signals the reset the gate (you can also edit this amount of signals). That brings me to the turn gate. After “breaking” it will “turn” the signal to the next output. You can also edit the amount of signals it takes to break/turn and the outputs it turns to.

  3. Posted October 30, 2013 at 19:50 | Permalink | Reply

    Is Kaalus real name Igor Kalicinski? If it is, i think he is from Germany because almost all Germany name ends with a ‘ski’.

    • Posted October 30, 2013 at 19:53 | Permalink | Reply

      Just guessing…

    • mrjustplaying
      Posted October 30, 2013 at 20:18 | Permalink | Reply

      I’d bet he’s apolish… Or maybe from Ukrajine?

      • Posted October 30, 2013 at 20:26 | Permalink | Reply

        Polish, I checkd

        • skittledude
          Posted October 31, 2013 at 20:58 | Permalink

          Awesome, I thought so when I saw the ski at the end of his name.

  4. Posted October 30, 2013 at 19:53 | Permalink | Reply

    I’m curious, how do folks plan to use clocks in SC?

    • Posted October 30, 2013 at 20:12 | Permalink | Reply

      I plan to put one in my big mine so I know if it’s night or day. Many a time I have come from the depths only to find it’s night and there are werewolves all over.

      • Posted October 31, 2013 at 00:24 | Permalink | Reply

        that is a great idea also i thought if you put the weight pressure plates to weight the amount of mining you bring out ?

      • Posted September 5, 2014 at 17:10 | Permalink | Reply

        Photodiode connected to a sign can tell you if its night or day. Btw the same happened to me about 7 times :)

    • Posted October 30, 2013 at 20:17 | Permalink | Reply

      I have plan!

    • mrjustplaying
      Posted October 30, 2013 at 20:19 | Permalink | Reply

      Hah, maybe to make timetables :D

      • Posted October 30, 2013 at 22:30 | Permalink | Reply

        I just uploaded my world called real time and sound gen, (I have Google play) and there’s a working real time clock and a sound generator, with easy access to the memory bank for easy editing

        • Posted November 4, 2013 at 01:49 | Permalink

          Please send me a private link to download your world to my tablet cause i can’t understand how can i build a clock to working correctly. :)

    • Posted October 30, 2013 at 20:29 | Permalink | Reply

      Time bomb anyone

    • cursedth
      Posted November 1, 2013 at 20:47 | Permalink | Reply

      If you want to know more about the new electronic elements in 1.23::
      survivalcraft.lefora.com/topic/19403872/123-electronics-for-KIDS-and-dummies

  5. Marlon Neveu
    Posted October 30, 2013 at 20:08 | Permalink | Reply

    Cool! When will 1.23 be published on Apple? I haven’t got it yet. ;(

    Sent from my iPod Touch 5th Gen.

    >

    • Posted October 31, 2013 at 06:10 | Permalink | Reply

      It’s already published but Apple takes a lot of time to reveal it. So let’s just wait now.

    • Posted October 31, 2013 at 11:41 | Permalink | Reply

      He said it would take from 16 hours to a week :( Apple takes awhile to accept it

  6. Posted October 30, 2013 at 20:17 | Permalink | Reply

    Can someone make a world on the new electrics? I’m a visual learner >.<

  7. Posted October 30, 2013 at 20:24 | Permalink | Reply

    I can’t wait!

  8. Posted October 30, 2013 at 20:44 | Permalink | Reply

    This may sound stupid but what do you connect to it to see it? I’m a visual person so if someone made a video of how to make some of these new electrics work, it would be greatly appreciated.

    • cursedth
      Posted November 1, 2013 at 20:48 | Permalink | Reply

      If you want to know more about the new electronic elements in 1.23::
      survivalcraft.lefora.com/topic/19403872/123-electronics-for-KIDS-and-dummies

  9. Posted October 30, 2013 at 21:00 | Permalink | Reply

    Maggie, 1.23 has a new fragmented led to connect to the clock output…so it shows numbers just like an led alarm clock in real life. Also the led comes in multiple colors….green, red, blue, and white. You can also connect some other electrics to it for their output. The display shows 16 hex characters 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, and f all of which can be programmed.

  10. Posted October 30, 2013 at 21:51 | Permalink | Reply

    I’ve already made a game clock. I’ll post it in community in a little. It’ll be called real time clock

  11. Posted October 30, 2013 at 22:01 | Permalink | Reply

    YAYYYYYYYYYYYYYYYY!!!!!!! I AM SO EXCITED!!!!! I can’t wait!!!! <|:)

  12. Posted October 30, 2013 at 23:27 | Permalink | Reply

    I’ve tried to help explain the new electrics for kaalus, such as the truth table on my blog.

  13. Posted October 30, 2013 at 23:31 | Permalink | Reply

    yes please someone make a world on the new electronic features I am also a visual learner >~<
    This would help me and so many out thank you! Can't wait for new update! So excited this is a great game and is worth the price. Thanks Kaalus for all your hard-work on this game
    and also for bringing it to the iOS devices! ^0^

  14. Posted October 30, 2013 at 23:37 | Permalink | Reply

    so dose this mean its out on amazon or not because i can not find the update ?

  15. Posted October 30, 2013 at 23:46 | Permalink | Reply

    I love this game and play it everyday. The new release (1.23.2), does not allow for weapon attacks in 3rd person view unless you stand parralel to the animal you are trying to kill, no frontal attack possible, this is very awkward. Since I do not like playing in first person view the game has been degraded in my opinion.

  16. dragon master an awesome dragonologist
    Posted October 31, 2013 at 01:27 | Permalink | Reply

    I want 1.23 soooooooo baaaaaaaddddddddllllllllyyyyyyy! Amazon don’t be lazy and just approve and publish it.

  17. Posted October 31, 2013 at 01:47 | Permalink | Reply

    Amazon was the fastest last time so I’m sure it will be soon so excited by the way

    • colepanzer
      Posted October 31, 2013 at 02:34 | Permalink | Reply

      no it was IOS last time.

  18. Posted October 31, 2013 at 03:05 | Permalink | Reply

    Good idea!

  19. Posted October 31, 2013 at 05:13 | Permalink | Reply

    Hi

  20. Posted October 31, 2013 at 06:09 | Permalink | Reply

    I don’t care who gets the update first, I am waiting for it to come to iOS. though I do believe it was iOS that got the lead last time but maybe cause it was simple to go over. they know the developer by now so maybe it makes it easier to publish after a while kinda like trust or rep.. if I am correct amazon and windows are newer or maybe that’s android hmm not sure..

  21. Posted October 31, 2013 at 06:20 | Permalink | Reply

    Windows Phone users are more important that Amazon users, so Windows Phone.

    What am i talking about i can’t wait for update!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  22. Posted October 31, 2013 at 10:51 | Permalink | Reply

    Hi i want multiplayer for surivalcraft
    Now

    • Posted October 31, 2013 at 11:16 | Permalink | Reply

      Who cares you idiot.

      • Posted October 31, 2013 at 11:34 | Permalink | Reply

        Haha no. -_- No one cares what you can do to this website and I doubt the kaalus will listen to someone who was cursing people out and demanding updates.

    • dragon master an awesome dragonologist
      Posted October 31, 2013 at 21:43 | Permalink | Reply

      Yeah James100idiot) <—- hmm! hmm! hmm!

  23. Posted October 31, 2013 at 11:35 | Permalink | Reply

    I can’t wait for the update! :D THANKS KAALUS!!!! :)

  24. katstorylines
    Posted October 31, 2013 at 12:09 | Permalink | Reply

    Reblogged this on katstorylines's Blog and commented:
    Almost there. 1.23 is coming to all devices!
    And a real time clock! Perfect for my hunger games map!

  25. Posted October 31, 2013 at 14:27 | Permalink | Reply

    Hey kaalus, can you add multiplayer for Windows Phone?

    And please make Horses jump more realistic.

  26. Posted October 31, 2013 at 16:19 | Permalink | Reply

    Add deers, turkeys (i eat turkey at christimas) and a sleigh for the next update

  27. Posted October 31, 2013 at 17:20 | Permalink | Reply

    Wow could you please stop

  28. Posted October 31, 2013 at 18:51 | Permalink | Reply

    Darn it!!!! Zune won’t let me download things!!!! Ffffffffffffffffffffffffffffffffffffffffffffffffffff

  29. Carson Aiken
    Posted October 31, 2013 at 20:19 | Permalink | Reply

    Why can’t I get it from Amazon appstore yet SENT FROM CARSONS KINDLE FIRE

    Survivalcraft wrote:

    > a:hover { color: red; } a { text-decoration: none; color: #0088cc; } a.primaryactionlink:link, a.primaryactionlink:visited { background-color: #2585B2; color: #fff; } a.primaryactionlink:hover, a.primaryactionlink:active { background-color: #11729E !important; color: #fff !important; } /* @media only screen and (max-device-width: 480px) { .post { min-width: 700px !important; } } */ WordPress.com Kaalus posted: “Yesterday evening I submitted 1.23 for Windows Phone and Amazon. All that remains now is waiting. In the meantime, I’d like pick up what I had to postpone a few days ago and continue to explain briefly how new electric elements work. Today’s element”

  30. Posted October 31, 2013 at 20:45 | Permalink | Reply

    Hey kaalus pls add ham for christmas.

  31. Posted October 31, 2013 at 22:42 | Permalink | Reply

    Really james10098 how can you be so childish… am I the only one who doesn’t care for multiplayer here? Plus demanding stuff is not going to get you anywheres, guess you never learned that growing up…
    I happily await the new update and thanks so much Kaalus!

  32. Posted October 31, 2013 at 23:56 | Permalink | Reply

    Happy Halloween guys!

  33. Posted November 1, 2013 at 11:04 | Permalink | Reply

    hey kaalus I found some bugs. . when you place a block on top of a slab it will appear to have a gap between. . if you put tiles on top of each other and then put any falling block like gravel or sand on to the top slab it will fall and destroy all the slabs. .trapdoors will not hold falling blocks. .

  34. Posted November 1, 2013 at 11:06 | Permalink | Reply

    also I found another bug, if you are in creative and spawn a horse and quickly put a saddle on it as soon as the horse “hatches” from the egg the saddle will hurt it

  35. Posted November 1, 2013 at 11:08 | Permalink | Reply

    also in the wiki, someone posted inappropriate content on the ” donkey” page. can you delete the content and ban the user. I tried editing the page but they keep putting it back

  36. cursedth
    Posted November 1, 2013 at 19:53 | Permalink | Reply

    If you want to know more about the new electronic elements in 1.23::
    survivalcraft.lefora.com/topic/19403872/123-electronics-for-KIDS-and-dummies

  37. Posted November 3, 2013 at 22:55 | Permalink | Reply

    Kaalus can you post in your youtube account how can build a clock in creative mode cause i can understand how can i do it, help me tanks. :)

  38. Posted December 8, 2013 at 22:04 | Permalink | Reply

    All I want to know is how to set it up!

3 Trackbacks

  1. By What does the clock say? | Survival Jaguar on January 9, 2014 at 14:11

    […] The type of time on one digital display depends on which direction you connect the real-time clock to the display. For example, connect the side with three dots to the display, and you get 1/16 a day. For more information on real-time clocks, check out Kaalus’s post: https://kaalus.wordpress.com/2013/10/30/1-23-and-real-time-clock/ […]

  2. […] The type of time on one digital display depends on which direction you connect the real-time clock to the display. For example, connect the side with three dots to the display, and you get 1/16 a day. For more information on real-time clocks, check out Kaalus’s post: https://kaalus.wordpress.com/2013/10/30/1-23-and-real-time-clock/ […]

  3. By What does the clock say? on May 21, 2014 at 00:23

    […] The type of time on one digital display depends on which direction you connect the real-time clock to the display. For example, connect the side with three dots to the display, and you get 1/16 a day. For more information on real-time clocks, check out Kaalus’s post: https://kaalus.wordpress.com/2013/10/30/1-23-and-real-time-clock/ […]

Leave a Reply. No swearing please.

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s