sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 4, 2006 1:19:43 GMT -5
ahso i've jes gone from the documentation which says source --- Where the function was defined. If the function was defined in a string (through loadstring), source is that string. If the function was defined in a file, source is the file name prefixed with a `@ยด.Strange, but Lua does what it does. From what Tiny was saying, he didn't change anything to the Lua core except remove the loadlib() function. This may be an example where they got something wrong in the documentation, but after seeing the results from the function in Lunar. The result I came up with is exactly what it did. Also, I guess it can be thought of that a filename assumes that it's a file within the dame directory, but you can always put a path in to specify a location otherwise.
|
|
imk
New Member
madness?
Posts: 13
|
Post by imk on Feb 14, 2006 2:54:24 GMT -5
one thing ive noticed is that any airship script/etc that i use, the times are always wrong... ive never seen one correct one... and its not like theyre seconds off, theyre off by at least 3-4 minutes
|
|
sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 14, 2006 8:57:11 GMT -5
one thing ive noticed is that any airship script/etc that i use, the times are always wrong... ive never seen one correct one... and its not like theyre seconds off, theyre off by at least 3-4 minutes Pretty much every script/program that calculates the game time does so from the local clock on your system. If your clock is off, the game time will be off too. A must do before using any game timer is to sync your computer's clock. Another thing is that most Airship timers calculate the time of departure instead of arrival. One that I'm working on calculates the arrival then switches to departure when the ship arrives. It also shows whether an airship is in transit or at the docks.
|
|
imk
New Member
madness?
Posts: 13
|
Post by imk on Feb 14, 2006 18:27:17 GMT -5
i sync my clock religiously... ive done that for years and years and years now... i have it autosync every five minutes with ntp so my clock is always accurate... ive set the correct gmt offset as well as tried to tweak the seconds to get it accurate and its still pretty far off... =/
|
|
sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 15, 2006 14:40:10 GMT -5
Hmm, every timer I've seen has been pretty accurate. They all are based off the departure time, so I just take 2 mins exactly off each time and find that to be pecise with the airship's arrival time.
I still need to do some work on my timer, but mine displays 3 times per airship. The 2 times for each dock then the time of the airship status (time remaining in transit or at dock) along with a status indicator saying where an airship is heading or what dock it's at.
|
|