Jump to content
  • 0

R> This type of NPC


skymia

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

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