Jump to content
  • 0

Floating Rates triggered by gettimetick()


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Hi! Like what the title says , I want to ask and Im very curious if is it possible to 'trigger' the floating rates using that script ?? mr. @Tokei helped me on my old script wherein players are required to donate zeny on floating rates npc and when they reached the maximum required donates the NPC will activate for 24hours and continue on changing rates every hour while event is active ... 

 

but the problem on that script was, the timer for changing the rate is using OnMinute00 .. So, If I activate the Event on 02:30pm, instead of having a 24hour countdown it will only give me 23hours and 30minutes because the first 30minutes have already passed ... 

 

Now, Im thinking of using gettimetick command to change the rates every time the timer losses 1hour or 60minutes .. Timer will trigger after I give what the NPC is askin like;

'$fr_delay = gettimetick(2) + (.fr_delay * 3600);'

set .fr_delay,24; 

then every hour that will pass will change the rates 

 

I hope you understand my question ..I have a very bad english tho ... Hope someone notice my question and if possible please help me construct the whole script coz im not good at it thankyou 

 

btw! heres line to the script given by sir @Tokei .. all credits to this kind dev
 

Quote

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...