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

Editing OTC and TFS

Heon

Advanced OT User
Joined
Jul 29, 2012
Messages
322
Solutions
2
Reaction score
219
Location
Croatia
Hi, I've compiled latest TFS and OTC manually from github and when I am to change any source code do I really need to rebuild everything again or is it possible to rebuild only the *.cpp (or *.h etc.) I've changed? I ask this because it really takes a lot of time to rebuild it again especially otclient. Well not a lot but its not fast either...

For example, I changed only 1 line of code from gameinterface.lua :
Lua:
setupViewMode(0)
to :
Lua:
setupViewMode(2)

And now to see changes ingame I have to recompile the whole otclient project? Or is there another way I can see changes without needing to rebuild the whole damn thing?
 
Once it's not in .cpp files it's NOT needed to recompile whole client again.
Also remember that - some "options" are saved in config.otml file in:
C:\Users\YourUserName\NameOfClient
and to see changes you must just remove the file to see changes "clean" (default).
 
Back
Top