Emistry 145 Posted March 28, 2014 change the format to look like other new item_db.conf ? http://pastebin.com/raw.php?i=YSepT1DR refine: ({ TYPE: ARMOR STAT_PER_LEVEL: 0 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }}, { TYPE: WEAPON LEVEL: 1 STAT_PER_LEVEL: 200 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 2 STAT_PER_LEVEL: 300 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 3 STAT_PER_LEVEL: 500 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 4 STAT_PER_LEVEL: 700 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }}) Propose: Overhaul the structure Passing the refine rate into server based on MAX_REFINE if want other customization ... maybe another field for "Bonus_Script" ?? that give bonus to all items that have specific refine ?? About the passing refine rate based on server MAX_REFINE: if a rate is set for the refine rate, then it's passed into the server ... but.. if the MAX_REFINE doesnt match with the max refine in the refine_db , then the extra non-exist refine rate just simply pass in the value of -1 ? or maybe 0 ? with this other users can just simply add in a check using this getequippercentrefinery(<equipment slot>) if value returned is equal or below 0 , then failed to refine .. Current issue that is known for current refine_db If the MAX_REFINE doesnt match with the entry inside the refine_db , whenever players try to refine in server, they simply get 100% of refine rate, and the server get some errors about lack of entry for refine_db during the start-up too . a bit hard for user to find and edit refine rate ... Advantages : easier to read or configure allow users to prevent players from refine abusing IF the admin ignored all these missing entry error due to MAX_REFINE ... Disadvantages : larger file size longer passing time ? 5 evilpuncker, mrlongshen, jTynne and 2 others reacted to this Quote Share this post Link to post Share on other sites
Zezicla 2 Posted March 28, 2014 sounds all good and cool to me Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted March 30, 2014 +1 for Overhaul of refine_db.txt, current one is not soo readable... Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted March 30, 2014 I agree Quote Share this post Link to post Share on other sites
vBrenth 39 Posted April 3, 2014 Agree! implemented this now <3 Quote Share this post Link to post Share on other sites
Luffy 14 Posted July 8, 2014 Nice idea ! /no1 Quote Share this post Link to post Share on other sites
mleo1 36 Posted July 9, 2014 I like bonus script, I can basterdize my RO even more xD Quote Share this post Link to post Share on other sites