Horizontal Inventory

11/22/2015 19:43 naosou#1
Does any of you know where to change in bin to enable horizontal inventory?
[Only registered and activated users can see links. Click Here To Register...]
11/22/2015 22:29 He3o Crysis#2
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
11/22/2015 23:11 naosou#3
Thanks for your answer.
I'll try it out when I got time.