Jump to content
  • 0
skymia

R> This type of NPC

Question

Anyone have npc like this?

Npc will give reward if he completes 10hrs of playing if he or she logout and login again it will continue the time he/she earns and if its completed and recieve the item the this will reset to zero and earn 10hrs again...hope someone have this type of script already thanks in advance

Edited by skymia
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Well you can just use the hourly points. Then when it talks to the npc, it deletes the hourly points. That is possible. Or configure the points when already 10 hours of gameplay. It autogives the item. No need for npc

 

Link to comment
Share on other sites

  • 0
On 3/3/2019 at 7:27 PM, skymia said:

Anyone have npc like this?

Npc will give reward if he completes 10hrs of playing if he or she logout and login again it will continue the time he/she earns and if its completed and recieve the item the this will reset to zero and earn 10hrs again...hope someone have this type of script already thanks in advance

Use sader's Hourly Rewards https://rathena.org/board/files/file/3647-saders-hourly-rewards/
modify the system phrases as you wish 😉

 

Change:

.s_time = 3600000; //	1000 = 1 secend | 60000 = 1 min | 3600000 = 1 houre  , DEFAULT = 3600000 (1 hr)
#HourlyRewards += 1;

for:

.s_time = 36000000; //	1000 = 1 secend | 60000 = 1 min | 3600000 = 1 houre  , DEFAULT = 3600000 (1 hr)
getitem 501,1;

 

and remove the npc shop

 

Link to comment
Share on other sites

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.