Jump to content
  • 0

Fail too patch Refine UI


rifqizahin

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  07/30/18
  • Last Seen:  

After new update... i got problem with Refine UI patching..

I cant patch this one:
 

--- 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);


--- 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);

 

Can anyone help me to fix this error... Tq for advanced...!!! ?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...