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
-kill unlogged and -kill logged
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
-kill unlogged and -kill logged
Hi!

I want to change something that i don't know if it works only bad for me Sad

The KILLS in my shard only get decay [down] when the character is ONLINE using the line in sphere.ini :

Code:
// Seconds time to decay a murder count
MurderDecayTime=5*60*60


This only works if the character is online.
So, I wanna do something like: If it is online, the character get dropped the murderdecaytime of sphere.ini time.

If it's offline, the character get's dropped every another time Shock [Like 8 hours online and 15 hours offline]


any idea? Using a item memory it's the way that I will do it, but, it's better any other way?

Thanks

Lazarus.

[Image: 2hy9q0y.png]
12-07-2012 12:10 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: -kill unlogged and -kill logged
f_onserver_timer would be a better way to handle offline players.

[Image: 2nis46r.jpg]
12-07-2012 12:14 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #3
RE: -kill unlogged and -kill logged
(12-07-2012 12:14 PM)Mordaunt Wrote:  f_onserver_timer would be a better way to handle offline players.

forallclients?
-kill? haha

[Image: 2hy9q0y.png]
12-07-2012 01:08 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: -kill unlogged and -kill logged
No.... use it as the timer to run a function.

Obviously you would isolate it to those offline with murderer counts.

[Image: 2nis46r.jpg]
(This post was last modified: 12-07-2012 10:29 PM by Mordaunt.)
12-07-2012 10:26 PM
Visit this user's website 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)