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
Regarding Time Online
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #8
RE: Regarding Time Online
(08-06-2013 02:44 AM)Mordaunt Wrote:  If you're not wanting to carry any time from the previous session you could use ctag instead of tag, which is automatically removed when a player logs out, thus reducing memory usage for your server.

Thanks for the tip Mordaunt! They are always welcome.

(08-06-2013 03:19 AM)darksun84 Wrote:  Pay attention to use timerf.
If the player logs out , timerf will still continue to run(while a timer item will stop), also you can't stop a timerf function without actually stopping all the timerf functions a player have! So you have to add some check for preventention(like checking if the player is online when the timerf finish)

Thanks for the tip, darksun!

I haven't tested TIMERF in this case yet, but I'm sure a timer item will not stop. o:
I know that because I have a script to stop the timer from a certain memory.

Or are you talking about something else? =P
(This post was last modified: 08-06-2013 04:03 AM by pinku.)
08-06-2013 04:03 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Regarding Time Online - pinku - 08-05-2013, 01:56 PM
RE: Regarding Time Online - Rattlehead - 08-05-2013, 02:03 PM
RE: Regarding Time Online - pinku - 08-05-2013, 02:28 PM
RE: Regarding Time Online - Rattlehead - 08-05-2013, 05:53 PM
RE: Regarding Time Online - pinku - 08-06-2013, 01:15 AM
RE: Regarding Time Online - Mordaunt - 08-06-2013, 02:44 AM
RE: Regarding Time Online - darksun84 - 08-06-2013, 03:19 AM
RE: Regarding Time Online - pinku - 08-06-2013 04:03 AM
RE: Regarding Time Online - darksun84 - 08-06-2013, 04:08 AM
RE: Regarding Time Online - Mordaunt - 08-06-2013, 05:28 AM
RE: Regarding Time Online - pinku - 08-06-2013, 05:35 AM
RE: Regarding Time Online - Mordaunt - 08-06-2013, 06:01 AM
RE: Regarding Time Online - Rattlehead - 08-06-2013, 07:42 AM
RE: Regarding Time Online - Coruja - 08-09-2013, 04:04 PM
RE: Regarding Time Online - Rattlehead - 08-13-2013, 07:43 AM
RE: Regarding Time Online - Coruja - 08-14-2013, 04:19 AM
RE: Regarding Time Online - Rattlehead - 08-14-2013, 08:16 AM
RE: Regarding Time Online - RanXerox - 08-15-2013, 12:42 AM
RE: Regarding Time Online - Mordaunt - 08-15-2013, 01:17 AM
RE: Regarding Time Online - Coruja - 08-15-2013, 03:26 AM
RE: Regarding Time Online - Rattlehead - 08-15-2013, 08:30 AM
RE: Regarding Time Online - Mordaunt - 08-15-2013, 09:07 AM
RE: Regarding Time Online - Rattlehead - 08-15-2013, 12:40 PM

Forum Jump:


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