• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

!leavehouse sending items to depot chest (grey box)

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Staff member
Board Moderator
Joined
Dec 17, 2011
Messages
1,772
Solutions
31
Reaction score
1,010
Location
Santiago - Chile
Hi there! I use TFS 1.5 downgrades 8.6. When you use !leavehouse the items are sent to the Locker box that corresponds to the house town. What I actually need is that the items go to the depot chest (that grey box inside lockers) instead of lockers. The reason behind this is that I use towns for a PvP system, so I would like to use the only town that player's can't pick as main town for depots.

To try this I checked
C++:
bool House::transferToDepot(Player* player) const

and tried changing
C++:
DepotLocker* depot = player->getDepotLocker(townId);

for
C++:
DepotLocker* depot = player->getDepotChest();

but that doesn't work. Any other idea of how can I achieve what I need? Thanks in advance!
Regards
 
Bump, still looking for a solution. Got a little reminder that I haven't fixed this yet.
(It looks awfull because now I can't even see the internal box/grey one)
1756633029157.webp
 
Back
Top