• 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 Can't compile or run web server! Help!

Etheryald

Noob
Joined
Feb 7, 2017
Messages
20
Reaction score
0
Location
Texas
Hey guys, I have read/watched a TON of tutorials in the past few days and I absolutely CANNOT get a server to even start up. I have no idea what I'm doing, but I used to make my own servers all the time back when YurOTS and NeverlandOTS were popular.... I realize now that it's a totally different ballgame but it doesn't seem all that hard, I just cant get ANYTHING to work properly. lol I will upload screenshots of some stuff I'm having issues with.

First these are the files I have downloaded.. I found them here on Otland, under the TFS nightly updates..


Also, we have the VS program for windows. I simply cannot find the "build" option and from what I have seen I believe it should be exactly where I have clicked, any suggestions?


Also, I'm running into issues getting the "phpmyadmin" to work correctly on the Uniform server. I'll be honest I have no idea what to even try here to fix this.. AT ALL lol
 
Last edited:
Solution
@Etheryald Great!

@Mkalo You might want to leave the steps here you went through to solve his problem (so we can mark thread as Answered as well).
1) Tfs SDK folder has to be in a directory folder without spaces in its path
2) Boost has to be in a directory folder without spaces in its path
3) Open cmd as Administrator and use cd to the execute the .bat files to register stuff.
1. Where's the boost library?

2. No, it's not the correct way. I'm not sure how you've opened that file (I use Visual Studio 2015, so not sure how it would look in '14). This is what it looks like if it's started correctly in VS15: https://cdn.pbrd.co/images/vv10QhVP2.png

3. Not sure about Uniform Server, haven't used it. But can you access "localhost" alone? Or 127.0.0.1? Try both and report back.


Besides you don't really have to use facebook for your uploads. Might not be good to expose your identity. There are many image upload services. I use this one for quick CTRL + C / CTRL + V uploads: http://pasteboard.co/ Or simply use attachments in your post.
 
Last edited:
1. boost library is in C:

2. I'm using Visual Studio 2015.. and I know NOTHING about it haha

3. I have tried using "localhost" and "127.0.0.1" in the config.lua under the MySQL settings. server still wont launch.

4. thank you for sharing pasteboard with me! :)
 
Try to open Visual Studio and then go to File -> Open -> Project/Solution and choose your .sln file.

I meant to write "localhost" or "127.0.0.1" in your browser.
 
I tried that in VS, and there is no "Project" or "solution" at all. :/

Also tried changing the URL is the browser many times. never works...

I just keep hitting dead ends man.... I have been trying to get ANY server running and I literaly cant find one that works:/ I'm so frustrated!!
 
I tried that in VS, and there is no "Project" or "solution" at all. :/

Also tried changing the URL is the browser many times. never works...

I just keep hitting dead ends man.... I have been trying to get ANY server running and I literaly cant find one that works:/ I'm so frustrated!!
If you already tried one of the precompiled nightlies, you might tell me what errors you get running them (the .exe server)
 
okay first let me make sure I am doing this correctly.. when I click on the nightlies link here
http://pasteboard.co/vxJV2YKpq.png

this is the screen it brings me too
http://pasteboard.co/vxNBjT4tp.png

so I click here
http://pasteboard.co/vxW1mqOPz.png

which brings me here
http://pasteboard.co/vxWJcbosO.png

and I click here
http://pasteboard.co/vxXulJC0D.png

which brings me here
http://pasteboard.co/vxYkuGM8D.png

and I click download here
http://pasteboard.co/vxZhOKtVR.png

and this is the file that I download. is this correct?
http://pasteboard.co/vy2u5jzPC.png

There is no .exe file in this download.
 
Yeah you used the wrong link from the start, but if you intended to compile on your own that should be all you need. In the vc14 folder you should click the .sln which would then run Visual Studio.
 
okay. when I open the .sln with Visual Studio this is what happens. As I am not familiar with this program I have no idea what to do from here.
http://pasteboard.co/vyxmsJFlA.png

thank you for helping me @Colandus I am very determined to get back into running and modifiying OT servers. I used to be good at this many years ago in the tibia 7.6 and 8.0 such as YurOTS and EVO haha I know things are much different now but I am trying my best to learn!
 
okay. when I open the .sln with Visual Studio this is what happens. As I am not familiar with this program I have no idea what to do from here.
http://pasteboard.co/vyxmsJFlA.png

thank you for helping me @Colandus I am very determined to get back into running and modifiying OT servers. I used to be good at this many years ago in the tibia 7.6 and 8.0 such as YurOTS and EVO haha I know things are much different now but I am trying my best to learn!
I think you're running the wrong program. Now you're just editing the .sln file and not actually using it to load the solution/project. Locate your Visual Studio program. Mine is here: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe". Might be the same for you. Then from there load the project as I said before.

It's possible you might have downloaded the wrong software.

Edit:
Yes, it seems you were. https://www.visualstudio.com/downloads/

You chose the rightmost download, although you should have chosen the leftmost one.
 
Last edited:
Last edited:
Okay I have downloaded the Correct version of Visual Studios and I am on the right path!!! This is the tutorial I am following!
https://otland.net/threads/compilin...-32-bits-pics-and-lots-of-explanation.204532/

and everything has been good so far.. except this happened when I clicked "Rebuild" in Visual Studio.

EDIT: the above problem was resolved. New problem has arrived.. When I click "Build" this is the error I get. http://pasteboard.co/vOhQ1OkIU.png

Have you used the .bat file in TFS SDK as instructed and then moved the boost .bat to the boost folder and used it there, before compiling?

The file in the error is located in the TFS SDK (tfs-sdk-3.2/pugixml/include/pugixml.hpp). Which takes me to above conclusion.
 
Yes, I have done that. When I open the .bat files in both TFS SDK and BOOST, they open a little black window and then close almost immediately. Is that the correct way those are supposed to work?

EDIT: I re-opened the .bat files (run as admin) in both the TFS SDK and BOOST folders. this is the new error when I use "build"
http://pasteboard.co/3bl3ucMzu.png

kindof seems like the same problem I was having with the pugixml... which leads me to think the .bat files are not running correctly. However, I have no idea what to do about that.
 
Last edited:
Yes, I have done that. When I open the .bat files in both TFS SDK and BOOST, they open a little black window and then close almost immediately. Is that the correct way those are supposed to work?

EDIT: I re-opened the .bat files (run as admin) in both the TFS SDK and BOOST folders. this is the new error when I use "build"
http://pasteboard.co/3bl3ucMzu.png

kindof seems like the same problem I was having with the pugixml... which leads me to think the .bat files are not running correctly. However, I have no idea what to do about that.
If you download TeamViewer 12 I can try to help you. Just send me ID and password on PM.
 
Yes, I have done that. When I open the .bat files in both TFS SDK and BOOST, they open a little black window and then close almost immediately. Is that the correct way those are supposed to work?

EDIT: I re-opened the .bat files (run as admin) in both the TFS SDK and BOOST folders. this is the new error when I use "build"
http://pasteboard.co/3bl3ucMzu.png

kindof seems like the same problem I was having with the pugixml... which leads me to think the .bat files are not running correctly. However, I have no idea what to do about that.
You're almost there. It's the .bat you put in the boost directory which is not correct. Perhaps too deep in or so? Should be here "C:\local\boost_1_62_0\register_boost_env.bat" (or wherever you installed it)
 
@Etheryald Great!

@Mkalo You might want to leave the steps here you went through to solve his problem (so we can mark thread as Answered as well).
1) Tfs SDK folder has to be in a directory folder without spaces in its path
2) Boost has to be in a directory folder without spaces in its path
3) Open cmd as Administrator and use cd to the execute the .bat files to register stuff.
 
Solution
@Mkalo I got another question for ya man. I really want to use a 7.6 server so I downloaded this because I assumed it would be EPIC being based off of TFS 1.2
https://otland.net/threads/7-4-tfs-1-2.245320/

But I cant get it to run either. This ones a little tricky because its different that what you showed me earlier, and also different than what is in this video, But I was trying to this tutorial to help me
https://otland.net/threads/video-tu...-website-and-shop-system.166818/#post-1610115

I'm not sure if I need to run the .sln and build it with Visual Studio, but that is exactly what I have tried to do.. and it's giving me an error.
http://pasteboard.co/vTEzdthRy.png
 
@Mkalo I got another question for ya man. I really want to use a 7.6 server so I downloaded this because I assumed it would be EPIC being based off of TFS 1.2
https://otland.net/threads/7-4-tfs-1-2.245320/

But I cant get it to run either. This ones a little tricky because its different that what you showed me earlier, and also different than what is in this video, But I was trying to this tutorial to help me
https://otland.net/threads/video-tu...-website-and-shop-system.166818/#post-1610115

I'm not sure if I need to run the .sln and build it with Visual Studio, but that is exactly what I have tried to do.. and it's giving me an error.
http://pasteboard.co/vTEzdthRy.png
You need to place that in lockfree.h:
https://github.com/otland/forgottenserver/blob/master/src/lockfree.h#L23-L25
 
Back
Top