I did not add it on resolving issues or where the file on the base in the beautiful ...
log in mainline_released/mainline_sg/Srcs/Server/common after open length.h after search this
?
16
INVENTORY_MAX_NUM = 90,
Replace to
?
6
INVENTORY_MAX_NUM = 180,
Open char_item.cpp and search this
?
BYTE bPage = bCell / (INVENTORY_MAX_NUM / 2);
Replace to
?
BYTE bPage = bCell / (INVENTORY_MAX_NUM / 4);
search this
?
if (p / (INVENTORY_MAX_NUM / 2) != bPage)
Replace to
?
if (p / (INVENTORY_MAX_NUM / 4) != bPage)
open exchange.cpp. Search this after add under this.
?
static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 2); // inven page 2
will be like this.
?
static CGrid s_grid1(5, INVENTORY_MAX_NUM/5 / 2); // inven page 1
static CGrid s_grid2(5, INVENTORY_MAX_NUM/5 / 2); // inven page 2
static CGrid s_grid3(5, INVENTORY_MAX_NUM/5 / 2); // inven page 3
static CGrid s_grid4(5, INVENTORY_MAX_NUM/5 / 2); // inven page 4
s_grid1.Clear();
s_grid2.Clear();
s_grid3.Clear();
s_grid4.Clear();
and replace to your self..
?
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; ++i)
{
if (!(item = victim->GetInventoryItem(i)))
continue;
s_grid2.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize());
}
for (i = INVENTORY_MAX_NUM / 4; i < INVENTORY_MAX_NUM; ++i)
{
if (!(item = victim->GetInventoryItem(i)))
continue;
s_grid3.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize());
}
for (i = INVENTORY_MAX_NUM / 4; i < INVENTORY_MAX_NUM; ++i)
{
if (!(item = victim->GetInventoryItem(i)))
continue;
s_grid4.Put(i - INVENTORY_MAX_NUM / 4, 1, item->GetSize());
}
After client..
Log in mainline_released/mainline_sg/Srcs/Client/Userinterface after open GameType.h after search this
?
const DWORD c_Inventory_Page_Count = 2;
Replace to
?
const DWORD c_Inventory_Page_Count = 4;
open inventorywindow.py and search this
?
EQUIPMENT_START_INDEX = 90