This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
computercraftrules89's profile picture

Weird os.time command problem

Started by computercraftrules89, 07 December 2012 - 11:32 PM
computercraftrules89 #1
Posted 08 December 2012 - 12:32 AM
Hi all updated to minecraft 1.4.5 got the latest forge at the time and installed computercraft 1.47 along with alot of other mods.

whenever I type and enter time it shows up correctly.

but when I use
print(os.time()) it says 0.00 am all the time and never changes.

same with write(textutils.formatTime(os.time(),true)) or any other way I use this command
this worked in minecraft 1.4.2 with computercraft 1.46

Don't know if this is a bug or if commands have changed or what.

this command is just for the minecraft world time.
PixelToast #2
Posted 08 December 2012 - 02:43 AM
im not getting this
http://puu.sh/1y7SS
.-.
Cloudy #3
Posted 08 December 2012 - 03:34 AM
That happens during startup for some reason. It's a bug in CC. I'll look into fixing it.