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
Happy Train Hours
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
Happy Train Hours
Hi! I need help with a script of happy Hour

I made this functions to change the adv_rate [it's right?]

Code:
[FUNCTION F_SKILLSNUMBER]
serv.skill.0.adv_rate=10,1000,3000 // ALCHEMY
serv.skill.1.adv_rate=10,1000,2200 // ANATOMY
serv.skill.2.adv_rate=10,1000,3000 // ANIMALLORE

[FUNCTION F_HAPPYHOUR]
serv.skill.0.adv_rate=10,900,2800 // ALCHEMY
serv.skill.1.adv_rate=10,500,1500 // ANATOMY
serv.skill.2.adv_rate=10,800,2500 // ANIMALLORE

Now, I had think in a happy hour every 1 day on 1 hour, like:

Code:
[function f_starthappyhour]
timerf 1,f_happyhour
timerf 3600,f_skillnumber
timerf 86400,f_starthappyhour


Any idea?
-The serv.skill.0.adv_rate it's right? 2800 its 280.0 in the script. [That is what I had tested]
-It's right the function f_starthappyhour?


Thanks!

Lazarus.

[Image: 2hy9q0y.png]
(This post was last modified: 11-29-2012 03:22 AM by Lazarus.)
11-29-2012 03:21 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Happy Train Hours - Lazarus - 11-29-2012 03:21 AM
RE: Happy Train Hours - Lazarus - 12-15-2012, 02:22 AM
RE: Happy Train Hours - Shaklaban - 12-16-2012, 12:25 AM

Forum Jump:


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