KirieZ 88 Posted August 3, 2015 File Name: Configurable Refiner File Submitter: KirieZ File Submitted: 02 Aug 2015 File Category: Utility This is a configurable refiner that I made after reading the request from this topic. It contains the following options (all of them configurable): Normal refine Refine N times at once (It's possible to allow this for a different group) Set different zeny and item requirements based on item's WeaponLv field Display information about the refine like: the safe refine and the chance of the next level. Allow the usage of items that increase the success chance Allow the usage of items that avoids the item from being destroyed when the refine fails (2.0) Ask if want to use items to protect / increase refine chance (2.0) Define custom effects when refine fails: stay as is, decrease one level or go back to +0 Everything is configurable at the end of the script. I made some tests and it seems to be working correctly, if you run into any bug or wants to suggest a new feature, please let me know and I'll see what I can do. Click here to download this file 5 REKT, rector, Nagad and 2 others reacted to this Quote Share this post Link to post Share on other sites
Gerz 7 Posted August 3, 2015 (edited) @@KirieZ, your refiner is really good to use, but can you add more configure feature to enable safe refine per level, i mean in offical have safe refine 5, 6, 7, 8, 9 v.v.. best regards. Edited August 3, 2015 by Gerz Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 3, 2015 @@KirieZ, your refiner is really good to use, but can you add more configure feature to enable safe refine per level, i mean in offical have safe refine 5, 6, 7, 8, 9 v.v.. best regards. Not sure if I understood what you said. My refiner has the safe levels, it's shown to the player when .DisplayRefineInfo is true and as a warning if he is going to upgrade over the safe level. If you want to increase the safe levels you have to change refine_db.txt and .SafeLevels array in my script. 1 rector reacted to this Quote Share this post Link to post Share on other sites
REKT 10 Posted August 3, 2015 (edited) I liked this script very useful :3 @@KirieZ please read my PM. It seems it's not working on rAthena http://i.imgur.com/Zb5lLxs.png Edited August 3, 2015 by Vlync Quote Share this post Link to post Share on other sites
Gerz 7 Posted August 3, 2015 @@KirieZ i mean offical has some items Safe refine up to +5, +6, +7, +8, +9 ( like this: http://www.divine-pride.net/database/search ) eg: your Saint Robe +5, want to up to + 6 without break? if you have Safe refine up to + 6 in inventory, when refine failed, it not break, consume 1 safe refine up to + 6. Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 4, 2015 @@Gerz So it's like the SecureItems that it already has, but for a limited refine level? I will try to do it in these next days. Thanks 1 rector reacted to this Quote Share this post Link to post Share on other sites
REKT 10 Posted August 4, 2015 @@KirieZ i'll wait for the next UPDATE thank you mate. Quote Share this post Link to post Share on other sites
Gerz 7 Posted August 4, 2015 @@KirieZ, yeah.. around look likes setarray like this one: .@setarray .@safe[0], 0, 0, 0, 0, safe5id, safe6id, safe7id, safe8id, safe9id, safe10id; Quote Share this post Link to post Share on other sites
REKT 10 Posted August 4, 2015 We just have to wait for the next update i think there are many features to be added on this cool and very useful script. Thank you! Quote Share this post Link to post Share on other sites
REKT 10 Posted August 6, 2015 Any UPDATE with this script? i'm looking forward on this script really Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 8, 2015 @Vlync: Sorry for the delay, I've just uploaded a new version, waiting for it to be approved. It will bring the option to secure items by their types and refine levels and rAthena compatibility. 1 rector reacted to this Quote Share this post Link to post Share on other sites
REKT 10 Posted August 8, 2015 (edited) @Vlync: Sorry for the delay, I've just uploaded a new version, waiting for it to be approved. It will bring the option to secure items by their types and refine levels and rAthena compatibility. @@KirieZ can you add what version is working copy for rAthena? THANK You again my friend. I'll wait till someone approved it. Edited August 8, 2015 by Vlync Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 8, 2015 @Vlync: It was approved already, the current version (1.1) is fully working on rAthena. 1 rector reacted to this Quote Share this post Link to post Share on other sites
Kong 9 Posted August 10, 2015 Going to test this thanks Quote Share this post Link to post Share on other sites
Shatowolf 9 Posted August 10, 2015 gonna test this. Quote Share this post Link to post Share on other sites
Aurora 4 Posted August 10, 2015 May I suggest a function that can also de-refine an item once or N times as well? TIA! Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 10, 2015 @@Aurora : Can't see why not, but would it be a option or it will de-refine when a refine fails? (for example, if you are refining with a secure item and it fails, it will downgrade instead of breaking) 1 rector reacted to this Quote Share this post Link to post Share on other sites
Aurora 4 Posted August 11, 2015 @@KirieZ I am suggesting an option to de-refine. I'm trying to make SHR server with refines up to 100 XD Quote Share this post Link to post Share on other sites
KirieZ 88 Posted August 13, 2015 (edited) @Aurora I understood that, but I didn't get if your suggestion is that the player choose to de-refine or if it is a consequence of a refine fail. Edited August 13, 2015 by KirieZ 1 rector reacted to this Quote Share this post Link to post Share on other sites
rector 0 Posted September 25, 2015 (edited) Getting this error on running the script, Please help! @@KirieZ [Error]: Loading NPC file: npc/custom/refc.txtscript error on npc/custom/refc.txt line 35 script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes. 30 : mes "know what you want me to refine."; 31 : next; 32 : 33 : setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; 34 : .@menu$ = "";* 35 : for(.@i = 1; .@i <= 10; '+'+.@i) { 36 : if(getequipisequiped(.@i)) { 37 : .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; 38 : .@equipped = 1; 39 : } 40 : .@menu$ += ":"; Edited September 25, 2015 by rector Quote Share this post Link to post Share on other sites
KirieZ 88 Posted September 25, 2015 @@rector Seems like you've modified the code, the problem is probably at '+'+.@i , it should be ++.@i (or as originally, .@i++) 1 rector reacted to this Quote Share this post Link to post Share on other sites
rector 0 Posted September 27, 2015 @@KirieZ No effect Quote Share this post Link to post Share on other sites
KirieZ 88 Posted September 27, 2015 @@KirieZ No effect You're using the old version, I think, refiner 1.0 is the old version and maybe you're on rAthena? Download refiner.txt instead of refiner 1.0.txt 1 rector reacted to this Quote Share this post Link to post Share on other sites
rector 0 Posted September 29, 2015 @@KirieZ I got this error now and npc is showing up but not refining. [Error]: script_rid2sd: fatal error ! player not attached![Debug]: Function: set (2 parameters):[Debug]: Data: variable name='.AllowMultipleRefines' index=0[Debug]: Data: variable name='true'[Debug]: Source (NPC): Refiner at prontera (145,194)[Warning]: script_get_val: cannot access player variable 'true', defaulting to 0 Quote Share this post Link to post Share on other sites
KirieZ 88 Posted September 29, 2015 @@rector Which emulator and revision are you using? 1 rector reacted to this Quote Share this post Link to post Share on other sites