-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Abemat
-
-
I'm using Refineui from Cydh..
Its nok working with new Reathena - after itemdb.txt update to .yml.
QuotePatch that Fail:
--- src/map/itemdb.cpp
+++ src/map/itemdb.cpp
@@ -1431,6 +1441,8 @@
if (*str[21])
id->unequip_script = parse_script(str[21], source, line, scriptopt);
+ id->refine_type = itemdb_set_refine_type(id->type, id->wlv, id->equip);
+
if (!id->nameid) {
id->nameid = nameid;
uidb_put(itemdb, nameid, id);And also:
--- src/map/itemdb.hpp
+++ src/map/itemdb.hpp
@@ -873,6 +873,7 @@
struct item_combo **combos;
unsigned char combos_count;
short delay_sc; ///< Use delay group if any instead using player's item_delay data [Cydh]
+ uint8 refine_type; /// pre-defined refine type, depreciate wlv for refine_info[] lookup. REFINE_TYPE_MAX for not IT_WEAPON, IT_ARMOR, or IT_SHADOWGEAR
bool isStackable();
int inventorySlotNeeded(int quantity);I hope someone can help me to fix the error.. Thanks you for advanced!!
How to fix Refineui Cydh patch!
in Source Support
Posted
Not yet