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

Problem after adding market/inbox

3alola1

I don't have time
Premium User
Joined
Sep 2, 2010
Messages
740
Solutions
7
Reaction score
303
Location
Middle Earth
Hello otland I was trying to add the market system to my server from tfs 1.4.2 to tfs 1.5 everything worked perfect except getting this error into these files my server is tfs 1.5 nekiro downgrade 8.6
inbox.cpp
1737250642420.webp

1737250670897.webp


what is the reason for this two errors?
 
Last edited:
Solution
make market work for 8.6?
Only with OTCv8 market module and modified code on server side. Market added on RL Tibia in 9.44 did one big change in RL Tibia Client. Since this version Tibia.dat file contains item names, categories (armor, helmet etc.) and information, if they are tradeable on market at all. Without that infomation - with 8.6 Tibia.dat file - OTC has to receive list of items and their names, whenever client opens market.
Code modification proposed by OTCv8 (for old protocols) expects server to send that list of items information from server, when client 'open market' (it sends packet to server to get basic market information)...
This is what I am using to avoid using a new custom object builder, atleast for the downgraded 7.72 version of nekiro.

market.lua

marketprotocol.lua

then just enable market on game_features
 
This is what I am using to avoid using a new custom object builder, atleast for the downgraded 7.72 version of nekiro.

market.lua

marketprotocol.lua

then just enable market on game_features
The program is already available for download, Object Builder, which has the "market" option for the object editor and the "wareid" option for the item editor. With these options, you can edit the sprite, as well as the name of the market to make it commercial. Then, compile the sprite, set the "wareid" option, and save. After that, open TFS and the market should appear correctly, with everything working fine.


This works without the need to add an ID for each item in Lua, which would be more time-consuming. I recommend using the program to avoid headaches. :)

 
Back
Top