• 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 tfs 0.4 ERROR: Unable to load config.lua!

dunnish

New Member
Joined
Jun 18, 2009
Messages
268
Solutions
1
Reaction score
2
Hello!

i have all files in the release folder from the source code.
and im getting this error ERROR: Unable to load config.lua!
but when i open the The forgotten server manually without visual studio its working in the same catalog.
tfsconfigloading.PNG
lua in release folder.PNG
vstfs errpr.PNG
 
Solution
don't open it with visual studio, it opens it inside the release folder
if you want to debug your server open it manually then use ctrl+alt+p to attach debugger to your process
don't open it with visual studio, it opens it inside the release folder
if you want to debug your server open it manually then use ctrl+alt+p to attach debugger to your process
 
Solution
Or just change the working directory.

Googling says it's there, can't confirm:
Project > Properties > Configuration Properties > Debugging > Working Directory
 
Or just change the working directory.

Googling says it's there, can't confirm:
Project > Properties > Configuration Properties > Debugging > Working Directory
then to start the server he'd have to copy his files over to the release folder and use that as a working directory or swap release destination to his server's folder
 
then to start the server he'd have to copy his files over to the release folder and use that as a working directory or swap release destination to his server's folder
No, that only changes the directory in which the binary is run. No need to move anything.
 
Bump. I dont know how to solve this :(

I have changed destination as Dantez recommended, i set this to main theforgottenserver directory, but despite this it has been located in (theforgottenserver)/vc14/x64/Release

34890

And server doesnt even pop up (i can see blinking cmd window for a 0.5 second then it disappears).
There's a content of main directory:

34891

Anyone has a solution?
 
Back
Top