Hallo m2 Dev Com,
i have incrased my Inventory and normal Safebox Pagesize:
Inventory 5*9*4 -> 7*9*4
Safebox 5*9*3 -> 9*9*3
To do that, i have changed in my Server Source this Contents:
char_item.cpp
int p = wCell + (i * 7)
on case Inventory and Equipment
CientManager.cpp
CGrid grid(9, MAX(1, pi->pSafebox->bSize) * 9);
tables.sh
#define SAFEBOX_MAX_NUM 243
safebox.cpp (all):
m_pkGrid = M2_NEW CGrid(9, m_iSize);
In the Client i have do the Same Way, i have replaced some Inventory Grids in Client and Server with my new. I have choosen the max possible Grid's under 255.
In Inventory i have 252 Slots.
Now my Problem is. After i put a Item into the Safebox or take one from them, then i got a Kick to Login.
The next Problem is, after i change my Equipment, nothing happens and my item on the first slot will change to the slot from the weapon.
In my serverside syserr is follow Content after Safebox Kick:
SYSERR: Oct 13 23:14:38 :: SetItem: Invalid Inventory type 0
SYSERR: Oct 13 23:14:38 :: Process: SEQUENCE 35319c00 mismatch 0x4e != 0x1 header 71
SYSERR: Oct 13 23:14:38 :: Process: SEQUENCE_LOG [Endless]-------------
My Clientside syserr contains only:
CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
Can someone help me? What is my Misstake?
With kind Regards, BlackEndless