Jump to content

koloridjo

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by koloridjo

  1. Yesterday I asked for a script to monitor mvp card, and cyro made one for me.

    Script can work, but this script can not display player which have mvp card in storage, cart, and can not search player through search card id, can i help me to show player that have mvp card through search card id.? thank you

     

    aldebaran,128,123,5	script	cardcheck	637,{
    	mes "[MVP Card Monitoring]";
    	mes "Masukan Nickname Character yang ingin kalian cek";
    	next;
    	select "search by input player name/ID", "search by card ID";
    	if ( @menu == 1 ) {
    		switch ( select ( "Char Name", "Account ID", "Char ID" ) ) {
    		case 1:
    			input .@id$;
    			if ( isloggedin( getcharid( 3, .@id$ ) ) ) {
    				.@cid = getcharid( 0, .@id$ );
    				.@aid = getcharid( 3, .@id$ );
    				.@name$ = rid2name( getcharid( 3, .@id$ ) );
    			}
    			else {
    				if ( !query_sql( "select char_id, account_id, name from `char` where name = '"+ escape_sql( .@id$ ) +"'", .@cid, .@aid, .@name$ ) ) {
    					mes "There is no such Character Name exist";
    					close;
    				}
    			}	
    			break;
    		case 2:
    			input .@id;
    			if ( !( .@nb = query_sql( "select char_id, name, char_num, account_id from `char` where account_id = "+ .@id +" order by char_num asc", .@cid, .@name$, .@gid, .@aid ) ) ) {
    				mes "There is no such Account ID";
    				close;
    			}
    			for ( .@i = 0; .@i < .@nb; .@i++ ) {
    				mes ( .@gid[.@i] +1 )+". "+ .@cid[.@i] +" "+ .@name$[.@i];
    				.@menu$ = .@menu$ +( .@gid[.@i] +1 )+". "+ .@cid[.@i];
    			}
    			next;
    			.@s = select( .@menu$ ) -1;
    			.@cid = .@cid[.@s];
    			.@aid = .@aid[.@s];
    			.@name$ = .@name$[.@s];
    			break;
    		case 3:
    			input .@id;
    			if ( !query_sql( "select char_id, account_id, name from `char` where char_id = "+ .@id, .@cid, .@aid, .@name$ ) ) {
    				mes "There is no such Character ID exist";
    				close;
    			}
    		}
    		mes "The player ^0000FF"+ .@name$ +"^000000 is "+( ( isloggedin(.@aid) )?"^00FF00Online":"^FF0000Offline" )+"^000000";
    		if ( isloggedin( .@aid, .@cid ) ) {
    			.@origin = getcharid(3);
    			attachrid .@aid;
    			getinventorylist;
    			for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) {
    				if ( compare( .mvpcard_compare$, "#"+ @inventorylist_id[.@i] +"#" ) || compare( .mvpcard_compare$, "#"+ @inventorylist_card1[.@i] +"#" ) || compare( .mvpcard_compare$, "#"+ @inventorylist_card2[.@i] +"#" ) || compare( .mvpcard_compare$, "#"+ @inventorylist_card3[.@i] +"#" ) || compare( .mvpcard_compare$, "#"+ @inventorylist_card4[.@i] +"#" ) ) {
    					.@itemid[.@c] = @inventorylist_id[.@i];
    					.@amount[.@c] = @inventorylist_amount[.@i];
    					.@identify[.@c] = @inventorylist_identify[.@i];
    					.@refine[.@c] = @inventorylist_refine[.@i];
    					.@broken[.@c] = @inventorylist_attribute[.@i];
    					.@card1[.@c] = @inventorylist_card1[.@i];
    					.@card2[.@c] = @inventorylist_card2[.@i];
    					.@card3[.@c] = @inventorylist_card3[.@i];
    					.@card4[.@c] = @inventorylist_card4[.@i];
    					attachrid .@origin;
    					mes @itemname2_info$[0] + callfunc( "getitemname2", .@itemid[.@c], .@identify[.@c], .@refine[.@c], .@broken[.@c], .@card1[.@c], .@card2[.@c], .@card3[.@c], .@card4[.@c] ) +":^000000 "+ .@amount[.@c] +" ea.";
    					attachrid .@aid;
    					.@c++;
    				}
    			}
    			attachrid .@origin;
    		}
    		else {
    			.@nb = query_sql( "select nameid, amount, identify, refine, attribute, card0, card1, card2, card3 from inventory where "+ .query_sql$ +" and char_id = "+ .@cid, .@itemid, .@amount, .@identify, .@refine, .@broken, .@card0, .@card1, .@card2, .@card3 );
    			for ( .@i = 0; .@i < .@nb; .@i++ )
    				mes @itemname2_info$[0] + callfunc( "getitemname2", .@itemid[.@i], .@identify[.@i], .@refine[.@i], .@broken[.@i], .@card0[.@i], .@card1[.@i], .@card2[.@i], .@card3[.@i] )+":^000000 "+ .@amount[.@i] +" ea.";
    		}
    	}
    	close;
    OnInit:
    	query_sql "select dropcardid from mob_db where mexp != 0 and dropcardper = 1", .mvpcard;
    	.mvpcard_size = getarraysize( .mvpcard );
    	.mvpcard_compare$ = "#";
    	for ( .@i = 1; .@i < .mvpcard_size; .@i++ ) {
    		.@nameid$ = .@nameid$ +","+ .mvpcard[.@i];
    		.@card0$ = .@card0$ +","+ .mvpcard[.@i];
    		.@card1$ = .@card1$ +","+ .mvpcard[.@i];
    		.@card2$ = .@card2$ +","+ .mvpcard[.@i];
    		.@card3$ = .@card3$ +","+ .mvpcard[.@i];
    		.mvpcard_compare$ = .mvpcard_compare$ + .mvpcard[.@i] +"#";
    	}
    	for ( .@i = 0; .@i < .mvpcard_size; .@i++ ) {
    	}
    	.query_sql$ = "( nameid in ("+ .mvpcard + .@nameid$ +") or card0 in ("+ .mvpcard + .@card0$ +") or card1 in ("+ .mvpcard + .@card1$ +") or card2 in ("+ .mvpcard + .@card2$ +") or card3 in ("+ .mvpcard + .@card3$ +") )";
    	end;
    }

     

  2. On 12/30/2011 at 8:25 PM, Emistry said:

    Try this..tested and working fine in my test server

     

    
    prontera,155,181,5 script Sample 757,{
    set .Guild,getcastledata( "prtg_cas01",1 );
    if( getcharid(2) == .Guild ){
    mes "^FF0000Current Tax : "+$Tax+" %";
    mes "Total Earning : "+$Earn+" Zeny.";
    }
    mes "This Gold Room is currently owned by ^FF0000"+getguildname( .Guild )+" Guild^000000.";
    mes "You may hunt gold inside the room, but with a ^FF0000"+$Tax+" % Tax Rate^000000.";
    mes "Each kill in the Room you will gain 1 Points and each point equal to 100,000 zeny.";
    next;
    switch( select( "Hunt Gold",
    "Claim Zeny",
    ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Claim Earn",
    ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Change Tax" )){
    
    Case 1: warp "mosk_que",0,0; end;
    Case 2:
     mes "You have "+#GoldPoint+" Points.";
     if( !#GoldPoint ) close;
     mes "How many you want to points claim ?";
     input @Amount,0,#GoldPoint;
     if( !@Amount ) close;
     next;
     set #GoldPoint,#GoldPoint - @Amount;
     set .@Gain,(( @Amount * 100000 ) - ( @Amount * 100000 * $Tax / 100 ));
     set Zeny,Zeny + .@Gain;
     mes "Gained ^FF0000"+.@Gain+"^000000 Zeny due to Tax Rate of "+$Tax+" %";
     close;
    Case 3:
     mes "Total Earning : "+$Earn+" Zeny.";
     if( select("Claim It:Cancel") == 2 ) close;
     mes "How much you want to claim ?";
     do{
      input @Amount,0,$Earn;
      if( !@Amount ) close;
      if( ( Zeny + @Amount ) > 1000000000 ) mes "Limit Exceed...";
     }while( ( Zeny + @Amount ) > 1000000000 );
     mes "Gained "+@Amount+" Zeny.";
     set Zeny,Zeny + @Amount;
     set $Earn,$Earn - @Amount;
     close;
    Case 4:
     mes "^FF0000Current Tax : "+$Tax+" %";
     mes "Enter your New Tax Rate.";
     input $Tax,1,20;
     mes "^FF0000Updated Tax : "+$Tax+" %";
     close;
    }
    OnInit:
    monster "mosk_que",0,0,"Gold",1002,100,strnpcinfo(0)+"::OnMobKill";
    end;
    OnMobKill:
    monster "mosk_que",0,0,"Gold",1002,1,strnpcinfo(0)+"::OnMobKill";
    set $Earn,$Earn + ( 100000 * $Tax / 100 );
    set #GoldPoint,#GoldPoint + 1;
    dispbottom "Total Gold Point = "+#GoldPoint+" Points.";
    end;
    }
    
    
    
    mosk_que mapname nowarp
    mosk_que mapname nowarpto
    mosk_que mapname noSave
    mosk_que mapname noteleport
    mosk_que mapname nocommand 50
    
     

     

    why not mapflag ??  while there mapname ??

  3. excuse me , can I ask for help to edit stolao daily reward script

     

    make it reset to first day after complete on last day...please thank you..... :)

    //===== EinherjarRO Scripts ================================== 
    //= Daily Prize, OnPCLoginEvent
    //===== By: ================================================== 
    //= Stolao
    //===== Current Version: ===================================== 
    //= 1.59
    //===== Compatible With: ===================================== 
    //= rAthena SVN
    //===== Description: ========================================= 
    //= A reward system for players who play more frequently
    //===== Comments: ============================================
    //= Maybe Make .MinWait an array mins,days,weeks,months,years;
    //===== Additional Comments: =================================
    //= For Older See Old Versions
    //= 1.51 Changed set .@g formula and move lower into script
    //= 1.52 Replace all disbottom -> message
    //= 1.53 Changed Format to Include minuets instead of just hours
    //= 1.54 Made Time till next rewards display dynamic
    //= 1.55 Changed a forgotten  .PointType$ -> getd(.@TT[1])
    //= 1.56 changed .@XT -> .@XT$
    //= 1.57 Added Atoi where nessisary
    //= 1.58 Fixed a swapped .@x and .@x+1
    //= 1.59 Serveral Edit Undocumented to fix
    //===== Contact Info: ========================================
    //= [Stolao] 
    //= Email: [email protected]<script data-cfhash='f9e31' type="text/javascript">
    /*  */</script>
    //============================================================
    -	script	LOGIN	-1,{
    OnWhisperGlobal:
    OnLoginCmnd:
    OnPCLoginEvent:
    	sleep2 1000 + .Rest * 60000;
    	set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2);
    	if(.@i >= (#LastDailyReward + .MinWait)){
    		if(.@i < #LastDailyReward + .MaxWait){	set #DRewardCon, #DRewardCon + 1;
    		} else {	set #DRewardCon, 1;	}
    		set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon;
    		explode(.@XT$,.Rewards$[.@g],"|");
    		for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){
    			set .@TT[.@x], atoi(.@XT$[.@x]);
    		}
    		if(.Mode & 1 && .@TT[4]){	//[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing
    			for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){	getitem  .@TT[.@x], .@TT[.@x+1];	message strcharinfo(0),"Recived "+  .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]);	}
    		}
    		if(.Mode & 2){
    			if(.@TT[0]){	set zeny,zeny + .@TT[0];	message strcharinfo(0),"Recived "+ .@TT[0] +"z";	}
    			if(.@TT[1]){	setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1];	message strcharinfo(0),"Recived "+ .@TT[1] +" "+.Points$[1];	}
    		}
    		if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4];
    		if(.Mode & 8){
    			for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){
    				if(#DRewardCon % .BuffInfo[.@x + 1] == 0)
    					sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3];
    			}
    		}
    		message strcharinfo(0),"You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row.";
    		set #LastDailyReward, .@i;
    	} else {
    		set .@days,(#LastDailyReward + .MinWait - .@i)/60/24;
    		set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24;
    		set .@mins,(#LastDailyReward + .MinWait - .@i)%60;
    		message strcharinfo(0),"You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward";
    	}
    end;
    OnInit:
    	//Basic Settings
    	//   1: Item | 2: Points | 4: Exp  
    	//   8: Gain Buffs Every X Consecutive Days logged in
    	// (a bit value, e.g. 3 = Items & Points from Multi)
    	set .Mode,1 + 2 + 4 + 8;
    
    	//To Enable @ Command '@loginreward' unslash next lines
    	// * Needs extra commands for typos
    	bindatcmd("relog"	,"LOGIN::OnLoginCmnd",0,99);
    
    	//Minimum Minuets Between Collecting Daily Reward
    	//   Day: 22*60 - 24*60
    	//   Week: 10080
    	set .MinWait,1320;
    
    	//Minuets Before Lose Consecutive Daily Reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	set .MaxWait,3000;
    
    	//Number of mins after logging before collecting prize
    	set .Rest,0;
    
    	//Point Type
    	//   [0] Points earned
    	//   [1] Point name in mes
    	setarray .Points$,"#KAFRAPOINTS","K-Points";
    
    	// Consecutive Days Buff
    	// Each buff contains 4 variables (32 Total Max)
    	// <Type>,<Days>,<Duration>,<Rate>, // Buff 1
    	// <Type>,<Days>,<Duration>,<Rate>, // Buff 2
    	//   ...;
    	//
    	//  Example: 188,7,45,3
    	//    -Every 7th consecutive day logged in Player gains +3 Str for 45 mins
    	//
    	//  Type is 188, which references which SC_ to use, SC_INCSTR in this example
    	//     -For a full list of SC_ visit the db/const.txt
    	//  Days is days buff is applied, in this example 7, so every 7th day, 14,21,28....
    	//  Duration is buff duration is Minuits, in this example 45 mins
    	//  Rate is buff strength, in this example player gains 3 Str
    	setarray .BuffInfo	,260,2,360,1	// Life Insurance for 360 Mins Every 2nd Day
    				,198,3,120,10	// +10% Hp for 120 Mins Every 3th Day
    				,196,5,120,25	// +25 Flee for 120 Mins Every 5th Day
    				,257,7,240,50;	// +50% Exp for 240 Mins Every 7th Day
    
    	// Daily Prize items (max 128 days):
    	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
    	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
    	//   ...;
    	// Total length of any days string must be 255 or shorter
    	// * If players login longer than the last set
    	//   day, they will keep getting the last prize.
    	setarray .Rewards$,
    		"100",					// Day 1: 100 Zeny
    		"0|0|0|0|501|5",			// Day 2: 5 Red Potion
    		"0|0|0|0|503|5|506|5";			// Day 3: 5 White Potion + 5 Green Potion
    
    
    
    end;
    }
    
  4. I have try this script.

    and i want to ask, how to make a prize start from day 1 again after player can finish all daily reward.

     

    example :

    i set 

     

    day 1 : get jellopy

    day 2 : get oridecon

    day 3 : get white pot

    day 4 : get honey

    day 5 : get 1M zeny

     

    after day 5 , player get jellopy again or stop can't, claim again before i'm set the prize again??

     

     

    to have it reset after last day, you would simply add a comparison to days logged to getarraysize if == then reset back to 0

     

     

    to have it stop counting basically the same thing just instead of setting to 0 don't add more

     

    try scripting it yourself if you cant get it i can do for you (learn from trying 1st~)

     

    Can you do a reset after the last day, as mentioned privateserver ? thank you

  5. hi , stolao , I added the minimum level to get the reward , could you check my script , it runs fine when I try , but I'm not sure : D

    sorry I am not a scripter

    //===== EinherjarRO Scripts ================================== 
    //= Daily Prize, OnPCLoginEvent
    //===== By: ================================================== 
    //= Stolao
    //===== Current Version: ===================================== 
    //= 1.59
    //===== Compatible With: ===================================== 
    //= rAthena SVN
    //===== Description: ========================================= 
    //= A reward system for players who play more frequently
    //===== Comments: ============================================
    //= Maybe Make .MinWait an array mins,days,weeks,months,years;
    //===== Additional Comments: =================================
    //= For Older See Forums
    //= 1.51 Changed set .@g formula and move lower into script
    //= 1.52 Replace all disbottom -> message
    //= 1.53 Changed Format to Include minuets instead of just hours
    //= 1.54 Made Time till next rewards display dynamic
    //= 1.55 Changed a forgotten  .PointType$ -> getd(.@TT[1])
    //= 1.56 changed .@XT -> .@XT$
    //= 1.57 Added Atoi where nessisary
    //= 1.58 Fixed a swapped .@x and .@x+1
    //= 1.59 Serveral Edit Undocumented to fix
    //===== Contact Info: ========================================
    //= [Stolao] 
    //= Email: [email protected]<script data-cfhash='f9e31' type="text/javascript">
    /*  */</script>
    //============================================================
    -	script	LOGIN	-1,{
    OnWhisperGlobal:
    OnLoginCmnd:
    OnPCLoginEvent:
    	sleep2 1000 + .Rest * 60000;
    	set .@i, (gettime(7) * 365 * 24 * 60) + (gettime(8) * 24 * 60) + (gettime(3) * 60) +gettime(2);
    	if (BaseLevel >= 165){
    		if(.@i >= (#LastDailyReward + .MinWait)){
    		if(.@i < #LastDailyReward + .MaxWait){	set #DRewardCon, #DRewardCon + 1;
    		} else {	set #DRewardCon, 1;	}
    		set .@g, (#DRewardCon > getarraysize(.Rewards$)) ? (getarraysize(.Rewards$)-1) : #DRewardCon;
    		explode(.@XT$,.Rewards$[.@g],"|");
    		for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 1){
    			set .@TT[.@x], atoi(.@XT$[.@x]);
    		}
    		if(.Mode & 1 && .@TT[4]){	//[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing
    			for(set .@x,4; .@x < getarraysize(.@TT); set .@x,.@x + 2){	getitem  .@TT[.@x], .@TT[.@x+1];	message strcharinfo(0),"Recived "+  .@TT[.@x+1] +" "+ getitemname(.@TT[.@x]);	}
    		}
    		if(.Mode & 2){
    			if(.@TT[0]){	set zeny,zeny + .@TT[0];	message strcharinfo(0),"Recived "+ .@TT[0] +"z";	}
    			if(.@TT[1]){	setd getd(.Points$[0]),getd(.Points$[0]) + .@TT[1];	message strcharinfo(0),"Recived "+ .@TT[1] +" "+.Points$[1];	}
    		}
    		if(.Mode & 4 && (.@TT[3] || .@TT[4])) getexp .@TT[3], .@TT[4];
    		if(.Mode & 8){
    			for(set .@x,0; .@x < getarraysize(.BuffInfo); set .@x,.@x + 4){
    				if(#DRewardCon % .BuffInfo[.@x + 1] == 0)
    					sc_start .BuffInfo[.@x], .BuffInfo[.@x + 2] * 60000, .BuffInfo[.@x + 3];
    			}
    		}
    		message strcharinfo(0),"You have collected your daily reward, for "+#DRewardCon+" day"+((#DRewardCon > 1)?"s":"")+" in a row.";
    		set #LastDailyReward, .@i;
    	} else {
    		set .@days,(#LastDailyReward + .MinWait - .@i)/60/24;
    		set .@hours,((#LastDailyReward + .MinWait - .@i)/60)%24;
    		set .@mins,(#LastDailyReward + .MinWait - .@i)%60;
    		message strcharinfo(0),"You have "+ ((.@days) ? .@days +":Days " : "") +""+ ((.@hours) ? .@hours +":Hours " : "") +""+ ((.@mins) ? .@mins +":Minutes " : "") +"till your next reward";
    	}
    	}
    end;
    OnInit:
    	//Basic Settings
    	//   1: Item | 2: Points | 4: Exp  
    	//   8: Gain Buffs Every X Consecutive Days logged in
    	// (a bit value, e.g. 3 = Items & Points from Multi)
    	set .Mode,1 + 2 + 4 + 8;
    
    	//To Enable @ Command '@loginreward' unslash next lines
    	// * Needs extra commands for typos
    	bindatcmd("relog"	,"LOGIN::OnLoginCmnd",0,99);
    
    	//Minimum Minuets Between Collecting Daily Reward
    	//   Day: 22*60 - 24*60
    	//   Week: 10080
    	set .MinWait,1320;
    
    	//Minuets Before Lose Consecutive Daily Reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	set .MaxWait,3000;
    
    	//Number of mins after logging before collecting prize
    	set .Rest,0;
    
    	//Point Type
    	//   [0] Points earned
    	//   [1] Point name in mes
    	setarray .Points$,"#KAFRAPOINTS","K-Points";
    
    	// Consecutive Days Buff
    	// Each buff contains 4 variables (32 Total Max)
    	// <Type>,<Days>,<Duration>,<Rate>, // Buff 1
    	// <Type>,<Days>,<Duration>,<Rate>, // Buff 2
    	//   ...;
    	//
    	//  Example: 188,7,45,3
    	//    -Every 7th consecutive day logged in Player gains +3 Str for 45 mins
    	//
    	//  Type is 188, which references which SC_ to use, SC_INCSTR in this example
    	//     -For a full list of SC_ visit the db/const.txt
    	//  Days is days buff is applied, in this example 7, so every 7th day, 14,21,28....
    	//  Duration is buff duration is Minuits, in this example 45 mins
    	//  Rate is buff strength, in this example player gains 3 Str
    	setarray .BuffInfo	,260,2,360,1	// Life Insurance for 360 Mins Every 2nd Day
    				,198,3,120,10	// +10% Hp for 120 Mins Every 3th Day
    				,196,5,120,25	// +25 Flee for 120 Mins Every 5th Day
    				,257,7,240,50;	// +50% Exp for 240 Mins Every 7th Day
    
    	// Daily Prize items (max 128 days):
    	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc", // Day 1
    	//   "<Zeny>|<Points>|<BaseExp>|<JobExp>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc"  // Day 2
    	//   ...;
    	// Total length of any days string must be 255 or shorter
    	// * If players login longer than the last set
    	//   day, they will keep getting the last prize.
    	setarray .Rewards$,
    		"100",					// Day 1: 100 Zeny
    		"0|0|0|0|501|5",			// Day 2: 5 Red Potion
    		"0|0|0|0|503|5|506|5",			// Day 3: 5 White Potion + 5 Green Potion
    		"0|0|0|0|7539|2|12103|100";		//
    
    
    end;
    }
    
  6. hello everyone, I want to ask , can someone help fix errors in adding a custom item, all fine but sprite not show up, I 've been searching for all the solutions exist but , nothing works.

     

    i am using 2015-09-16a client

     

    thanks before

     

     

    solved , sorry for trouble , I searched all night , and only the typing errors

     

    https://rathena.org/board/topic/83136-adding-custom-items-renewal/

     

    /sry /sry /sry

    post-1321-0-81371100-1454178309_thumb.jpg

  7. there is little wrong here in the flamboyant anncounce here written ms pudding smile.png

    case 4: //Flamboyant
    if(#Announcer == 3){ goto L_Announce; }
    if((.AnnouncerFee) && (!#Flamboyant)){
    next; mes "[Loki]"; mes "Do you want to purchase Flamboyant announcer for "+.AnnouncerFee+" Kill Point?";
    switch(select("No:Yes")){
    case 1: close;
    case 2:
    if(#CASHPOINTS < .AnnouncerFee){ next; mes "[Loki]"; mes "You don't have enough Kill Point."; close; }
    set #CASHPOINTS, #CASHPOINTS - .AnnouncerFee;
    set #Flamboyant, 1;
    }
    }
    soundeffect "3_KS1.wav", 0;
    set #Announcer, 3;
    announce "[Loki] Ms. Pudding announcer has been configured to your account.",bc_self,0xFF0000;
    close;
    
×
×
  • Create New...