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
Function f_onserver_timer issue
Author Message
PePs1Man
Apprentice
*

Posts: 32
Likes Given: 8
Likes Received: 2 in 2 posts
Joined: Jun 2017
Reputation: 0



Post: #1
Function f_onserver_timer issue
Hello everyone,

I am having issues with the function F_ONSERVER_TIMER.

Let's say I have TIMERCALL=2 in the ini settings and use the following function:

Code:
[FUNCTION f_onserver_timer]
serv.log f_onserver_timer called

To my knowledge, the timer should be triggered every two minutes, am I right?

But in practice, here's what I log for that fucntion:

Code:
02:54:(functions_f_command.scp,22)f_onserver_timer called
03:14:(functions_f_command.scp,22)f_onserver_timer called
03:34:(functions_f_command.scp,22)f_onserver_timer called
03:54:(functions_f_command.scp,22)f_onserver_timer called
04:14:(functions_f_command.scp,22)f_onserver_timer called
04:34:(functions_f_command.scp,22)f_onserver_timer called
04:54:(functions_f_command.scp,22)f_onserver_timer called
05:14:(functions_f_command.scp,22)f_onserver_timer called
05:34:(functions_f_command.scp,22)f_onserver_timer called
05:54:(functions_f_command.scp,22)f_onserver_timer called
06:14:(functions_f_command.scp,22)f_onserver_timer called
06:34:(functions_f_command.scp,22)f_onserver_timer called
06:54:(functions_f_command.scp,22)f_onserver_timer called
07:14:(functions_f_command.scp,22)f_onserver_timer called
07:34:(functions_f_command.scp,22)f_onserver_timer called
07:54:(functions_f_command.scp,22)f_onserver_timer called
08:14:(functions_f_command.scp,22)f_onserver_timer called
08:34:(functions_f_command.scp,22)f_onserver_timer called
(World save and GC data was trimmed out of this log)

I wanted to confirm with you guys prior sending this to the bugtracker.

Oh and here is my sphere release version:
Sphere Version 0.56c-Release [WIN32] by http://www.spherecommunity.net, compiled at Apr 10 2016 (16:50:52) [build 2807 / GIT hash 0dc0ebf]

Thanks and have a great day,

PePsiMan
06-23-2017 10:47 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Function f_onserver_timer issue
Was fixed in September 2016 Build.

05-09-2016, Coruja
Fixed: TimerCall setting on sphere.ini using wrong time format (hours instead minutes) to call f_onserver_timer function.
06-23-2017 11:13 PM
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)