Jump to content

rakmomteesud

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by rakmomteesud

  1. 5 hours ago, NakedWolf said:

    rathena\conf\battle\player.conf

    
    //===================================
    // 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

    did u try to check this.

    it default guy

    //===================================
    // 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: 100
    vip_exp_penalty_job: 100
    
    // 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

     

  2. my script is bug i'm try to upgrade this script to can select many day of VIP

    but it not work i'm try check it before keep old value input and cal program help me fix script pls . ty so much

    dewata,196,165,5	script	CashToVIP	123,{
    	.@cashperday = 100;
    	.@timeperday = 1440;
    	
    	mes "["+ strnpcinfo(1)+"]";
    	if( #CASHPOINTS < .@cashperday ){
    		mes "You don't have enough Cash Points to purchase VIP Days";
    		close;
    	}
    	
    	switch(vip_status(1)){
    		case 0:
    			mes "You're not a VIP";
    			break;
    		case 1:
    			mes "You are a VIP";
    			break;
    	}
    	
    	mes "You currently have "+ #CASHPOINTS +" Cash Points.";
    	mes "Each VIP Day will cost you ^0000ff"+ .@cashperday +"^000000";
    	next;
    	
    	mes "["+ strnpcinfo(1)+"]";
    	mes "Would you like to purchase/increase your VIP Days?";
    	switch(select(" - Nope: - 1 day: - many days")){
    		case 1:
    			break;
    		case 2:
    			#CASHPOINTS -= .@cashperday;
    			vip_time 1440;
    			set .@Timer, vip_status(2);
    			dispbottom "Current Cash Points: "+ #CASHPOINTS;
    			dispbottom "Time left : "+ callfunc("Time2Str",.@Timer);
    			break;
    		case 3:
    			set .@inputDay, 0;
    			input .@inputDay;
    			if(.@inputDay > 0 && (.@cashperday*.@inputDay) < #CASHPOINTS){
    				set .@Timer, vip_status(2);
    				#CASHPOINTS -= .@cashperday*.@inputDay;
    				vip_time .@timeperday*.@inputDay;
    				dispbottom "Current Cash Points: "+ #CASHPOINTS;
    				dispbottom "Time left : "+ callfunc("Time2Str",.@Timer);
    			}else{
    				mes "-";
    				mes "^FF0000You don't have enough Cash Points to purchase VIP Days^FF0000";
    				close;
    			}
    			break;
    	}
    	close;
    
    } 

     

×
×
  • Create New...