Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-12-2008, 03:33 AM
RyDaze RyDaze is offline
Graal682686
RyDaze's Avatar
Join Date: Sep 2007
Location: Utopia
Posts: 43
RyDaze is an unknown quantity at this point
Send a message via AIM to RyDaze Send a message via MSN to RyDaze
Question How To: Get Date? D=

Ok, I want to learn how to make a function to get the current date in real life..

so something like where it returns, this.date = "1/11/2008"; or something so I can use it for some of my personal scripts.

Any idea's how I would go about this?, getting the date in graal?
__________________

Support Center | Forum Rules | Graal Staff Contacts

A little knowledge is dangerous. So is a lot.



Reply With Quote
  #2  
Old 01-12-2008, 03:39 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
http://forums.graalonline.com/forums...ad.php?t=72260

=D
Reply With Quote
  #3  
Old 01-12-2008, 03:52 AM
RyDaze RyDaze is offline
Graal682686
RyDaze's Avatar
Join Date: Sep 2007
Location: Utopia
Posts: 43
RyDaze is an unknown quantity at this point
Send a message via AIM to RyDaze Send a message via MSN to RyDaze
Thanks
__________________

Support Center | Forum Rules | Graal Staff Contacts

A little knowledge is dangerous. So is a lot.



Reply With Quote
  #4  
Old 01-12-2008, 05:41 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Even that get inaccurate, wait for timevar3. =]
__________________
Deep into the Darkness peering...
Reply With Quote
  #5  
Old 01-12-2008, 06:03 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I personally don't see why you'd want to use it for your server... I guess for logging and such? But for gameplay, I say make up a faster clock. It's much more appealing for players.
Also Angel is right, it does get inaccurate as apparently timevar2(which it is based off of), doesn't stay accurately sync'ed with the server.
Reply With Quote
  #6  
Old 01-12-2008, 06:04 AM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
I thought you were asking people how to get a date when I read the title...

Now I feel kinda silly.
__________________

Don Hertzfeldt <3

Last edited by smirt362; 01-12-2008 at 06:18 AM..
Reply With Quote
  #7  
Old 01-12-2008, 06:33 AM
Jeffyy Jeffyy is offline
Graphics Artist
Jeffyy's Avatar
Join Date: Dec 2007
Location: USA, NJ
Posts: 82
Jeffyy is an unknown quantity at this point
http://www.eharmony.com/
;]
Reply With Quote
  #8  
Old 01-12-2008, 06:48 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Jeffyy View Post
;]
Quote:
Originally Posted by Forum Rules
c) You are not permitted to make external links or URL's (whether they be clickable links, copy and paste, etc...), if they are not pointing to a Graalonline made/ran site, or websites for playerworlds (wiki.graal.net , graal.net, graalonline.com, the support center, etc..., or sites for Playerworlds) . In some very rare cases, we may accept some links after being approved by a administrator or super moderator. Sites for Playerworlds will be moderated for inappropriate content, and will be removed if found inappropriate.
This means that no links are allowed at all outside of the lounge except the ones stated above, without permission from the supermods or or admins
This also means, no links are allowed in signatures other than ones mentioned above unless approved.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #9  
Old 01-12-2008, 08:44 AM
MrAnonymous_P2P MrAnonymous_P2P is offline
Retired Oldbie
MrAnonymous_P2P's Avatar
Join Date: Oct 2006
Location: Cambodia
Posts: 722
MrAnonymous_P2P is an unknown quantity at this point
Quote:
Originally Posted by Tigairius View Post
Yay for Tig to ruin a joke again! .... Oh wait
Reply With Quote
  #10  
Old 01-12-2008, 09:04 PM
Jeffyy Jeffyy is offline
Graphics Artist
Jeffyy's Avatar
Join Date: Dec 2007
Location: USA, NJ
Posts: 82
Jeffyy is an unknown quantity at this point
Oops D:
Reply With Quote
  #11  
Old 01-13-2008, 05:25 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by Angel_Light View Post
Even that get inaccurate, wait for timevar3. =]
There is nothing inaccurate about it.

PS: I died laughing when I read the thread title.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.