![]() |
Time Script
I need to Know the Time Script like off Graal2001?:grrr:
|
Search Me.....(Pulls out pockets and out falls out hundreds of ahand written post-it notes) Uh-oh. GTG!!!!!!! *-_-ZIP!!!!!!
-Rebel95 |
yea is it possible to be put on a non-p2p server?
|
What is a time script I can use for my server?
DONT WORRY! I am doing a graal class at my school. And we are all going to make a server. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Soo..
Back to my post! I really need to know so I can get an "A" My teacher is an ass that knows nothing..ARG!! ANd I am just a "T.A." (Teachers Asst.) |
Quote:
|
Quote:
I could post the daynight(features my Seasons) npc here, but I won't ;) but, for the most part, just use 'mytime=timevar' that will create an automatic time counter. All you have to do is create the graphical part that interprets it ;) |
Could you explain that to me in a EASYIER way?
|
PHP Code:
|
ok to get this out of your worries...
free servers, offline mode, and p2p servers can all use timevar... timevar goes up 1 every 5 seconds and it is not clientside really... like I mean it gets data from the server when it gets your account and stuff... I knows it not clientside because I have 2 computers and I looked at the time on both of them to see if it was one time |
Quote:
|
hmm.
I was 'fooling' around earlier and figured this out.
// NPC made by Josey Hunt if(playerenters&&!hasweapon(Time)){toweapons time; timeout=1;} if (!server.time){ setstring server.time,0;} if (timeout){ showimg 1,@Tahoma@Bold@#v(server.time),100,100;changeimgvi s 1,4;timeout=.5; server.time++; timeout=1;} The time changes every 1 second, alls you had to do is change the placing of the image and a few modifications. I'm to tired right now to do it for you 'peoples' or I would. Oh yea, watch jeepers creepers. It kicks ass! =) |
erm..
to answer alot of those questions. timevar isnt a npc-server only, as enigma graal uses timevar for their time system enigma graal has a time system excactly like g2k1's, except it uses the showimg letters not state.png. just convert timevar, and then do something like if(hour==1){ seteffect blahblahblahblah;} |
Quote:
Thats a funny command somehow x.X;; -freak- |
in non P2P with no NPC server you can't do the time thingy really, as the time won't be going when no one logs on to keep the NPC working, while in NPC server it keeps working while there are no players on it (BTW, there's always one player log on... Teh NPCeh Server)
|
Quote:
or there's another built in var??? I'm confused I'm a Newbie Scripter :confused: |
I understand timevar perfectly
I had no idea we were allowed to use it on free servers though. it counts up 1 every 5 seconds from the point the playerworld went online. and it's the same for everyone. And it doesn't matter if there are players in it or not. it will still count up. All you have to do is make an NPC to interpret timevar into the time. that's it. |
Quote:
|
if you want to turn timevar into a time on a non-p2p here is a start, this will give you hours but you'll have to figure our everything else like minutes and seconds:
NPC Code: |
Quote:
(no need to make the timer) |
What do those 3 things repersent in the time thing?
|
Re: Time Script
Quote:
:D :D :D :D :D |
Re: Re: Time Script
Quote:
|
What school would have a graal class... Where.. Please i do not belive you
|
Quote:
|
Quote:
-_- thats what i was saying, ive already converted it. -_- it works on free servers, and p2p servers. the way i have it is the EXACT same as G2K1 |
You can make Server.vars and server arrays. Its been done befor.
Its just not as concrete as server flags/strings |
Re: Re: Re: Time Script
Quote:
|
| All times are GMT +2. The time now is 08:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.