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
[Suggestion] @Dye improvement
Author Message
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #6
RE: [Suggestion] @Dye improvement
(05-18-2014 12:55 PM)Coruja Wrote:  I wonder if EventsItem is safe to use on a live server with 1.000.000 items :/

As long as you know what you're doing, should not be a problem
most of the items are 'inactive' on player houses/banks and most of the triggers fire on a very specific event. I wouldn't be worried with that unless my event contains code that can potentially hung the server

I got coruja's point, he want something like @BeforeDye to be called on the tub. @TargOn_Item can not decide if the item can be dyed or not, only force it.
A @BeforeDye trigger called on the tub holding writable internal sphere decisions allowing scripts decide if an item can be dyed or not regardless of just checking can_i_dye flag

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
05-19-2014 12:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[Suggestion] @Dye improvement - Coruja - 05-15-2014, 09:56 PM
RE: [Suggestion] @Dye improvement - XuN - 05-15-2014, 10:26 PM
RE: [Suggestion] @Dye improvement - Feeh - 05-16-2014, 03:28 AM
RE: [Suggestion] @Dye improvement - Coruja - 05-18-2014, 12:55 PM
RE: [Suggestion] @Dye improvement - Feeh - 05-19-2014 12:38 AM
RE: [Suggestion] @Dye improvement - XuN - 05-18-2014, 06:00 PM
RE: [Suggestion] @Dye improvement - Coruja - 05-19-2014, 02:58 AM
RE: [Suggestion] @Dye improvement - Ben - 05-20-2014, 09:13 AM

Forum Jump:


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