Jump to content

belt inventory bug


Go to solution Solved by DisLoyalPro,

Recommended Posts

  • Solution

Hello

 

does anyone know how to fix this bug

 

https://www.youtube.com/watch?v=gOprjTnNiQ8

input_main.cpp:

 

add this: #include "belt_inventory_helper.h"

after this: #include "DragonSoul.h"

 

still in input_main.cpp

 

Search this:

    if (pkItem->GetCell() >= INVENTORY_MAX_NUM && IS_SET(pkItem->GetFlag(), ITEM_FLAG_IRREMOVABLE))

    {

        ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<창고> 창고로 옮길 수 없는 아이템 입니다."));

        return;

    }

 

and add after

 

    if (true == pkItem->IsEquipped() && true == CBeltInventoryHelper::IsExistItemInBeltInventory(ch))

    {

        ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<Belt> You can't do this."));

        return;

    }

 

Not own solution !! Someone did post but I do not know who

 

Sry my bad eng!

  • Love 2
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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