• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Missing config.lua for tfs 1.2?

Simbaclaws

ˁ(⦿ᴥ⦿)ˀ
Joined
Mar 15, 2016
Messages
41
Reaction score
1
Location
Netherlands
I just compiled the source of The Forgotten Server on my ARM architecture raspberry pi. Everything seems to have compiled correctly but when starting ./tfs I'm getting the following error:

>> Loading config
[Error - ConfigManager::load] cannot open config.lua: No such file or directory
> ERROR: Unable to load config.lua!
>> No services running. The server is NOT online.

Where exactly is this config.lua stored and how does the server try to access it?
Also, could it be the case that I have to move my tfs server from the build directory into the master git branch?

The wiki of forgottenserver on otland/forgottenserver github doesn't have much instructions after compiling. Actually none at all. Can anyone point me on what to do to setup a server after compiling?

I also would think things like port forwarding, setting up a map etc all are part of setting up a server after compiling right?

EDIT: I saw a config.lua in the master git branch so I moved the tfs to the master git branch and a different error now pops up. My current error is that it can't connect to the MySQL server which is normal because I haven't set it up yet. If there is something like a full tutorial on setting up the forgotten server on linux I would very much appreciate a link.
 
Last edited:
config.lua should be in main folder
yeah I already had it figured out, put up a edit.
I'm gonna have to setup MySQL now. I already have a nginx server running on my pi.
would you know of any server setup tutorial that guides you through the process of setting up your server?
 
Last edited:
Thank you that was exactly what I needed, however I got everything working without looking at the thread. Figured it out on my own.
Now all I have to do is find out how I can get dat and spr files for my otclient (1074) and try to connect to my newly setup server :)
Should I start a new thread with this question?
Install Tibia 10.74 and grab the spr/dat files and place them inside data/things/1074 in OTClient.
 
Back
Top