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-nmm6 (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-nmm6 (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-nmm6 (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
Help item decay
Author Message
darksoulfe
Journeyman
*

Posts: 60
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2013
Reputation: 0



Post: #1
Help item decay
Good afternoon folks
I need some help from you.

1- I would like to know if there is any way I can add the decay time of the item within this menu. And when he plays on the floor inside the menu appears the time falling until arriving at the time of decay.

If we do not have the first solution now comes the second

2- I need to know how to make an event that when I click once on the item on the floor an item message appears saying "The decay time is x minutes and seconds"

Thank you and I am waiting for your help.


Attached File(s) Thumbnail(s)
   
02-01-2018 04:21 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Help item decay
For the second one, add a general event in EventItem in the sphere.ini

In this event use the @DropON_Ground trigger and make the items say his timer property by using say <argn1>

See:
http://wiki.spherecommunity.net/index.ph...pOn_Ground
02-01-2018 05:34 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #3
RE: Help item decay
but if some items with timers can be exploited so be carefull. For example u have some item which has 1hour cooldown and u handle it with timer so they can drop it on ground and take back to change timer.
02-01-2018 06:09 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)