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
Daily Event Problem
Author Message
Extreme
Grandmaster Poster
***

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

SphereCommunity

Post: #10
RE: Daily Event Problem
Try this first:
PHP Code:
[ITEMDEF i_event_ooze_timer]
NAME=Ooze Gooze Timer
TYPE
=t_normal
ID
=i_grave_stone

ON
=@CREATE
ATTR
=090
MORE1
=0

ON
=@TIMER
SERV
.B TIMER IS FIRED...
RETURN 


Did it work?
Then use this now:
PHP Code:
[ITEMDEF i_event_ooze_timer]
NAME=Ooze Gooze Timer
TYPE
=t_normal
ID
=i_grave_stone

ON
=@CREATE
ATTR
=090
MORE1
=0

ON
=@TIMER
SERV
.NEWNPC=c_event_ooze
IF <dMORE1>
 NEW.
P=<R5463,5465>,<R1133,1135>,22
 
NEW.UPDATE
 
NEW.FIX
ELSE
 NEW.
P=5463,1133,22
ENDIF
NEW.
UPDATE
NEW.FIX
serv
.allclients f_broadcast_oozegooze @09c1 [Ooze Gooze]: An Ooze Gooze has been spawned!
MORE1 += 1
IF <dMORE1> >= 30
TIMER 
-1
RETURN 1
ENDIF
TIMER=<eval (30-<dMORE1>)>
SERV.<dMORE1>
RETURN 


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.
04-10-2014 01:58 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Daily Event Problem - Van Glan Bloom - 04-07-2014, 09:40 AM
RE: Daily Event Problem - Alaric - 04-07-2014, 08:26 PM
RE: Daily Event Problem - Mordaunt - 04-07-2014, 11:29 PM
RE: Daily Event Problem - Van Glan Bloom - 04-08-2014, 01:32 AM
RE: Daily Event Problem - Van Glan Bloom - 04-09-2014, 03:08 AM
RE: Daily Event Problem - Extreme - 04-09-2014, 03:40 AM
RE: Daily Event Problem - Van Glan Bloom - 04-09-2014, 08:39 PM
RE: Daily Event Problem - darksun84 - 04-09-2014, 08:48 PM
RE: Daily Event Problem - Van Glan Bloom - 04-09-2014, 10:42 PM
RE: Daily Event Problem - Extreme - 04-10-2014 01:58 AM
RE: Daily Event Problem - Van Glan Bloom - 04-10-2014, 02:55 AM
RE: Daily Event Problem - Extreme - 04-10-2014, 05:07 AM
RE: Daily Event Problem - Van Glan Bloom - 04-11-2014, 01:09 AM
RE: Daily Event Problem - XuN - 04-11-2014, 03:30 AM
RE: Daily Event Problem - Van Glan Bloom - 04-12-2014, 02:51 AM
RE: Daily Event Problem - Van Glan Bloom - 04-12-2014, 10:41 PM
RE: Daily Event Problem - Van Glan Bloom - 09-29-2014, 04:46 AM
RE: Daily Event Problem - Extreme - 09-29-2014, 05:12 AM

Forum Jump:


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