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

Compiling Market System

STONARD

New Member
Joined
Aug 7, 2022
Messages
28
Reaction score
4
Hello, trying to add or rather uncomment the code for market system to work for TFS 1.5 nekiros downgrade, but getting these errors:

files:
*game.cpp
*const.h
*protocolgame.cpp
*player.cpp
*actions.cpp


1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5201,58): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5247,34): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5271,35): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5312,34): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5352,58): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\game.cpp(5488,34): error C2039: 'getLastDepotId': is not a member of 'Player'
1>C:\Users\Desktop\TFS-1.5-Downgrades-7.72\src\npc.h(29,7): message : see declaration of 'Player'

any ideas?
 
Last edited:
You fucked up something if it can't find Player class
also missing in player.h getLastDepotId

getMarketItemList this is missing in game.h
 
there's no use in fix it if you don't have the client with the protocol that handle this, becuse spr / dat files for market has a new or custom flag called market ofc , where you enable or disable the item in order to be selled or not, this version is 9.40
otherwise you'll need to make a lo of editions in source and in client
 
Back
Top