UpInSmoke
Supreme Ruler
- Joined
- Nov 16, 2008
- Messages
- 303
- Reaction score
- 21
Okay so I had many problems compiling and here is the only way I was able to. So I thought I would would share this to help anyone who is having troubles.
1. Download: Download | Microsoft Visual Studio 2012
2. Download VC (this includes all the librarys/boost): https://mega.co.nz/#!WVBDlCTR!X2baCAYMXwsW-gP209rsCy12Ty5BThEUAWJKsuLnv-Q
3. Extract VC to your desktop
4. Download your sources from here for regular user: Subversion and premium users: Subversion
5. Extract your sources to your desktop
6. goto your the servers folder you just downloaded and extracted -> sources -> v10
(if you dont have a v10 folder download mine here, tested with 2 different trucks, should work with all I hope.. v10.zip - Speedy Share - upload your files here)
7. rightclick tfs VC++ project -> open with -> MS 2012
8. rightclick tfs (in solution explorer) -> properties -> C/C++
9. Click on addition include librarys (click the little arrow at the right) -> edit -> (click in the white) click the ... thing and located your VC folder on your desktop. Inside your vc folder link the include folder. Then link the VC folder itself. Should look something like this:
10. now click OK -> Apply -> Click the linker tab on the left -> Additional Library Directories (Should be 9th from the top in the list). Now in this one we will link the boost_1_53_0, lib64 and library64.
Should look something like this:
11. Click OK -> Apply
12. Now at the top of the properties list you will see Configuration, Make sure it is set to Release then beside that you will see Platform, set that to your platform.
(If you dont know what platform you have go to your start menu -> computer -> (rightclick) properties -> System Type (It will be 32 or 64 bit)
13. Now you are ready to compile click OK to the properties page in MSVC 2012
14. right click tfs in Solution Explorer and click Rebuild
15. a tfs.exe should be now created in your servers source (will be in x64 -> release)
16. Inside the x64 -> release where the new tfs.exe is make sure you add the proper dll pack: http://otland.net/f18/opentibia-dll-pack-v2-0-a-155310/
17. drag and drop the dlls from your dll pack into the release folder. Now go back to the source code of your server, find the file called config.lua.dist and put that file into your release folder. right click it -> rename -> delete the .dist part (this is your config.lua)
18. go to the main folder of your server and take your sql files/datapack and drag it also into your release folder.
There now when you click the tfs.exe it will run
Hope this has helped, if you get any errors post here and i will try to help
1. Download: Download | Microsoft Visual Studio 2012
2. Download VC (this includes all the librarys/boost): https://mega.co.nz/#!WVBDlCTR!X2baCAYMXwsW-gP209rsCy12Ty5BThEUAWJKsuLnv-Q
3. Extract VC to your desktop
4. Download your sources from here for regular user: Subversion and premium users: Subversion
5. Extract your sources to your desktop
6. goto your the servers folder you just downloaded and extracted -> sources -> v10
(if you dont have a v10 folder download mine here, tested with 2 different trucks, should work with all I hope.. v10.zip - Speedy Share - upload your files here)
7. rightclick tfs VC++ project -> open with -> MS 2012
8. rightclick tfs (in solution explorer) -> properties -> C/C++
9. Click on addition include librarys (click the little arrow at the right) -> edit -> (click in the white) click the ... thing and located your VC folder on your desktop. Inside your vc folder link the include folder. Then link the VC folder itself. Should look something like this:
C:\Users\USER\Desktop\VC\include
C:\Users\USER\Desktop\VC
10. now click OK -> Apply -> Click the linker tab on the left -> Additional Library Directories (Should be 9th from the top in the list). Now in this one we will link the boost_1_53_0, lib64 and library64.
Should look something like this:
C:\Users\USER\Desktop\VC\boost_1_53_0
C:\Users\USER\Desktop\VC\lib64
C:\Users\USER\Desktop\VC\library64
11. Click OK -> Apply
12. Now at the top of the properties list you will see Configuration, Make sure it is set to Release then beside that you will see Platform, set that to your platform.
(If you dont know what platform you have go to your start menu -> computer -> (rightclick) properties -> System Type (It will be 32 or 64 bit)
13. Now you are ready to compile click OK to the properties page in MSVC 2012
14. right click tfs in Solution Explorer and click Rebuild
15. a tfs.exe should be now created in your servers source (will be in x64 -> release)
16. Inside the x64 -> release where the new tfs.exe is make sure you add the proper dll pack: http://otland.net/f18/opentibia-dll-pack-v2-0-a-155310/
17. drag and drop the dlls from your dll pack into the release folder. Now go back to the source code of your server, find the file called config.lua.dist and put that file into your release folder. right click it -> rename -> delete the .dist part (this is your config.lua)
18. go to the main folder of your server and take your sql files/datapack and drag it also into your release folder.
There now when you click the tfs.exe it will run
Hope this has helped, if you get any errors post here and i will try to help