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
TIMER=1
Author Message
Llirik
Journeyman
*

Posts: 115
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #1
TIMER=1
[itemdef i_account_d]
defname=i_account_d
id=i_guildstone
TYPE=t_normal

ON=@CREATE
ATTR=0c090
timer=1

ON=@Timer
TAG0.T_TEST += 1
SERV.LOG <EVAL <TAG0.T_TEST>>
timer=1
RETURN 1

After 600 seconds he STOP! Sad
(This post was last modified: 10-09-2015 01:17 PM by Llirik.)
10-09-2015 12:54 PM
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: TIMER=1
Check the sectorsleep...
You can place this stone on 1,1 map position, this sector never sleep Big Grin

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.
10-10-2015 12:06 AM
Find all posts by this user Like Post Quote this message in a reply
Llirik
Journeyman
*

Posts: 115
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #3
RE: TIMER=1
This sector sleep too. How I can check the sectorsleep? And set my sector to No Sleep!
10-10-2015 03:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #4
RE: TIMER=1
I don't think you can force any sector to Not Sleep. Using timerf should solve TIMER issues in sectors sleeping.

[ITEMDEF i_account_d]
NAME=Stone
ID=i_guildstone
TYPE=t_script

ON=@CREATE
ATTR=0c090
TIMERF 1, f_test_function_timer

[FUNCTION f_test_function_timer]
TAG0.T_TEST += 1
SERV.LOG <EVAL <TAG0.T_TEST>>
TIMERF 1, f_test_function_timer
10-10-2015 05:55 AM
Find all posts by this user Like Post Quote this message in a reply
Llirik
Journeyman
*

Posts: 115
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #5
RE: TIMER=1
Thank you!
10-10-2015 06:36 AM
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: 1 Guest(s)