3790 posts
Location
Lincoln, Nebraska
Posted 04 September 2012 - 05:15 AM
Here is a simple, easy to read clock for your Minecraft world, or server. This clock will display the current Minecraft time in large numbers on the screen.
Hope you like it!
Pastebin linkScreenshot
56 posts
Location
Victoria, AUS
Posted 04 September 2012 - 08:45 AM
It seems that you have posted a link to 'Master Control' by yourself, is this the clock or did you give the wrong link?
3790 posts
Location
Lincoln, Nebraska
Posted 04 September 2012 - 03:40 PM
Haha, you're right. Fixed the link. Wasn't thinking when I pasted.
35 posts
Location
Norway
Posted 04 September 2012 - 05:52 PM
Couldn't you, instead of
local colon = {
" ",
" _ ",
"(_)",
" ",
" _ ",
"(_)"
}
do
local colon = [[" "
" _ "
"(_)"
" "
" _ "
"(_)"]]
though? Haven't tested it, but that should do the same.
3790 posts
Location
Lincoln, Nebraska
Posted 04 September 2012 - 08:24 PM
I tried that, but it didn't like it for some reason…
5 posts
Posted 06 September 2012 - 07:24 PM
I keep getting the error "attempt to get length of nil" when I try to run the clock any advice on how to fix it.
318 posts
Location
Somewhere on the planet called earth
Posted 06 September 2012 - 07:27 PM
Does it say a number before "Attemted to get lenght of nil" The number means line number.
On-Topic I love this. So nice display of time
5 posts
Posted 06 September 2012 - 07:30 PM
Does it say a number before "Attemted to get lenght of nil" The number means line number.
On-Topic I love this. So nice display of time
Yeah it say's line 11
On-topic I also like the clock design.
318 posts
Location
Somewhere on the planet called earth
Posted 06 September 2012 - 07:41 PM
Make sure sSide is written like that. And that you used the right brackets after it
Lua is case sensitive, therefor sSide is not equal too sside
5 posts
Posted 06 September 2012 - 07:59 PM
Make sure sSide is written like that. And that you used the right brackets after it
Lua is case sensitive, therefor sSide is not equal too sside
I have everything the exact same way it is in the pastebin file but i still get the error.
Everything is in the right casing.
3790 posts
Location
Lincoln, Nebraska
Posted 06 September 2012 - 08:49 PM
I tested the code again, but received no error. How did you copy the program?
5 posts
Posted 07 September 2012 - 06:53 PM
I just copy pasted it.
3790 posts
Location
Lincoln, Nebraska
Posted 07 September 2012 - 07:22 PM
I just copy pasted it.
Where did you copy it to? If you edited a program to copy it to your terminal through notepad, it should work. Otherwise, it will give you problems trying to paste directly to Computercraft.
5 posts
Posted 07 September 2012 - 07:48 PM
I just copy pasted it.
Where did you copy it to? If you edited a program to copy it to your terminal through notepad, it should work. Otherwise, it will give you problems trying to paste directly to Computercraft.
Well that would explain it, i copied it directly
2 posts
Posted 26 February 2013 - 09:47 AM
Could you make a version of your code but with the time of the "reality" ? Tanks so much if you do that
3790 posts
Location
Lincoln, Nebraska
Posted 26 February 2013 - 10:13 AM
Could you make a version of your code but with the time of the "reality" ? Tanks so much if you do that
Meh. Not super interested in doing so, considering I would have to make some sort of support for each of the 24 timezones. Not really interested in delving into the code again.
767 posts
Posted 26 February 2013 - 10:17 AM
Could you make a version of your code but with the time of the "reality" ? Tanks so much if you do that
Meh. Not super interested in doing so, considering I would have to make some sort of support for each of the 24 timezones. Not really interested in delving into the code again.
and RemiX, did already make a Clock program… so there is no need for that.