[v2.0]Basic Premium System

menu? 
default_huh.png


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

 
Only tips!
 
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?

 
not working

relog and @premium not showing time

+

this

4q0oau.jpg


dx1ld1.jpg


 
Last edited by a moderator:
the global reg value is not updating.. and the #PremiumUser is not saving on global_Reg_value need help

 
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:

Code:
20500,Premium_Pass,Premium Pass,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "getPremium", 7 * 24 * 3600; },{},{} 
 
Last edited by a moderator:
Back
Top