Budots Posted December 17, 2013 Posted December 17, 2013 I have here a working Instant Refiner can you please add de-refiner option on this? players will choose if they will REFINE or DE-REFINE there items. Thanks! quick_refine.txt Quote
AnnieRuru Posted December 17, 2013 Posted December 17, 2013 prontera,155,187,3 script Instant Refiner 710,{ select "Refine", "Derefine"; for ( .@i = 1; .@i <= 10; .@i++ ) { if ( getequipisequiped( .@i ) ) { if ( getequipisenableref( .@i ) ) { if ( @menu == 1 ) { while ( getequiprefinerycnt( .@i ) < 10 ) successrefitem .@i; } else { while ( getequiprefinerycnt( .@i ) > 0 ) downrefitem .@i; // me still using old emu ... // downrefitem .@i, getequiprefinerycnt( .@i ); // perhaps you also using old version like me } } } } close; }actually I just realise that *getequipis.... command always return 0 when nothing equip there ... erm ...my previous statement was incorrect Quote
Joseph Posted December 17, 2013 Posted December 17, 2013 This command may help you: downrefitem <equipment slot>{,<count>}; Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 This command may help you: downrefitem <equipment slot>{,<count>}; Can you add it on my script sir? I'm poor in scripting Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 try http://upaste.me/r/95aeeb I think its not working, NPC just appear in game but doesn't something. Gladly i found this script credits to Rikimaru. Can you edit the script so that it will only REFINE items that are allowed to be refine. It is working well but then it will refine all items including the items that are not allowed to be refine on my server. Refiner_Repairman2.txt Quote
Emistry Posted December 17, 2013 Posted December 17, 2013 try http://upaste.me/r/95aeeb just some typo...already updated the contents. Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 (edited) try http://upaste.me/r/95aeeb just some typo...already updated the contents. Did you fix it sir? Where? Edited December 17, 2013 by Budots-RO Quote
Emistry Posted December 17, 2013 Posted December 17, 2013 if( .@refine == 1 ){ refresh that page .. clear the cache of that page..sometime it wont update the raw contents with just normal refresh. Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 (edited) if( .@refine == 1 ){ refresh that page .. clear the cache of that page..sometime it wont update the raw contents with just normal refresh. I already do @reloadscript but still NPC just appear in game but totally not working. Edited December 17, 2013 by Budots-RO Quote
AnnieRuru Posted December 17, 2013 Posted December 17, 2013 (edited) muahahaha me already got a support PM on the 1st day on return, I can't even believe it prontera,155,187,3 script Instant Refiner 710,{ select "Refine", "Derefine"; for ( .@i = 1; .@i <= 10; .@i++ ) { if ( getequipisequiped( .@i ) ) { if ( getequipisenableref( .@i ) ) { if ( @menu == 1 ) { while ( getequiprefinerycnt( .@i ) < 10 ) successrefitem .@i; } else { // while ( getequiprefinerycnt( .@i ) > 0 ) // downrefitem .@i; // me still using old emu ... downrefitem .@i, getequiprefinerycnt( .@i ); } } } } close; } Emistry problem is because he didn't add *getequipisequiped checkafter read the source script.c file only realise it doesn't cause that error Edited December 17, 2013 by AnnieRuru Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 muahahaha me already got a support PM on the 1st day on return, I can't even believe it prontera,155,187,3 script Instant Refiner 710,{ select "Refine", "Derefine"; for ( .@i = 1; .@i <= 10; .@i++ ) { if ( getequipisequiped( .@i ) ) { if ( getequipisenableref( .@i ) ) { if ( @menu == 1 ) { while ( getequiprefinerycnt( .@i ) < 10 ) successrefitem .@i; } else { // while ( getequiprefinerycnt( .@i ) > 0 ) // downrefitem .@i; // me still using old emu ... downrefitem .@i, getequiprefinerycnt( .@i ); } } } } close; }Emistry problem is because he didn't add *getequipisequiped check Still not working, although NPC APPEARS in game but then its not doing anything. Quote
Budots Posted December 17, 2013 Author Posted December 17, 2013 (edited) WORKS LIKE A CHARM. BIG THANKS ANNIE :D AND WELCOME BACK Edited December 17, 2013 by Budots-RO Quote
Question
Budots
I have here a working Instant Refiner
can you please add de-refiner option on this?
players will choose if they will REFINE or DE-REFINE there items.
Thanks!
quick_refine.txt
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.