Jump to content

2DsSDKMN

Inactive Member
  • Posts

    27
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 2DsSDKMN

  1. Hello, i did all from post but it work just in belt_inventory_helper.h with return false; after that i did4 inventory, i cant find anywhere(Dev,Hub,PvPelit.) solution for this bug ( log nothing, syserr nothing ) [Hidden Content] I know, its server side, but can anyone give me some advice please? Problem is you can put items from safebox to belt inventory. Code: char_item: if (Cell.IsBeltInventoryPosition()) { //LPITEM beltItem = GetWear(WEAR_BELT); //if (NULL == beltItem) //return false; //if (false == CBeltInventoryHelper::IsAvailableCell(bCell - BELT_INVENTORY_SLOT_START, beltItem->GetValue(0))) //return false; if (m_pointsInstant.bItemGrid[bCell]) { if (m_pointsInstant.bItemGrid[bCell] == iExceptionCell) return true; return false; } if (bSize == 1) return true; } belt_inv_helper: static bool IsExistItemInBeltInventory(LPCHARACTER pc) { //for (WORD i = BELT_INVENTORY_SLOT_START; i < BELT_INVENTORY_SLOT_END; ++i) //{ //LPITEM beltInventoryItem = pc->GetInventoryItem(i); //if (NULL != beltInventoryItem) //return true; //} return false; }
×
×
  • 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.