• 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!

Issues with starting server for the first time (RSA/ XML missing)

Anomaly303

New Member
Joined
Nov 30, 2024
Messages
1
Reaction score
0
Hey all,

Very new to this, trying to play around with setting up a custom server for the first time.
Compiling seems to have happened without issues, but when I try and run the server I get the following issue:

Code:
T:\Tibia\Server\forgottenserver\vc17\x64\Release> .\theforgottenserver-x64.exe
The Forgotten Server - Version 1.7

Compiled with Microsoft Visual C++ version 1942
Compiled on Dec 11 2024 15:47:17 for platform x64
Linked with Lua 5.4.6 for Lua support

A server developed by The Forgotten Server Team
Visit our forum for updates, support, and resources: https://otland.net/.

>> Loading config
[Error - loadXMLStages] Failed to load data/XML/stages.xml: File was not found
>> Loading RSA key
> ERROR: Error while reading PEM data: error:00000000:lib(0)::reason(0)
>> No services running. The server is NOT online.

I have created both an XML stages file and ssl keys.
XML file at the location:
T:\Tibia\Server\forgottenserver\data\XML

SSL at the location:
T:\Tibia\Server\forgottenserver\ssl

Added a line into config.lua to try and point to the keys:
-- SSL (RSA key and certificate)
rsaKey = "T:/Tibia/Server/forgottenserver/data/ssl/server.key" -- Path to your private key
rsaCert = "T:/Tibia/Server/forgottenserver/data/ssl/server.pem" -- Path to your certificate

I have no idea what Im doing wrong here.
 
Where did you get your distro from? Stages are loaded in config for TFS 1.7

Did you modify the source code to change the SSL file directory? If not then simply adding it to config does not do anything for you.
Post automatically merged:

just use the default RSA until you get familiar with what you are working with.
Post automatically merged:

Post your config.lua and remove important information, I read the code for config just now and it appears that the table for stages in config is empty and that’s why it’s searching for stages in XML.
 
Last edited:
Back
Top