1 click refiner+10 w/ specific item needed

xlaws27

New member
Messages
225
Points
0
ahmm i have seen 1click +10 refiner but its free

maybe someone can help me with +10 refiner 1 click w/ specific item needed for them to have +10

i hope you guys can help me

 
Code:
prontera,73,89,4        script        oneclick+10        63,{	if(countitem(.ritemid) < .ramount ) {		mes "you dont have enough "+getitemname(ritemid)+"  ["+countitem(.ritemid)+"/"+.ramount+"]";		close;	}	delitem .ritemid,.ramount;		while(++.@p<=10)if(getequipisenableref(.@p))while(getequiprefinerycnt(.@p)<10)successrefitem .@p;	close;OnInit:	.ritemid = 501;	.ramount = 1;}
 
Last edited by a moderator:
prontera,73,89,4 script oneclick+10 63,{ if(countitem(.ritemid) < .ramount ) { mes "you dont have enough "+getitemname(ritemid)+" ["+countitem(.ritemid)+"/"+.ramount+"]"; close; } delitem .ritemid,.ramount; while(++.@p<=10)if(getequipisenableref(.@p))while(getequiprefinerycnt(.@p)<10)successrefitem .@p; close;OnInit: .ritemid = 501; .ramount = 1;}
very nice, but

can u help me which a player can select their desired item to ups? like upper, mid, lower, armor , shoes, shield

thank you sir!!

 
I don't get what you mean
default_sad.png


 
Actually I think he want a complete refine script, with a selection of the piece to update if you're equipped with something refinable.

 
here with menu

Code:
poring_w02,96,95,5	script	Donkey	955,{mes "[Donkey]";mes "Good day "+strcharinfo(0);mes "If you want to refine your items to +10, please give me 75 ^3355FFProof of Donation^000000 so I can refine it without failing.";next;mes "[Donkey]";mes "Now, what do you want to refine?";next;function Refine;set @itemid, 7179; //Proof of Donationset @itemquantity, 75; // item quantityset @maxrefine, 10; // max Refinemenu "Refine equipment",REFIN,"Nothing at all",QUIT;REFIN:next;mes "[Donkey]";mes "To refine a item you need:";mes "^FF0000 "+@itemquantity+" "+getitemname(@itemid)+"^000000";set @headtop$, getequipname(1);set @armor$, getequipname(2);set @handl$, getequipname(3);set @handr$, getequipname(4);set @garment$, getequipname(5);set @shoes$, getequipname(6);set @accl$, getequipname(7);set @accr$, getequipname(8);set @headmid$, getequipname(9);set @headlow$, getequipname(10);menu"[Head - Top] "+@headtop$,HEADTOP,"[Head - Mid] "+@headmid$,HEADMID,"[Head - Low] "+@headlow$,HEADLOW,"[Armor] "+@armor$,ARMOR,"[Garment] "+@garment$,GARMENT,"[Left Hand] "+@handl$,HANDL,"[Right Hand] "+@handr$,HANDR,"[Left Acc] "+@accl$,ACCL,"[Right Acc] "+@accr$,ACCR,"[Shoes] "+@shoes$,Shoez,"Cancel",QUIT;HEADTOP:set @slot, 1;callfunc Refine;HEADMID:set @slot, 9;callfunc Refine;HEADLOW:set @slot, 10;callfunc Refine;ARMOR:set @slot, 2;callfunc Refine;GARMENT:set @slot, 5;callfunc Refine;HANDL:set @slot, 3;callfunc Refine;HANDR:set @slot, 4;callfunc Refine;ACCL:set @slot, 7;callfunc Refine;ACCR:set @slot, 8;callfunc Refine;Shoez:set @slot, 6;callfunc Refine;QUIT:next;mes "[Donkey]";mes "Okay, see you.";close;LATER:next;mes "[Donkey]";mes "Thanks, have a nice day.";close;CANCEL:next;mes "[Donkey]";mes "Okay, come back another time.";close;maz:next;mes "[Donkey]";mes "Sorry, but I can't refine this anymore.";close;NOWAY:next;mes "[Donkey]";mes "Oh my, I can't refine this item!!!";close;NOREQ:next;mes "[Donkey]";mes "Sorry, but you don't have the items I need";close;// ---------------Refine Equipmentfunction Refine {if (getequiprefinerycnt(@slot) >= @maxrefine) goto maz;menu "Do it!",-,"Cancel",CANCEL;if (countitem(@itemid) < @itemquantity) goto NOREQ;delitem @itemid, @itemquantity;set @repeat, (@maxrefine - getequiprefinerycnt(@slot));while (@repeat > 0) {successrefitem(@slot);set @repeat, @repeat - 1;}goto LATER;}}
 
here with menu

poring_w02,96,95,5 script Donkey 955,{mes "[Donkey]";mes "Good day "+strcharinfo(0);mes "If you want to refine your items to +10, please give me 75 ^3355FFProof of Donation^000000 so I can refine it without failing.";next;mes "[Donkey]";mes "Now, what do you want to refine?";next;function Refine;set @itemid, 7179; //Proof of Donationset @itemquantity, 75; // item quantityset @maxrefine, 10; // max Refinemenu "Refine equipment",REFIN,"Nothing at all",QUIT;REFIN:next;mes "[Donkey]";mes "To refine a item you need:";mes "^FF0000 "+@itemquantity+" "+getitemname(@itemid)+"^000000";set @headtop$, getequipname(1);set @armor$, getequipname(2);set @handl$, getequipname(3);set @handr$, getequipname(4);set @garment$, getequipname(5);set @shoes$, getequipname(6);set @accl$, getequipname(7);set @accr$, getequipname(8);set @headmid$, getequipname(9);set @headlow$, getequipname(10);menu"[Head - Top] "+@headtop$,HEADTOP,"[Head - Mid] "+@headmid$,HEADMID,"[Head - Low] "+@headlow$,HEADLOW,"[Armor] "+@armor$,ARMOR,"[Garment] "+@garment$,GARMENT,"[Left Hand] "+@handl$,HANDL,"[Right Hand] "+@handr$,HANDR,"[Left Acc] "+@accl$,ACCL,"[Right Acc] "+@accr$,ACCR,"[Shoes] "+@shoes$,Shoez,"Cancel",QUIT;HEADTOP:set @slot, 1;callfunc Refine;HEADMID:set @slot, 9;callfunc Refine;HEADLOW:set @slot, 10;callfunc Refine;ARMOR:set @slot, 2;callfunc Refine;GARMENT:set @slot, 5;callfunc Refine;HANDL:set @slot, 3;callfunc Refine;HANDR:set @slot, 4;callfunc Refine;ACCL:set @slot, 7;callfunc Refine;ACCR:set @slot, 8;callfunc Refine;Shoez:set @slot, 6;callfunc Refine;QUIT:next;mes "[Donkey]";mes "Okay, see you.";close;LATER:next;mes "[Donkey]";mes "Thanks, have a nice day.";close;CANCEL:next;mes "[Donkey]";mes "Okay, come back another time.";close;maz:next;mes "[Donkey]";mes "Sorry, but I can't refine this anymore.";close;NOWAY:next;mes "[Donkey]";mes "Oh my, I can't refine this item!!!";close;NOREQ:next;mes "[Donkey]";mes "Sorry, but you don't have the items I need";close;// ---------------Refine Equipmentfunction Refine {if (getequiprefinerycnt(@slot) >= @maxrefine) goto maz;menu "Do it!",-,"Cancel",CANCEL;if (countitem(@itemid) < @itemquantity) goto NOREQ;delitem @itemid, @itemquantity;set @repeat, (@maxrefine - getequiprefinerycnt(@slot));while (@repeat > 0) {successrefitem(@slot);set @repeat, @repeat - 1;}goto LATER;}}
ty but it still refine the unrefinable item

 
Last edited by a moderator:
Back
Top