Game Development Community

Torque3D Destroys Space-Time Continuum

by Steve Acaster · in Torque 3D Professional · 12/06/2012 (3:58 pm) · 7 replies

Disclaimer: Abandon All Hope Ye Who Read This!

I've been arranging files inside T3D by date using:

fileModifiedTime("path/file.ext");

Which returns things like: (day/month/year remember)
21/11/2012^04:50:16

Everything fine until - suddenly - the date starts missing and I'm getting:
^04:50:16

Then "21/11/2012^04:50:16" moves a month on and 15 days into the future and turns into ...
21/12/2012^04:50:16

And something else turns into ... wait for it ...
01/02/3800^00:00:00

The file in my folder says "21/11/2012^04:50:16" but Torque has projected us into the year 3800!

The opinion on irc.maxgaming.net/garagegames is some sort of float overflow but I strong believe that this is the start of the Mayan apocalypse! Oh the huge manity!

Or it could be some sort of data overflow I guess ...

Is happening on every type of T3D I have installed (1.2 and 1.1).

#1
12/06/2012 (4:20 pm)
T2D had no flux capacitor installed (try scheduling anything for a negative time) but T3D is fully equipped!
#2
12/06/2012 (5:06 pm)
Great Scott!
Do you know what this means?!
There will be huge manatees floating in space time!
The end is nigh!
#3
12/06/2012 (7:48 pm)
Here is the guy who wrote that code explaining it: www.youtube.com/watch?v=vY_Ry8J_jdw
#4
12/06/2012 (8:58 pm)
@Tim,
Bah! That guy hasn't a clue about time travel. It is the TARDIS that knows about time travel. Hence the following quote:
Quote:I wanted to see the universe, so I stole a Time Lord and I ran away...

But this is all a moot point since that show is fake. We are talking the real stuff here like Star Trek and Back to the Future. Yeah... ;)
#5
12/07/2012 (12:01 am)
I think where you probably went wrong was getting a Brambleweeny57 sub-meson brain and then linking it to an atomic vector plotter suspended in a Brownian motion generator i.e. a nice hot cup of tea which then caused finite amounts of improbability to be produced hence the bad date.

Alternately it could be a simple numeric overflow but less likely, probably.
#6
12/07/2012 (5:44 am)
Just hook it up to an improbability drive and you're set.

I saw a post on here discussing a fix for getting correct file information, including time data. Think it was in resources within the last month or two....

Aha! http://www.garagegames.com/community/resources/view/21936 - from Nathan. Just glanced, dunno if it fixes what you're looking at specifically.
#7
12/07/2012 (6:35 am)
That's illogical Captain ...

In a single moment we're all almost 1800 years older.

Live long and prosperous...