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

Error while reading PEM data

The Pico

New Member
Joined
Oct 8, 2023
Messages
4
Reaction score
1
I was following the tutorial on Otland to compile the server they provide, and I'm getting the following error. I searched but couldn't find anything about it. My second question is: how can I know which version I'm compiling so I can log into it using the Mehah client?

1751743862694.webp
 
I was following the tutorial on Otland to compile the server they provide
Problem is probably that you cloned (git clone) repository on Windows. It replaced in all files LF ("new line" in Linux style) to CRLF ("new line" in Windows style) by default.
I think it was fixed in some new TFS commit, but I cannot find it. Before changes, TFS expected key.pem with LF line endings and failed, when it was with CRLF line endings.

You should be able to fix it without C++ changes/compilation:
1. Make sure that file key.pem exists in TFS folder.
2. If it exists, make sure that line endings are LF in ex. Notepad++.
On screenshot is TFS 1.6+ key.pem with INVALID line endings CR LF (you can click right mouse button on area marked red on screenshot and change line endings in Notepad++ to LF, then save file [CTRL+S] and start server again):
1751745149219.webp
how can I know which version I'm compiling so I can log into it using the Mehah client?
Client version is defined in src/definitions.h ex. newest TFS is for 13.10 and 13.11 clients:
 
Back
Top