samuel157
/root
- Joined
- Mar 19, 2010
- Messages
- 518
- Solutions
- 3
- Reaction score
- 71
- Location
- São Paulo, Brazil
- GitHub
- Samuel10M
the item does not stay in the other bag, it falls on the floor even though there are 36 backpacks, it does not group together
ITEM FALLS TO THE FLOOR WHEN BACKPACK IS FULL, DOES NOT COLLECT INTO OTHER BACKPACK
ITEM FALLS TO THE FLOOR WHEN BACKPACK IS FULL, DOES NOT COLLECT INTO OTHER BACKPACK
Tested on TFS 0.4 and 0.3.6pl1
Retired from:
Autostacking Items - XTibia - A sua comunidade de Tibia e OTserv
Credits: Exedion
Find the functions and modify !
container.cpp
Retired from:
Autostacking Items - XTibia - A sua comunidade de Tibia e OTserv
Credits: Exedion
Find the functions and modify !
container.cpp
Code:
Cylinder* Container::__queryDestination(int32_t& index, const Thing* thing, Item** destItem, uint32_t&)
{
if(index == 254 /*move up*/)
{
index = INDEX_WHEREEVER;
*destItem = NULL;
Container* parentContainer = dynamic_cast<Container*>(getParent());
if(parentContainer)
return...