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

frozen server

Wilku93

Member
Joined
Jul 7, 2024
Messages
36
Reaction score
9
GitHub
Wilku93
Hi, I'm using TFS 1.4.2 (global map ~8.0) and hosting a test server (8 GB) on OVH.

I don't know why, but I noticed from time to time that if several people are running on the server, the server gets a freeze from time to time. If I click, for example, "Enter" in the server's CMD, it immediately loads the actions, i.e. (someone logs in, etc.) and unlags the server. If I don't click "Enter" the server freezes.

I absolutely don't know where to look for a solution to this problem
 
Try run it with adding & for example:
LUA:
./tfs &
Is hard to help because u didn't even said which OS you using.

This & gonna run app in background, u can also install screen.
 
Just tell me what you need and I will write to you :D

I used the command to open OTS after the reset every time

in windows i used now "start /B theforgottenserver-x64"

":start
theforgottenserver-x64.exe
echo
timeout /t 10
goto go"
acc.webp
 
Last edited:
I used the command to open OTS after the reset every time
That's problem with Windows console. If you select some text in console ex. to copy it, it will freez console and OTS will be not able to write to frozen console, so when it try to login player and show message "X logged in." it will freez whole OTS, as it will wait until console will be writeable again (ex. after you press ENTER in console).

You can try to change your script to:
Code:
:start
theforgottenserver-x64.exe >> console.log
echo
timeout /t 10
goto go
It should start saving console texts to console.log file and maybe it will make console not blocking TFS process, but I'm not sure. Maybe selecting something in console will still freez OTS.

You can try to install Git (https://git-scm.com/) , it contains "Git Bash", which is linux-like terminal for Windows. Then you can start OTS with Bash script that will redirect console output to file ex ./forgottenserver-x64.exe > console.log.
 
Back
Top