The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






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: 2 Guest(s)