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
Decay timer
Author Message
Extreme
Grandmaster Poster
***

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

SphereCommunity

Post: #4
RE: Decay timer
Thanks XuN for the explanation.

Don't know if it is a real problem...
What happen is:
- You drop the item on ground;
- @ItemDropOn_Ground is fired and set attr_decay and timer 60.
- After the timer (60), the item don't decay, it gets another timer (set on sphere.ini).

In my opinion, the decay timer is overriding the behaviour at @itemdropon_ground.

I can't test NOW, maybe next week hahaha
But the argn1 thing SHOULD work, if not, if happen the same thing with the timer, its broken.

So here is the script to test:

PHP Code:
ON=@ItemDropOn_Drop
ARGN1 600 
// TENTHS OF SECOND, 60s = 600 

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.
(This post was last modified: 01-28-2014 10:23 PM by Extreme.)
01-28-2014 10:22 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Decay timer - larmc20 - 01-28-2014, 09:49 AM
RE: Decay timer - Extreme - 01-28-2014, 11:55 AM
RE: Decay timer - XuN - 01-28-2014, 06:28 PM
RE: Decay timer - Extreme - 01-28-2014 10:22 PM
RE: Decay timer - Mordaunt - 01-29-2014, 12:54 AM
RE: Decay timer - larmc20 - 01-29-2014, 10:42 AM
RE: Decay timer - victorstelzer - 01-31-2014, 09:36 AM
RE: Decay timer - danielmuller - 06-17-2016, 03:34 AM

Forum Jump:


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