slavidodo/OpenTibia-Unity

Autocalibrate container viewsize

Closed this issue · 2 comments

Znote commented

If there is enough space in the client to display the contents that are in a container, it should show it.

OTU implementation:
calibratecontainerviewsizeOTU

cipclient implementation:
calibratecontainerviewsize

This only happens in depot iirc

Znote commented

No, the above gif animations also shows the same issue with backpack, hiding the last 2 slots (fire sword + 50 crystal coins) in OTU.

It looks like the autocalibration only takes whole rows into account, and not partial container rows.
I think the issue here is a +1 missing from a row calibrator somewhere.

Even if there are no items in a container, the whole first row should be visible.

If there is even 1 item in the third row, the whole third row should also be visible. (If the client has space for it).