hendra814

Utility: VIP System

Recommended Posts

VIP System


This is for get VIP status with cash point

can edit at this point

Quote

don't forget to enable VIP system at

src\config\core.h

Quote

/// Uncomment to enable VIP system.
#define VIP_ENABLE

to add bonus for VIP edit this file

rathena\conf\battle\player.conf

Quote

//===================================
// VIP system
//===================================
// Storage slot increase. Setting to 0 will disable.
// Give more storage slots above the MIN_STORAGE limit.
// Note: MIN_STORAGE + vip_storage_increase cannot exceed MAX_STORAGE.
// Default: 300
vip_storage_increase: 300

// Base experience rate increase. Setting to 0 will disable. (Note 2)
// Default: 50
vip_base_exp_increase: 50

// Job experience rate increase. Setting to 0 will disable. (Note 2)
// Default: 50
vip_job_exp_increase: 50

// Experience penalty rate multiplier for VIP accounts.
// Default: 100 (100 = 1% penalty)
vip_exp_penalty_base: 0
vip_exp_penalty_job: 0

// Zeny penalty for VIP accounts.
// Zeny loss only happens if the player dies from another player.
// Default: 0 (100 = 1% penalty)
vip_zeny_penalty: 0

// Battle Manual experience increase. Setting to 0 will disable.
// - Regular/Thick Battle Manual: 50+(50/X) = 75%
// - HE Battle Manual: 100+(100/X) = 150%
// - Battle Manual x3: 200+(200/X) = 300%
// Note: X is the config value.
// Default: 2
vip_bm_increase: 2

// Item drop increase. Setting to 0 will disable.
// Note: 50 = 50% item_drop increase.
// For item_rate = 200: 200 * 50 / 100 = 100 bonus rate added to the 200 base giving total rate of 300.
// Default: 50
vip_drop_increase: 50

// Gemstone requirement.
// Can the VIP Group ignore Gemstone requirement for skills?
// 0 = Disable
// 1 = Behave like Mistress Card
// 2 = Remove all gemstone requirements (default)
vip_gemstone: 2

// Will display rate information (EXP, Drop, and Death penalty message)? (Note 1)
vip_disp_rate: yes

 


  • Submitter
  • Submitted
    05/19/2017
  • Category
  • Video
  • Content Author
    hendra814

 

  • Upvote 1

Share this post


Link to post
Share on other sites
On 5/19/2017 at 11:41 PM, hendra814 said:

VIP System


This is for get VIP status with cash point

can edit at this point

don't forget to enable VIP system at

src\config\core.h

to add bonus for VIP edit this file

rathena\conf\battle\player.conf

 


 

thanks

Share this post


Link to post
Share on other sites

thanks for this but one thing. This VIP tier level possible? for example

VIP Level 1 = 20% increase exp and drop
VIP Level 2 = 30% increase exp and drop
and so forth.


 

Share this post


Link to post
Share on other sites
On 5/23/2017 at 5:48 AM, Yonko said:

thanks for this but one thing. This VIP tier level possible? for example

VIP Level 1 = 20% increase exp and drop
VIP Level 2 = 30% increase exp and drop
and so forth.


 

 
 

I might able to write ths however if we have an existing commmand like this.
it's gonna be easy.

But we can use an alternative way :D

Edited by Kaze

Share this post


Link to post
Share on other sites

please help every time when I load script appears load error, why?

Share this post


Link to post
Share on other sites
6 hours ago, zangelmi said:

please help every time when I load script appears load error, why?

Can you show the screen capture so i could check it.

Share this post


Link to post
Share on other sites
On 5/28/2017 at 2:15 AM, dikapramantya said:

Hi hendra.

Can you help me about this ?

 

thanks if you can help me hihihih

 

 

i'm post reply on your thread, sorry for late reply.

Share this post


Link to post
Share on other sites

Its was my fault sorry I was typed invalid name in scrpit_custom now its ok

Share this post


Link to post
Share on other sites

Can i use different method for availing the vip system? instead of cash points like pods a.k.a proof of donation?

Share this post


Link to post
Share on other sites
On 9/30/2017 at 7:46 AM, wakefield21 said:

Can i use different method for availing the vip system? instead of cash points like pods a.k.a proof of donation?

Here

prontera,140,226,6	script	VIP System	109,{
if (getgroupid()<4) {
goto Prem;
}

set [email protected], vip_status(VIP_STATUS_EXPIRE);

mes "[ VIP NPC ]";
mes "Welcome "+strcharinfo(0)+",";
mes "Please choose the menu.";
mes "^FF0000Your VIP Status will Expire at:^000000";
mes gettimestr("%Y-%m/%d %H:%M:%S",21,vip_status(VIP_STATUS_EXPIRE));
mes "^FF0000Time Left: ^000000" + callfunc("Time2Str",[email protected]);
next;
switch(select("Buy items:Get buffs:No, thanks.")) {
	case 1:
		mes "Choose items do you wants.";
		goto item_list;

		item_list:
		menu "Universal Catalog Gold 20000 Zeny",Catalog,"Unlimited Flywing Box 20000 zeny",unli,"HP Pil 10000 Zeny",HP_PILL,"SP Pil 10000 Zeny",SP_PILL,"Authoritative Badge 10000 Zeny",Authoritative;

		Catalog:
		set [email protected], countitem(12581);
		if (zeny < 20000) mes "Sorry,Your zeny not enough,";
		else if ([email protected] >= 1) mes "You still have the item.";
		else{
		getitem 12581,10;
		set zeny,zeny-20000;
		}
		close;
		
		unli:
		set [email protected], countitem(17229);
		if (zeny < 20000) mes "Sorry,Your zeny not enough,";
		else if ([email protected] >= 1) mes "You still have the item.";
		else{
		getitem 17229,1;
		set zeny,zeny-20000;
		}
		close;

		HP_PILL:
		set [email protected], countitem(12274);
		if (zeny < 10000) mes "Sorry,Your zeny not enough,";
		else if ([email protected] >= 1) mes "You still have the item.";
		else{
		getitem 12274,10;
		set zeny,zeny-10000;
		}
		close;

		SP_PILL:
		set [email protected], countitem(12275);
		if (zeny < 10000) mes "Sorry,Your zeny not enough,";
		else if ([email protected] >= 1) mes "You still have the item.";
		else{
		getitem 12275,10;
		set zeny,zeny-10000;
		}
		close;

		Authoritative:
		set [email protected], countitem(662);
		if (zeny < 10000) mes "Sorry,Your zeny not enough,";
		else if ([email protected] >= 1) mes "You still have the item.";
		else{
		getitem 662,10;
		set zeny,zeny-10000;
		}
		close;

	case 2:
		mes "Choose which one do you wants.";
		mes "First Buff ^FF0000STR +8, AGI +6, DEX +4, ATK +32^000000";
		mes "Second Buffs ^FF0000INT +8, DEX +6, VIT +4, MATK +40^000000";
		next;
		mes "Third Buffs ^FF0000Dex +8, AGI +6, LUK +4, ATK +24, MATK +24^000000";
		mes "Fourth Buffs ^FF0000all stat +6, ATK +24, MATK +24^000000";
		goto buff;

		buff:
		menu "First Buffs",First,"Second Buffs",Second,"Third Buffs",Third,"Fourth Buffs",Fourth;

First:
sc_start SC_STRFOOD,3600000,8;
sc_start SC_AGIFOOD,3600000,6;
sc_start SC_DEXFOOD,3600000,4;
sc_start SC_ATKPOTION,3600000,32;
percentheal 100,100;
close;

Second:
sc_start SC_INTFOOD,3600000,8;
sc_start SC_DEXFOOD,3600000,6;
sc_start SC_VITFOOD,3600000,4;
sc_start SC_MATKPOTION,3600000,40;
percentheal 100,100;
close;

Third:
sc_start SC_DEXFOOD,3600000,8;
sc_start SC_AGIFOOD,3600000,6;
sc_start SC_LUKFOOD,3600000,4;
sc_start SC_ATKPOTION,3600000,24;
sc_start SC_MATKPOTION,3600000,24;
percentheal 100,100;
close;

Fourth:
sc_start SC_STRFOOD,3600000,6;
sc_start SC_AGIFOOD,3600000,6;
sc_start SC_VITFOOD,3600000,6;
sc_start SC_INTFOOD,3600000,6;
sc_start SC_DEXFOOD,3600000,6;
sc_start SC_LUKFOOD,3600000,6;
sc_start SC_ATKPOTION,3600000,24;
sc_start SC_MATKPOTION,3600000,24;
percentheal 100,100;
close;

	case 3:
	mes "See you next time.";
	close;
	}

Prem:
set [email protected],10;
set [email protected],20;
set [email protected],30;
set .required,7179;
if (getgroupid()>60) {
mes "[ VIP NPC ]";
mes "Sorry, GM Staff can't use this feature.";
close;
}

mes "[ VIP NPC ]";
mes "Here requirement to get VIP Status.";
mes "24 hours require "[email protected]+" "+getitemname(.required)+"";
mes "1 week require "[email protected]+" "+getitemname(.required)+"";
mes "1 month require "[email protected]+" "+getitemname(.required)+"";
next;
switch(select("Register 24 hours:Register 1 Week:Register 1 Month:No, Thanks.")) {
case 1:
if( countitem(.required) < 10 ) {
mes "[ VIP NPC ]";
mes "You don't have item requirement or the item not enough";
mes ""[email protected]+" "+getitemname(.required)+" to get VIP status.";
close;
}
delitem .required, [email protected];
atcommand "@vip +24h "+strcharinfo(0)+"";
mes "[ VIP NPC ]";
mes "Enjoy your VIP status.";
close;

case 2:
if( countitem(.required) < 20 ) {
mes "[ VIP NPC ]";
mes "You don't have item requirement or the item not enough";
mes ""[email protected]+" "+getitemname(.required)+" to get VIP status.";
close;
}
delitem .required, [email protected];
atcommand "@vip +7d "+strcharinfo(0)+"";
mes "[ VIP NPC ]";
mes "Enjoy your VIP status.";
close;

case 3:
if( countitem(.required) < 30 ) {
mes "[ VIP NPC ]";
mes "You don't have item requirement or the item not enough";
mes ""[email protected]+" "+getitemname(.required)+" to get VIP status.";
close;
}
delitem .required, [email protected];
atcommand "@vip +1m "+strcharinfo(0)+"";
mes "[ VIP NPC ]";
mes "Enjoy your VIP status.";
close;

case 4:
mes "[ VIP NPC ]";
mes "See you next time.";
close;
}

}

// --------------------------------------------------
//	Duplicates:
// --------------------------------------------------
alberta,33,240,4	duplicate(VIP System)	VIP System#alb	109
aldebaran,146,116,4	duplicate(VIP System)	VIP System#alde	109
amatsu,205,87,4	duplicate(VIP System)	VIP System#ama	109
ayothaya,212,172,6	duplicate(VIP System)	VIP System#ayo	109
comodo,191,161,4	duplicate(VIP System)	VIP System#com	109
einbech,55,36,6	duplicate(VIP System)	VIP System#einbe	109
einbroch,72,206,4	duplicate(VIP System)	VIP System#einbr	109
geffen,127,66,4	duplicate(VIP System)	VIP System#gef	109
gonryun,162,126,4	duplicate(VIP System)	VIP System#gon	109
hugel,102,148,4	duplicate(VIP System)	VIP System#hug	109
izlude,128,152,4	duplicate(VIP System)	VIP System#izl	109	//Pre-RE: (132,120)
jawaii,248,134,4	duplicate(VIP System)	VIP System#jaw	109
lighthalzen,154,104,4	duplicate(VIP System)	VIP System#lhz	109
louyang,205,105,6	duplicate(VIP System)	VIP System#lou	109
manuk,272,150,6	duplicate(VIP System)	VIP System#man	109
mid_camp,216,286,4	duplicate(VIP System)	VIP System#mid	109
morocc,146,89,4	duplicate(VIP System)	VIP System#mor	109
moscovia,226,195,4	duplicate(VIP System)	VIP System#mos	109
niflheim,199,180,4	duplicate(VIP System)	VIP System#nif	109
payon,178,109,4	duplicate(VIP System)	VIP System#pay	109
rachel,138,122,4	duplicate(VIP System)	VIP System#rac	109
splendide,198,153,4	duplicate(VIP System)	VIP System#spl	109
umbala,97,148,3	duplicate(VIP System)	VIP System#umb	109
veins,211,120,4	duplicate(VIP System)	VIP System#ve	109
xmas,142,139,6	duplicate(VIP System)	VIP System#xmas	109
yuno,164,50,4	duplicate(VIP System)	VIP System#yuno	109

// --------------------------------------------------
//	Duplicates (Renewal):
// --------------------------------------------------
brasilis,199,225,4	duplicate(VIP System)	VIP System#bra	109
dewata,202,190,6	duplicate(VIP System)	VIP System#dew	109
dicastes01,196,197,6	duplicate(VIP System)	VIP System#dic	109
malangdo,137,116,6	duplicate(VIP System)	VIP System#mal	109
malaya,228,195,4	duplicate(VIP System)	VIP System#ma	109

 

Edited by hendra814

Share this post


Link to post
Share on other sites

Man I have problem in Script

Quote

mes gettimestr("%Y-%m/%d %H:%M:%S",21,vip_status(VIP_STATUS_EXPIRE));

in this line.

Share this post


Link to post
Share on other sites
8 hours ago, brunoshp said:

Man I have problem in Script

in this line.

could you share screen shoot error in map server or in game.

Share this post


Link to post
Share on other sites

How to set account user to vip

 

thank you.

Share this post


Link to post
Share on other sites
On 6/11/2019 at 1:05 PM, ittiphol said:

How to set account user to vip

 

thank you.

please read at first post, and then apply the script in your server

Then register using your char into the NPC

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

Loading...