Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Real Time
Author Message
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #11
RE: Real Time
(05-24-2012 07:57 PM)admin phoenix Wrote:  why to set a new spawn item?
check the time via f_onserver_timer and when it is 16:00 o´clock make and
foritem 6400, search for this "special" spawn and restart the timer of the spawn

Yea but how to know if time is 16:00 ?
05-24-2012 10:18 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #12
RE: Real Time
as I wrote.
sphere will start every minute (you can declare the time in the sphere.ini) automaticly the function f_onserver_timer.
there you can check the original time (look at your script. this command is right).
05-24-2012 10:39 PM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #13
RE: Real Time
I set timercall=1 every seccond on serv.log i get - Didn't work ... even when was 16:21

IF STRMATCH("*16:21","<rtime.hoursek>")
serv.newitem i_bandage
NEW.P = 4304,984
NEW.UPDATE
serv.log Work !!!
ELSE
serv.log Didn't work
endif
05-24-2012 11:23 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #14
RE: Real Time
try
serv.log <rtime.hoursek>

and you will see if the time format is the same you wanna know
05-24-2012 11:52 PM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #15
RE: Real Time
Uh found working function, tyvm anyway for helping Smile
(This post was last modified: 05-25-2012 12:14 AM by Alias.)
05-25-2012 12:08 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #16
RE: Real Time
make an reputation *g*
05-25-2012 01:21 AM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #17
RE: Real Time
(05-25-2012 01:21 AM)admin phoenix Wrote:  make an reputation *g*
Thanks! Smile
05-25-2012 01:59 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)