Jump to content

sonylein

Inactive Member
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by sonylein

  1. exchange.cpp for (i = 0; i < INVENTORY_MAX_NUM / 4; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid1.Put(i, 1, item->GetSize()); } for (i = INVENTORY_MAX_NUM / 4; i < ( INVENTORY_MAX_NUM / 4 ) * 2; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid2.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize()); } for (i = ( INVENTORY_MAX_NUM / 4 ) * 2; i < ( INVENTORY_MAX_NUM / 4 ) * 3; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid3.Put(i - ( INVENTORY_MAX_NUM / 4 ) * 2, 1, item->GetSize()); } for (i = ( INVENTORY_MAX_NUM / 4 ) * 3; i < ( INVENTORY_MAX_NUM / 4 ) * 4; ++i) { if (!(item = victim->GetInventoryItem(i))) continue; s_grid4.Put(i - ( INVENTORY_MAX_NUM / 4 ) * 3, 1, item->GetSize()); } This should fix the error when trading ( Not enought Inventory space ) and Grid 1&amp;2 are full.&nbsp;
×
×
  • 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.