Marcabru
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 Mass Effect PC
Joined: 27 Oct 2002 From: Guadalajara, MEXICO |
Posted: Tuesday, 01 March 2005 06:34PM |
Greetings to all dedicated builders. Does any one have an idea of how accurate is the Aurora millisecond timer?
Marcabru |
|
Odin_Tyralothe
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 03 Sep 2004 |
Posted: Tuesday, 01 March 2005 08:45PM |
One would assume from the name "millisecond" that the accuracy is to the millisecond
10^-3 seconds or, 0.01 seconds |
|
Marcabru
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 Mass Effect PC
Joined: 27 Oct 2002 From: Guadalajara, MEXICO |
Posted: Tuesday, 01 March 2005 09:22PM |
Ok... That kind of quip does not help. You're falling prey of the name fallacy, the assumption that the name makes the thing. By your logic, then, any person called "George Washington" must be the first president of the USA. You are confusing the representation with the represented thing. A representation of a pipe (as Magritte's famous painting shows) is not a pipe. Closer to my inquiry, in the default time configuration of NWN, what is called "one hour" does not correspond to one hour in REAL time, now, does it? By your logic, then, if it's called "one hour" then it must be one hour. My question was to what extent what is called "one millisecond" in the toolset actually corresponds to what in REAL time is one millisecond. So, please, spare me cheap wisdom.
MarcabruEdited By Marcabru on 03/01/05 21:23 |
|
Lilac Soul
Moderator Game Owner
NWN NWN: SoU NWN: HotU SW: KotOR PC Jade Empire:SE
Joined: 30 Nov 2002 From: Denmark |
Posted: Tuesday, 01 March 2005 10:12PM |
No reason to lash out at people trying to help you... If you wanted such a specific answer, you could have given a more specific question.
Anyways, back to the question at hand: Not a clue. I suspect it probably uses the system clock, but I have nothing to base that assumption on. What kind of system are you coming up with that requires this accuracy?
One thing I've heard, however, is that milliseconds aren't updated during the running of a script. So, several calls to GetMilliSecond within the same script should always have the same result. I haven't tested this, however, so I can't confirm it, it's just what I've heard. _________________ LILAC SOUL'S SCRIPT GENERATOR 2.3 My other works http://nwn1.nwn2lexicon.com |
|
Cereborn
Game Owner
NWN NWN: SoU NWN: HotU
Joined: 06 Jun 2002 |
Posted: Tuesday, 01 March 2005 10:17PM |
BW probably uses the multmedia timer on windows, so it should theoretically be better than just the vanilla system clock, but that doesn't prove much - I would not want to depend on ms accuracy - it's not like your getting direct access to that timer... _________________ The NESS User's Guild: |
|
Lilac Soul
Moderator Game Owner
NWN NWN: SoU NWN: HotU SW: KotOR PC Jade Empire:SE
Joined: 30 Nov 2002 From: Denmark |
Posted: Tuesday, 01 March 2005 10:22PM |
Quote: Posted 03/01/05 22:17:30 (GMT) by Cereborn
BW probably uses the multmedia timer on windows, so it should theoretically be better than just the vanilla system clock, but that doesn't prove much - I would not want to depend on ms accuracy - it's not like your getting direct access to that timer...
Pure speculation, but since NWN is available for both Linux and Mac, I doubt it's the Windows timer that's being used. _________________ LILAC SOUL'S SCRIPT GENERATOR 2.3 My other works http://nwn1.nwn2lexicon.com |
|
Cereborn
Game Owner
NWN NWN: SoU NWN: HotU
Joined: 06 Jun 2002 |
Posted: Tuesday, 01 March 2005 10:26PM |
Absolute speculation (hence the use of the word *probably*). Don't know where you code, but where we code we have things called ifdefs that lets us use the features we need from different operating systems I shudder at the thought of having to write a game using the stock windows timer. _________________ The NESS User's Guild: |
|
Gredgen of the Abyss
Game Owner
NWN
Joined: 04 Jan 2003 |
Posted: Tuesday, 01 March 2005 11:53PM |
I don't know the answer to this either.
I do know I use many triggers /w delay commands anywhere from 8 to .1 seconds. I didnt even know you could go out to .01
It seems pretty accurate as I use dozens of these at a time in single scripts to make events happen in my multiplayer mod.
Only time I ever had a problem was teleporting a pc who was knocked down hahahahaEdited By Gredgen of the Abyss on 03/01/05 23:53 |
|
EPOlson
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 01 Dec 2002 |
Posted: Tuesday, 01 March 2005 11:54PM |
|
I know the clock is not updated every millisecond. In a test I had several delayed scripts all start and finish in the same millisecond. Then, the time jumped ahead by seconds. When it is updated, it is probably very accurate. If you want fine grain timing, you will need to do something else. |
|
Marcabru
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 Mass Effect PC
Joined: 27 Oct 2002 From: Guadalajara, MEXICO |
Posted: Wednesday, 02 March 2005 02:05AM |
Lilac, with all due respect, I saw absolutely nothing in the first reply that constituted a sincere attempt to help. Being treated sarcastically as a mentally-challenged person is not my idea of help. I believe my question was reasonably specific.
Otherwise, many thanks for all the *true* attempts to help. I believe it is an important issue, especially for the kind of use I shall give to the toolset, about which all will learn in due time.
MarcabruEdited By Marcabru on 03/02/05 02:09 |
|
Cereborn
Game Owner
NWN NWN: SoU NWN: HotU
Joined: 06 Jun 2002 |
Posted: Wednesday, 02 March 2005 03:35AM |
Wow. You have a chip the size of the rock of gibraltar on your shoulder - it's not going to buy you much here.
If the resolution of the clock is going to be that important to whatever grand scheme it is that your planning, I suggest you re-plan. Good luck. _________________ The NESS User's Guild: |
|
Marcabru
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 Mass Effect PC
Joined: 27 Oct 2002 From: Guadalajara, MEXICO |
Posted: Saturday, 05 March 2005 06:21PM |
My apologies... Was kinda cranky that day... WOn't happen again...
Marcabru |
|