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
Equiped item timers..
Author Message
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Equiped item timers..
Has anyone of you also saw that equiped items in layer_special or t_eq_script, like a timer item, sometimes stay at timer 0 without decaying and then firing on=@timer trigger ?
07-15-2012 05:27 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #2
RE: Equiped item timers..
Happens if the player logs out, I see it all the time, a good way to avoid that is TIMERf xx, function_name or try placing the memory object on the worldmap somewhere a player can't go (jail room's?) - link the memory object to call commands on the player.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-15-2012 07:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #3
RE: Equiped item timers..
Nah does not happen when the player logs out. Its like a 60 seconds timer for a .shout, or for a .vote.
Happens all the time on my GM account but not on a player account, weird stuff, will investigate that.
07-15-2012 11:07 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #4
RE: Equiped item timers..
Well, if the timer always has to take place after X seconds, try calling TIMERF off the object, that'll work properly. Not sure if you have been around since that feature was add:
Code:
<obj.>timerf x, func_name
calls func_name after x seconds on <obj.>

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-15-2012 02:25 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #5
RE: Equiped item timers..
Yeah figured out that fix already instead of using memory items with timers. Thanks.
07-18-2012 04:11 AM
Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #6
RE: Equiped item timers..
Its about Sectorsleep. Damnit.
07-23-2012 05: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)