ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
VRT (Sdk)
VRT // SdkbowenJan 27, 2003, 6:59pm
[View Quote]
http://www.activeworlds.com/SDK/AW_UNIVERSE_TIME.htm
Call the event : http://www.activeworlds.com/SDK/AW_EVENT_UNIVERSE_ATTRIBUTES.htm --Bowen-- baronJan 27, 2003, 7:23pm
In article <3e3598ff$1 at server1.Activeworlds.com>, someone at someone.net says...
> I was wondering if there is a way to query VRT with the bot SDK. > > news://news.activeworlds.com/3c9b93fe at server1.Activeworlds.com There is a wealth of information in past NG posts. -- Baron johnJan 27, 2003, 7:38pm
Do it yourself....lol
Work out: The computers time from GMT Take/Add the valid amout of time off/on Take off THREE hours VOILA!!! VRT! [View Quote] andrasJan 27, 2003, 8:32pm
[View Quote]
Well,,, that is not the same. Your computer can be off from the atomic clock :)
Bowen's pointer is the correct one to handle/synchronize the uniserver and your computer. -- Andras "It's MY computer" (tm Steve Gibson) sk8man1Jan 28, 2003, 9:17am
Thanks guys. :) Reguarding other posts, for some reason half of them
were deleted... I can't see all of the posts anymore even though my computer is set to download them all. Also as Andras said my computer wouldn't be exactly synchronized to VRT and could cause some problems hehe. Thanks again. :))) [View Quote] sk8man1Jan 28, 2003, 9:51am
Now the problem would have to be converting the numbers that you get
when you call sdk.AwUniverseTime (in VB). The AW sdk help pages aren't too clear and Grimm doesn't have this at all on his pages. O.O Anyone got an example they're willing to share? Thanks, -Sk8man1 (346035) [View Quote] baronJan 28, 2003, 8:01pm
In article <3e366ecc$1 at server1.Activeworlds.com>, someone at someone.net says...
> Now the problem would have to be converting the numbers that you get when you call sdk.AwUniverseTime (in VB). The AW sdk help pages aren't too clear and Grimm doesn't have this at all on his pages. O.O Anyone got an example they're willing to share? > I don't get it, did you check Grimble's post ( news://news.activeworlds.com/3c9b93fe at server1.Activeworlds.com )? The explanation is excellent and there is a small project attached that does what you want (get universe timestamp, check offset with local machine, display VRT). You don't need to translate universe time to a human readable format. Note that sdk.AwUniverseTime is not a method, it's an attribute available in the content of AW_EVENT_UNIVERSE_ATTRIBUTES. Btw about "disappearing" posts...if the post was removed from your local cache you'll have to reset the NG headers. Right click on the SDK NG/Properties/Local file/Reset, this will force OE to download headers again. You can also set OE to not remove old posts, Tools/Options/Maintenance/Uncheck the Delete news messages checkbox. -- Baron scuzJan 28, 2003, 11:29pm
Just a note. In the comwrapper there is a command that should take the
aw_universe_time and convert it into a regular time. [View Quote] sk8man1Jan 29, 2003, 1:16am
Is there anything that's a bit simpler than the bot in the other post...
I'm kinda looking for something that just for example tells you what time it is when you say "/time" or something... I don't mean to be a pain, but the other thing is rather complicated... -Sk8man1(346035) [View Quote] bowenJan 29, 2003, 1:18am
baronJan 29, 2003, 2:59am
In article <3e37477c$1 at server1.Activeworlds.com>, someone at someone.net says...
> Is there anything that's a bit simpler than the bot in the other post... > I'm kinda looking for something that just for example tells you what time it > is when you say "/time" or something... I don't mean to be a pain, but the > other thing is rather complicated... > I can't think of an easier way around this, sorry. My suggestion is to hang in there, break the code to smaller parts and study it till you understand what every line does. Learning can be a pain at times but is worth it if you are serious about coding. Anyway to me there is no real benefit from a bot that replies with VRT when you say "/time" (or any other self made bot) except the benefits you personally gain from the learning process :) -- Baron percipientJan 29, 2003, 6:11am
My method is to keep the difference between the local time and VRT in a
variable, then add it to the current local time whenever VRT is needed. [View Quote] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 01/22/2003 agent1Jan 29, 2003, 4:35pm
[View Quote]
Lots of people... There is a difference between your method and his in that Percipient's is more exact - he gets the VRT once from the Uniserver and then uses the difference later... Not the same as what you said.
-Agent1 bowenJan 29, 2003, 6:10pm
> Lots of people... There is a difference between your method and his in that
Percipient's is more exact - he gets the VRT once from the Uniserver and then uses the difference later... Not the same as what you said. It doesn't look like he said he was getting it from the Uniserver, maybe he was unclear on that or I missed something. Either way it works. --Bowen-- percipientJan 30, 2003, 8:17am
Pardon my lack of clarity. Yes, I meant get VRT from the Uniserver,
once. [View Quote] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 01/21/2003 |