Jump to content

V0iĐ

Premium
  • Posts

    154
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Posts posted by V0iĐ

  1.  

    oh 

     

     

    There is a problem
    Tools do not come in its place

     

    t32y9Np.png

     

    It's not a problem with the py-files, it's a problem with the source. Did you do that too?

    Please rewrite the EQUIPMENT_START_INDEX in the inventorywindow.py and look what happen! :)

    • Love 1
  2. Hi!

    Try this:

     

    find:

    ../common/length.h

    INVENTORY_MAX_NUM       = 90,
    

    Replace to:

    INVENTORY_MAX_NUM       = 135,
    

    Find:

    ../game/src/char_item.cpp

    BYTE bPage = bCell / (INVENTORY_MAX_NUM / 2);
    

    And:

    BYTE bPage = bCell / (INVENTORY_MAX_NUM / 2);
    

    Replace to:

    BYTE bPage = bCell / (INVENTORY_MAX_NUM / 3);
    

    And:

    BYTE bPage = bCell / (INVENTORY_MAX_NUM / 3);
    

    Find: (in the same file)

    if (p / (INVENTORY_MAX_NUM / 2) != bPage) 

    And:

    if (p / (INVENTORY_MAX_NUM / 2) != bPage)
    

    Replace to:

    if (p / (INVENTORY_MAX_NUM / 3) != bPage)
    

    And:

    if (p / (INVENTORY_MAX_NUM / 3) != bPage)
    

    Find:

    ../game/src/exchange.cpp

    static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 2);
    static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 2);
    

    Replace to:

    static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 3);
    static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 3);
    static CGrid s_grid3(5, INVENTORY_MAX_NUM/5 / 3);
    

    Find: (in the same file)

    s_grid1.Clear();
    s_grid2.Clear();
    

    Replace to:

    s_grid1.Clear();
    s_grid2.Clear();
    s_grid3.Clear();
    

    and replace to your self..

    for (i = 0; i < INVENTORY_MAX_NUM / 3; ++i)
        {
            if (!(item = victim->GetInventoryItem(i)))
                continue;
     
            s_grid1.Put(i, 1, item->GetSize());
        }
        for (i = INVENTORY_MAX_NUM / 3; i < INVENTORY_MAX_NUM; ++i)
        {
            if (!(item = victim->GetInventoryItem(i)))
                continue;
     
            s_grid2.Put(i - INVENTORY_MAX_NUM / 3, 1, item->GetSize());
        }
     
        for (i = INVENTORY_MAX_NUM / 3; i < INVENTORY_MAX_NUM; ++i)
        {
            if (!(item = victim->GetInventoryItem(i)))
                continue;
     
            s_grid3.Put(i - INVENTORY_MAX_NUM / 3, 1, item->GetSize());
        }
    

    Client side:

    Find:

    ../userinterface/gametype.h

    const DWORD c_Inventory_Page_Count = 2;
    

    Replace to:

    const DWORD c_Inventory_Page_Count = 3;
    

    Open inventorywindow.py:

    EQUIPMENT_START_INDEX = 90
    

    Replace to:

    
    EQUIPMENT_START_INDEX = 135
    
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.