• 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!

New Slot Item TFS 1.3 Problem

WikiArk21

Member
Joined
Oct 24, 2023
Messages
30
Reaction score
6
I followed a tutorial here on the forum about new item slots, but I had to make some modifications to make it compatible with my TFS. However, there's a problem. When an item is equipped in the slot, the player logs out and logs back in, and the item is deleted from the slot. However, there was no error during compilation or even in the console when the server is open. Can anyone shed some light on what the problem might be?

Tutorial: TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537/)
Post automatically merged:

I followed a tutorial here on the forum about new item slots, but I had to make some modifications to make it compatible with my TFS. However, there's a problem. When an item is equipped in the slot, the player logs out and logs back in, and the item is deleted from the slot. However, there was no error during compilation or even in the console when the server is open. Can anyone shed some light on what the problem might be?

Tutorial: TFS 1.X+ - Help new inventory slot TFS 1.3 and OTClient (https://otland.net/threads/help-new-inventory-slot-tfs-1-3-and-otclient.264537/)
The problem was between the chair and the computer (lol). It was a lack of attention and I had to add in player.cpp in void Player::internalAddThing(uint32_t index, Thing* thing) the added alots
 
Last edited:
Back
Top