Skip to content

Refine UI Implementation & Refine DB Revamped#9

Closed
cydh wants to merge 20 commits into
masterfrom
refactor/refine_db-2
Closed

Refine UI Implementation & Refine DB Revamped#9
cydh wants to merge 20 commits into
masterfrom
refactor/refine_db-2

Conversation

@cydh

@cydh cydh commented Nov 10, 2017

Copy link
Copy Markdown
Owner

Lemongrass3110 and others added 14 commits October 9, 2017 14:58
Added a new configuration values in the YAML configuration to mark if a material will break or downgrade the item in case of failure.
* Enabled Blacksmith Blessing check for refining to disable downrefine on fail! (of course without breaking the refined item)
  * +7 to +8 needs 1 ea
  * +8 to +9 needs 2 ea
  * +9 to +10 needs 4 ea
  * +10 to +11 needs 7 ea
  * +11 to +12 needs 11 ea
* Added Blacksmith Blessing entries to refine_db.yml follow the values above.
* Fixed refine_info clearances on loading files.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
* HD Oridecon & HD Elunium only can be used to update equip with refine level +7 to +9. It means +7 -> +8, +8 -> +9, +9 -> +10.
* Enriched Oridecon & Enriched Elunium are just replacement of normal materials. It means only can be used to refine up to +10.
* Corrected `true = enriched` flag for `getequippercentrefinery` commands. HD just simply use normal rates, not enriched. Or create new value for HDs later

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
* You are now allowed to add your own refine costs/chances!
* Say goodbye to `event_refine_chance` config. If you need 'event'-like chance, just add the chance value and use that type for `getequippercentrefinery` command, just like its bro `getequiprefinecost`.
* To disable certain refine material (based on refine cost/type) on certain refine level/type, just remove its value from it!
* The most important,see your refine_db.yml now, the refine rates are using refine cost types. If you have custom values, just simply adjust it.
* There are Blessed Oridecon/Elunium from `blessed_refiner` NPC to refine_db.yml but it won't be displayed in NEW Refine UI, why? Because the `RefineUI` value in refine_db.yml is set as `false`.
* technically Over +10 is 'normal' rates, just have different material, so the `REFINE_COST_NORMAL` never be in +11 to +20 so does `REFINE_COST_OVER10` will never be in below +10. There are also HD, Enriched, and Blessed ores with this refine level restriction.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
* Merge remote-tracking branch 'origin/refactor/refine_db' into refactor/refine_db
* WIP refactor refine_db.yml processing (reverted in this commit)
* Removed 'Breakable'
* Added 'OnFail'
  * 'Break' is percentage number to break the equip on fail, 100 = 100%
  * 'DownRefine' is percentage number to downrefine the equip on fail, 100 = 100% (checked after 'Break' chance if passed)
  * 'DownRefineNum' is number of down refine
@ghost

ghost commented Nov 11, 2017

Copy link
Copy Markdown

@cydh how do I pull this to master? Would like to try this PR

@cydh

cydh commented Nov 11, 2017

Copy link
Copy Markdown
Owner Author

u can add new remote for my this repo, fetch it, merge to master or just apply the https://github.com/cydh/rathena/pull/9.diff

@ghost

ghost commented Nov 12, 2017

Copy link
Copy Markdown

@cydh How do I download the patch?

@cydh

cydh commented Nov 12, 2017

Copy link
Copy Markdown
Owner Author

just CTRL+S the .diff page file

@ghost

ghost commented Nov 12, 2017

Copy link
Copy Markdown

@cydh is this not possible via pull? its much easier there so I can always update if you have update too.

@cydh

cydh commented Nov 12, 2017

Copy link
Copy Markdown
Owner Author

u can add new remote for my this repo, fetch it, merge to master

add a new remote, fetch the branch, checkout it (I'm not teaching basic git usage, sorry)

@ghost

ghost commented Nov 15, 2017

Copy link
Copy Markdown

Wooow thanks @cydh <3

@admkakaroto

admkakaroto commented Jan 1, 2018

Copy link
Copy Markdown

after applying this, whenever I put any equipment to head the game crash the client.

#edit:
I'm an idiot, I took it easy and it worked 100%, sorry.

@cydh

cydh commented Jan 1, 2018

Copy link
Copy Markdown
Owner Author

@admkakaroto it's must because you applied it wrong

@admkakaroto

Copy link
Copy Markdown

@cydh Can I use this PR? I saw the PR of Lemon, but do not have the blacksmith blessing, could you use this one here?

cydh added a commit to cydh/openkore that referenced this pull request Jan 3, 2018
* Added command `refineui select [item_index]`
* Added command `refineui refine [item_index] [material_id] [catalyst_toggle]`
* References:
  * rathena/rathena#2494
  * cydh/rathena#9
* Tested using rAthena's PACKETVER 20161207
@admkakaroto

Copy link
Copy Markdown

By using the 'feature.refineui: 2' option I am getting this message:

Msg: [Warning]: conf/battle/feature.conf refine UI is enabled in scripts but disabled in general, enabling...

@luan122

luan122 commented Mar 2, 2018

Copy link
Copy Markdown

hello @cydh , could you update this PR to the lastest version of rA?

@ghost

ghost commented Mar 12, 2018

Copy link
Copy Markdown

Can you update this @cydh ? thanks!

@cydh

cydh commented Apr 3, 2018

Copy link
Copy Markdown
Owner Author

just updated this PR

@teededung

Copy link
Copy Markdown

Please update Holink and Wagjak from rathena@a12c79f

@mjonrest

mjonrest commented Jul 5, 2018

Copy link
Copy Markdown

i saw new 'master' not match to this change... is there any update soon??

thanks

@cydh

cydh commented Jul 5, 2018

Copy link
Copy Markdown
Owner Author

I'll update/rebase this messed up branch this weekend

@mjonrest

mjonrest commented Jul 5, 2018

Copy link
Copy Markdown

thanks for your good work

@cydh

cydh commented Jul 9, 2018

Copy link
Copy Markdown
Owner Author

Thank you for using this PR, I will close this since the commits are in a mess and move to #10
There are no changes, except getblacksmithblessing (I added it while forgot that already add REFINE_BS_BLESSING type for getequippercentrefinery)

@cydh cydh closed this Jul 9, 2018
cydh pushed a commit that referenced this pull request Dec 23, 2020
* Update and correction in item_db and item_combo_db

Thanks to Edward Luciano # 1568
Thanks to 🅺🅸🅽🅶🅰🆁🆃🅴🆁 # 4210

Co-Authored-By: crazyarashi <meganekiho@gmail.com>
cydh pushed a commit that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants