Jump to content
  • 0

Question

Posted (edited)

as the title goes, im searcing for a normal refiner but, you can choose until what amount of refinement you want to direct refine. And when refining for example, im choosing to direct refine until +7 , so i will hit the "enter" key at 7 times with the chances to be broken or not still within the refine_db.txt area :(

p/s: point me out link if there such a script like above :(

Edited by LordOfHeRO

11 answers to this question

Recommended Posts

Posted

Yes...just like Faluk said... you have to edit the Function there...

change

571		 callfunc "refinemain","Hollgrehenn",0;
575		 callfunc "refinemain","Aragham",0;
579		 callfunc "refinemain","Antonio",0;
583		 callfunc "refinemain","Fredrik",0;
587		 callfunc "refinemain","Lambert",0;
591		 callfunc "refinemain","Manthasman Pruhag",0;
595		 callfunc "refinemain","Fulerr",0;

into this

571		 callfunc "refinemain","Hollgrehenn",1;
575		 callfunc "refinemain","Aragham",1;
579		 callfunc "refinemain","Antonio",1;
583		 callfunc "refinemain","Fredrik",1;
587		 callfunc "refinemain","Lambert",1;
591		 callfunc "refinemain","Manthasman Pruhag",1;
595		 callfunc "refinemain","Fulerr",1;

Posted

Hi,

In npc/merchant/refine line from 570 to 591 you must change the 0 by 1 and you will have what you are looking for (at least in part).

Ex:

callfunc "refinemain","Hollgrehenn",0;

becomes

callfunc "refinemain","Hollgrehenn",1;

:(

  • Upvote 1
Posted (edited)

regarding on Faluk answers ,are that the changes must i do on the stock refiner that Gepard has said ?

okay that's done it, will it can be an action where i can put the amount of refinement with this minor changes on the stock refiner ?

Edited by LordOfHeRO
Posted

so it will use this also right ?

// New Refining Functions ========================

this is useless.....just a "Message" tell you what it is...

even you put there...also nothing will affect....since it is "Comment out" already.....

Posted (edited)

lol, i know what is that, it was just a note to tell what is the below script are for, what i meant was under those message ,,

when i change the Funtions to "1" will it use these also ? :

// New Refining Functions ========================
809		 if(getequiprefinerycnt(.@part) < .@safe) {
810				 mes "[" + getarg(0) + "]";
811				 mes "I can refine this to the safe limit or a desired number of times... it's your choice...";
812				 next;
813				 set .@menu2,select("To the safe limit please.","I'll decide how many times.","I've changed my mind...");
814		 } else set .@menu2,2;
815		 switch(.@menu2){
816		 case 1:
817				 set .@refinecnt,.@safe - getequiprefinerycnt(.@part);
818				 break;
819		 case 2:
820				 next;
821				 mes "[" + getarg(0) + "]";
822				 mes "So how many times would you like me to refine your item?";
823				 next;
824				 input .@refinecnt;
825				 set .@refinecheck,.@refinecnt + getequiprefinerycnt(.@part);
826				 if (.@refinecnt < 1 || .@refinecheck > 10) {
827						 mes "[" + getarg(0) + "]";
828						 mes "I can't refine this item that many times.";
829						 close;
830				 }
831				 if(.@refinecheck > .@safe) {
832						 set .@refinecheck,.@refinecheck - .@safe;
833						 mes "[" + getarg(0) + "]";
834						 mes "This will try to refine the equipment " + .@refinecheck + " times past the safe limit. Your equipment may be destroyed... is that ok?";
835						 next;
836						 if(select("Yes...","No...") == 2){
837								 mes "[" + getarg(0) + "]";
838								 mes "You said so..Hmm so be it...";
839								 close;
840						 }
841				 }
842				 break;
843		 case 3:
844				 next;
845				 mes "[" + getarg(0) + "]";
846				 mes "You said so..Hmm so be it...";
847				 close;
848		 }
849		 set .@fullprice,.@price * .@refinecnt;
850		 mes "[" + getarg(0) + "]";
851		 mes "That will cost you " + .@refinecnt + " " + getitemname(.@material) + " and " + .@fullprice + " Zeny. Is that ok?";
852		 next;
853		 if(select("Yes","No...") == 2){
854				 mes "[" + getarg(0) + "]";
855				 mes "You said so..Hmm so be it...";
856				 close;
857		 }
858		 if(countitem(.@material) < .@refinecnt || Zeny < .@fullprice) {
859				 mes "[" + getarg(0) + "]";
860				 mes "Is that all you got? Unfortunately I can't work for you at a lower price. Try putting yourself in my shoes.";
861				 close;
862		 }
863		 set Zeny,Zeny - .@fullprice;
864		 delitem .@material,.@refinecnt;
865		 while(.@refinecnt){
866				 if (getequipisequiped(.@part) == 0) {
867						 mes "[" + getarg(0) + "]";
868						 mes "Look here... you don't have any Items on...";
869						 close;
870				 }
871				 if (getequipid(.@part) != .@refineitemid || (.@menu2 == 1 && getequippercentrefinery(.@part) < 100)) {
872						 mes "[" + getarg(0) + "]";
873						 mes "Clan... No, but Did you imagine I could be so stupid !?!";
874						 mes "You have changed it...";
875						 mes "Go out before I stun you with my Hammer!!!";
876						 close;
877				 }
878				 mes "Clang, clang!!!";
879				 if(.@menu2 == 2 && getequippercentrefinery(.@part) <= rand(100)) {
880						 failedrefitem .@part;
881						 emotion 23;
882						 mes "[" + getarg(0) + "]";
883						 mes "WAHHHH!!! I'm so sorry... I warned you this could happen...";
884						 set .@refinecnt,.@refinecnt - 1;
885						 if(.@refinecnt == 0) close;
886						 mes "Here's the unused Zeny and Material back...";
887						 getitem .@material,.@refinecnt;
888						 set .@fullprice,.@refinecnt * .@price;
889						 set Zeny,Zeny + .@fullprice;
890						 close;
891				 }
892				 successrefitem .@part;
893				 emotion 21;
894				 set .@refinecnt,.@refinecnt - 1;
895				 next;
896		 }
897		 mes "[" + getarg(0) + "]";
898		 mes "All finished... Come again soon.";
899		 close;		
900 }

Edited by Arcenciel
Codebox'ed
Posted

I assumed OP is just looking for the script or hints where to find the requested feature and not actual letter-by-letter instructions what to type and where. Sorry for confusion.

Posted

it's okay, because i just want to confirm some of the fuction result when changing them :(

by the way, thanks alot to Faluk,Gepard and Emistry for helping out ! :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...