Il Knight
Veteran OT User
Hi, today im trying to make the item 2000 (container) with Pagination true. (infinite backpack)
Container.h
all containers of the game = pagination false as default.
Inbox.cpp and Depotchest.cpp
type, 32 slots, unblocked(true), pagination(true)
Good all working.
But how i can set Pagination True to specific items, like item id 2000, or 5000 etc.
in other thread i see this
where pid is slots.
this is iologindata.cpp
how i can do something like, if container get id = xxxx then set pagination true?
Thanks in advance.
If you need help to set pagination true to your depot or inbox and be able to move items inside of then with the page 2,3,4 etc working only post.
Container.h
Code:
Container(uint16_t type, uint16_t size, bool unlocked = true, bool pagination = false);
all containers of the game = pagination false as default.
Inbox.cpp and Depotchest.cpp
Code:
Container(type, 32, true, true)
type, 32 slots, unblocked(true), pagination(true)
Good all working.
But how i can set Pagination True to specific items, like item id 2000, or 5000 etc.
in other thread i see this
Code:
if (pid >= 1 && pid <= 11) {
if (pid == 11) {
Container* container = item->getContainer();
if (container) {
container->setPagination(true);
}
}
where pid is slots.
this is iologindata.cpp
how i can do something like, if container get id = xxxx then set pagination true?
Thanks in advance.
If you need help to set pagination true to your depot or inbox and be able to move items inside of then with the page 2,3,4 etc working only post.