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

Dev question. How tibia handle itens on ground?

Synphaz

New Member
Joined
Oct 7, 2024
Messages
1
Reaction score
0
Question:
- How tibia handles itens on ground?

What i know about tibia code:
Nothing. I'm new to gamedev
What i assume:
Basically the itens must not be on "sqm data". But must has a data in the "sqm data" that help to find the "itens_table"?
The image represent my toughts
tibiaquestion.webp

I always wanna knew how it works, but i didn't found something i could understand online about it, thats why i'm asking here. Maybe i just don't know how/where to search online dev stuff.
 
well yeah they're stored on tile you can retrieve that data via Tile
local mytile = Tile(targetPos)
mytile:getItems()
will return the table with all the items on that tile that are not ground
then you also have something called stackpos which is the position on tile from top to bottom.
 
Back
Top