Jump to content
Sign in to follow this  
Diconfrost VaNz

[v2.0]Basic Premium System

Recommended Posts

Can you optimize these functions, also remove these labels. I had removed the labels for you, just that it seems that you have not seen the script. ;)
 
Only tips!

Share this post


Link to post
Share on other sites

 

Reference: http://herc.ws/board/topic/204-helppremium-system/

 

 

I've made a basic premium system.

It will give exp/drop boost to all vip/premium users and even change your group_id.

 

How to use it:

 

1st) make a custom item that will serve as "VIP Ticket". must be a usable item.

item script:

 

 

callfunc "getPremium", <# of Days> * 24 * 3600; 

 

 

2nd) Install the npc script in your svn.

 

http://upaste.me/9a5e54350fc1eb32

 

 

3rd) Try it biggrin.png

 

 

2.0 Feature Added: @premium command

 

 

 

Special Thanks to Jezu, clydelion and Dastgr

 

 

can you explain about double drop and double exp???from your formula guys?

Share this post


Link to post
Share on other sites

the global reg value is not updating.. and the #PremiumUser is not saving on global_Reg_value need help

Share this post


Link to post
Share on other sites

Fixed Bug and update the script.

 

http://upaste.me/917c58833330ca77

 

Remind to put this 

 

callfunc "getPremium", 7 * 24 * 3600; 

7 = days

 

And used this with a item usable.

example:

20500,Premium_Pass,Premium Pass,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "getPremium", 7 * 24 * 3600; },{},{} 
Edited by Dynasty

Share this post


Link to post
Share on other sites

 

Fixed Bug and update the script.

 

http://upaste.me/917c58833330ca77

 

Remind to put this 

 

callfunc "getPremium", 7 * 24 * 3600; 

7 = days

 

And used this with a item usable.

example:

20500,Premium_Pass,Premium Pass,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "getPremium", 7 * 24 * 3600; },{},{} 

still not working dude

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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