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-nmm7 (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-nmm7 (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-nmm7 (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
timerf executed on serv
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #1
timerf executed on serv
sometimes timerf executed on serv, instead of called object. for example:

PHP Code:
[events e_paragon]
on=@regionenter
timerf 1
,paragon_check


[function paragon_check]
serv.log <uid> <baseid> <name
if (<
ischar>) //sometimes this line gives error
    
return 0
... 

when second gives error, on serv.log function <name> is the name of my server so if i add

PHP Code:
[function paragon_check]
if !(<
uid>)
    return 
0
elif 
(<ischar>) 
    return 
0
... 

error never happens but im just interested, why timerf called on serv. sometimes? i test timerf with deleting objects but when object is deleted, timerf also destroyed. so there must be another reason.
(This post was last modified: 08-20-2012 12:35 AM by Shaklaban.)
08-20-2012 12:34 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: timerf executed on serv
Thats because you need set what object will have the timer.

If you're using it in on=@regionenter, <uid> is the player? Maybe 'try uid.<uid>.timerf' fix your problem, maybe not.

I never get this problem.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-20-2012 09:45 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #3
RE: timerf executed on serv
its on generic npc event.
08-20-2012 12:10 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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