You have to change that serverside.
Code:
new CGrid(5, INVENTORY_PAGE_SIZE / 5)
--> new CGrid(X, Y);
Search for CGrid and swap the arguments (in our example)
Code:
new CGrid(5, INVENTORY_PAGE_SIZE / 5)
--> new CGrid(INVENTORY_PAGE_SIZE / 5, 5)
You also have to look for:
Code:
int p = wCell + (i * 5)
BYTE p = bCell + (5 * j);
In this case
5 represents the slots on the x axis.
If you have more slots (Which will be the case if you have an horizontal inventory) on the x axis just increase the 5 to your slotcount.
That should do the job.
(I'm not 100% sure that this is everything you have to do!)
Regards,
Crysis