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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timer optimisation
Author Message
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 9 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #1
Timer optimisation
We have a BIG timer problem. 24h real time is in game 29h... So I trying to reduce the number of timer for helping the core.

Here I'll explain what I want to do to remove 4000 useless timer in our shard. Tell me if it's possible.

We have 4000 worldgem_bit spawning interactive item.
EX: A worldgembit for our magic mushroom. There a timer in the gembit for check if mushroom are in place and if not, it will replace the mushroom. THis part is normal.

WHere I think We can optimize is the mushroom itself. When the item is create, the item have a timer and set to decay. When timer go to 0, he go up again to 1800.... What the purpose of this timer??? Just taking ressource on the core?

Here the code of my mushroom

Code:
[ITEMDEF i_champignon_maudit]
DEFNAME=i_champignon_maudit
NAME=Champignons maudits
ID=i_crop_mushroom
weight 0.1

ON=@Create
Color=07ca

There is a way to optimize this? This solution will help to reduce the 5h offset in 24h.

Thx for your advice.

NOTE: For Info the offset problem is not present on X but there is other problem forcing us to come back on 56.

https://www.uocryptonite.com/
(This post was last modified: 02-28-2020 12:06 PM by Jhobean.)
02-28-2020 12:03 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Timer optimisation - Jhobean - 02-28-2020 12:03 PM
RE: Timer optimisation - Coruja - 03-08-2020, 09:36 AM
RE: Timer optimisation - Jhobean - 03-08-2020, 09:56 AM

Forum Jump:


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