Jump to content

Abemat

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Abemat

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

     

×
×
  • Create New...