sururuts
Active Member
- Joined
- Sep 14, 2010
- Messages
- 77
- Reaction score
- 44
Hello, Im using TFS 1.4 with client version 10.98, and im trying to remove the market system (or the players access to it) from my server
I tried looking in the sources and in the server scripts but didn't find anything I could change (im not very familiar with TFS code yet)
anyone know where should I go to remove the system or the marketplace button from the locker?
Sry if this is a newbie question, but i didn't find it anywhere in the google or the codes
Nekiro helped me with the solution in discord
if anyone wonders how to do it in the future
you just need to go in Player.cpp and remove or comment the line:
then compile the sources again, it will remove the market item from locker
I tried looking in the sources and in the server scripts but didn't find anything I could change (im not very familiar with TFS code yet)
anyone know where should I go to remove the system or the marketplace button from the locker?
Sry if this is a newbie question, but i didn't find it anywhere in the google or the codes
Post automatically merged:
Nekiro helped me with the solution in discord
if anyone wonders how to do it in the future
you just need to go in Player.cpp and remove or comment the line:
Lua:
it->second->internalAddThing(Item::CreateItem(ITEM_MARKET));
then compile the sources again, it will remove the market item from locker
Last edited: