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

[8.0] Marketplace System - TFS 1.5

Lukinhah

New Member
Joined
Sep 25, 2017
Messages
6
Reaction score
0
Hello guys,
I want to add marketplace to my server. I currently use tfs 1.5 downgrade to version 8.0;

1741225968814.webp


The db already came with market_offer and market_history.

1741226399880.webp


Since it is a downgrade, I believe it is a little less complicated to add, am I right?

NOTE: I'm using OTCv8 and just added dat/spr 8.2 to run as 8.0;

Please, any information is welcome.
 
Market requires some item information that was added in 9.4x Tibia.dat. Then it was copied into items.otb - of 9.4+ servers -, so server and client know which items are tradeable and what is their category (armor/shield etc.).
Without that information in Tibia.dat and items.otb, you will have to add it somehow into server and client - a lot of work.
 
It is also 8.0 using tfs and otclient and it has market implemented.
It lists all tradeable items on client side:
SabreHaven does not use items.otb to translate client ID to server ID, so code won't be compatible with TFS 1.5. You will have to add code to translate client ID to server ID on server side in all market related functions.
Server side does not list anywhere items allowed to be traded. You can trade any items that does not have special attributes (ex. custom description, modified attack value), including empty containers. If you modify list in client, it may be possible to trade something that shouldn't be traded ex. depot chest. It shouldn't be a big problem, but list of tradeable items should be added in OTS code too.
 
This market, like the one in TFS 1.4.2, adding it to TFS 1.5 8.60 was a real struggle, a lot of work... I can give you some advice.

You can take the custom Pokémon market module, there's a leaked version available. Just pick one from any Pokémon server that you like the most and adapt it using OCPode and JSON. It's very easy, no secret.

I prefer a custom market over the default one.

Or there's another guy who already made a ready-to-use version with both client-side and server-side. Check it out here...
 
Market requires some item information that was added in 9.4x Tibia.dat. Then it was copied into items.otb - of 9.4+ servers -, so server and client know which items are tradeable and what is their category (armor/shield etc.).
Without that information in Tibia.dat and items.otb, you will have to add it somehow into server and client - a lot of work.
I see. Apparently it's a little more complicated than I thought.



Take a look at the sabrehaven server github. It is also 8.0 using tfs and otclient and it has market implemented. Just do your copy-paste cat stuff.
Unfortunately, I've been working on a project for a few months now, and I can't just switch and start over.



This market, like the one in TFS 1.4.2, adding it to TFS 1.5 8.60 was a real struggle, a lot of work... I can give you some advice.

You can take the custom Pokémon market module, there's a leaked version available. Just pick one from any Pokémon server that you like the most and adapt it using OCPode and JSON. It's very easy, no secret.

I prefer a custom market over the default one.

Or there's another guy who already made a ready-to-use version with both client-side and server-side. Check it out here...
I liked your thinking. Along the same lines, I would like a market, but it doesn't necessarily have to be 100% original.
I went to this post, but it only has the files, it would be interesting to see the images before I get disappointed, haha.




I'll look into other types of markets that I can add a little more;
Thanks to everyone who responded;
 
Back
Top