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

Market system tfs 1.5 - 8.6 help debbuging

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
965
Solutions
6
Reaction score
166
Location
Nowhere
Hello

I'm trying to add market system to my server which is tfs 1.5 8.6
i uncommented all the lines that were commented and added all definitions declarations and so on that where removed from the files, i did it all comparing my server code with the up to date tfs repository, after removing all the compilers errors i compiled everything properly, the server opens and i can log in but if i go to
the depot and try to open it the server crashes
can somebody help me to debug this please?

now i have enabled these things and i don't get any crash but i can't see the market depot either

enabled this at otcv8
g_game.enableFeature(GamePlayerMarket)
events/events.xml
added this
<!-- Player methods -->

<event class="Player" method="onLookInMarket" enabled="1" />
data/events/scripts/player.lua
function Player:eek:nLookInMarket(itemType)

local onLookInMarket = EventCallback.onLookInMarket

if onLookInMarket then

onLookInMarket(self, itemType)

end

end

server is not crashing but i don't see any market/store in my depot
 
Last edited:
solved
IWipzjr.png
 
Back
Top