Compiling Tutorial
NOTES: I made this tutorial , as I don't see any of these at OTLand.
NOTES2: I'm Brazillian , sorry if you don't understand my english.
NOTES3: Feel free to report errors and Rep++ me.
THINGS YOU NEED:
Microsoft Visual C++ 2010: Download HereLibraries - OpenSSL included for TFS: Download Here - (Thanks to MartyX for the reupload, please post if they don't work)
SOURCE CODES:
TFS Sources: Download Here NOTE: Only Premium Members can acess it.
Other Sources: You can also use you own sources that you have , but it needs to support MSVC!
"THE JOB":
1 STEP: First of all , Install MSVC and Extract Libraries anywhere you want it.
2 STEP: Open MSVC and then , click on "Open Project"
3 STEP: Go to your source directory -> Obj10 then , Open TFS Project
4 STEP: Left click on TFS project and then open -> Properties
5 STEP: Goto -> C/C++ -> General -> Additional Include Directories and then add "include" directory from where you have unpacked Libs
6 STEP: Now goto -> Linker -> General -> Additional Library Directories and then add "libs" directory from where you have unpacked Libs
7 STEP: Make sure in the top of MSVC are "Release" instead of "Debug"
8 STEP: Left click in The Forgotten Server project , and make "Rebuild"
9 STEP: Wait few minutes , and then it already compiled!
10 STEP: Goto -> Your Sourcecode directory -> vc10 -> Release and copy TFS to your server folder and its ready!
Parameters Config:
1 STEP: Right click on TFS Project and -> properties2 STEP: Goto -> C/C++ -> Processor -> Processor Definitions
3 STEP: Edit parameters with your and click OK , then compile again!
You can use these parameters:
CREDITS:
Vittyn - OTLand.net: Tutorial Part and OpenSSL
PHP:
__WAR_SYSTEM__
__EXCEPTION_HANDLER__
__USE_SQLITE__
__USE_MYSQL__
__ENABLE_SERVER_DIAGNOSTIC__
CREDITS:
Elf - OTLand.net: Give Idea
Pietia - OTFans.net: First Tutorial
Sim0ne - OTFans.net: Some Libs
Feel free to post it anywhere you wants , but give us the credits.
Last edited by a moderator: