Jump to content
  • 0

How to fix Refineui Cydh patch!


Abemat

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/11/20
  • Last Seen:  

I'm using Refineui from Cydh..

Its nok working with new Reathena - after itemdb.txt update to .yml. 

 

1401569775_patchFail.thumb.jpg.c5d4c29dc38f986ebe3276f9464e46ef.jpg

 

Quote

Patch 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!!

 

Edited by Abemat
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

Found the solution?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/11/20
  • Last Seen:  

Not yet

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...