• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Server crash on startup: Nested containers in houses (Tibia 13.10 / TFS 1.7)

michalsteliga

New Member
Joined
Jun 4, 2026
Messages
8
Reaction score
3
Hi everyone,

I’m running into a critical issue with my server (Tibia 13.10, TFS 1.7) and I’m looking for some advice from the community.

My server crashes with a Segmentation fault every time it starts up. I have identified that this is caused by "nested" backpacks (a "Matryoshka" style: backpack inside a backpack) that were left inside houses. If such a structure is present in a house, the server fails to load the map and crashes immediately.

Here is what I have tried so far:

  1. I attempted to disable backpack stacking by setting stackable="0" in the items file to prevent players from nesting them.
  2. Unfortunately, this hasn't worked—backpacks still stack automatically in many situations, such as when purchasing them from NPCs. This allows players to create these nested structures, which then cause the server to crash upon the next restart.
Since my attempts to fix this via flags haven't been successful and the crash remains a persistent issue, I am turning to you for help.

I would appreciate any insights on:

  • Why do items still stack during purchases even when the stackable flag is set to false?
  • How can I fix this mechanism or secure the code so that nested containers in houses do not trigger a Segmentation fault during the map loading process?
Any tips on which source files (e.g., game.cpp, container.cpp) I should investigate to resolve this would be greatly appreciated.

Thanks in advance for your help!
1781475669193.webp
Post automatically merged:

1781476482388.webp
Post automatically merged:

The only way to boot the server again is by manually clearing the tile_store table via SQL:mysql -u root -p"password" -e "DELETE FROM tile_store;" database_name

My observations:

  • Single backpacks placed on the floor or inside a house work perfectly fine.
  • The issue only occurs with nested items (e.g., placing a backpack inside another backpack).
  • The server fails to initialize on startup because it cannot load the corrupted nested container structure from the database. It stays stuck until I manually clear the tile_store table.
 
Last edited:
I had a very similar specific error when I used to run TFS 1.2 several years ago. In my case was not at the houses but in the inbox of one particular player. If he logged in on top of depot's tile the server would crash. It took us weeks to figure it out.

Unfortunately we never actually found the root cause, but this seems like an ancient glitch that exists in some versions of TFS.

Your best bet is to try and run debug symbols and use an AI model to try and help you. Either that or be open to switch to an engine that might have this fixed already. For your version of Tibia why not use Canary, for example?
 
Back
Top