LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

EasyAntiCheat Scout shutting Down

Open VincentDercourt opened this issue 8 years ago • 55 comments

Hello, since the automatic restart scheduled at 15h my 3 servers no longer miser. The console returns the result below.

image

https://hastebin.com/yuhubikexe

Thank you in advance for your help.

VincentDercourt avatar Feb 22 '18 15:02 VincentDercourt

I have the same problem!

kossamuno avatar Feb 22 '18 16:02 kossamuno

This problem seems to be the same for everyone on linux. I tried a basic installation without gameservermanagers and the problem is still present.

VincentDercourt avatar Feb 22 '18 16:02 VincentDercourt

Contacted facepunch support an hour ago or so. They are already on the case it seems.

lillelilje avatar Feb 22 '18 17:02 lillelilje

It seems like adding -debug to your start parameter helps as a workaround for now. To see how to change your start parms, read this https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters

This is nothing LGSM can fix for now until proven otherwise. If you're facepunching yourself because of this issue, that is normal, remember that the game and server are developped by Facepunch.

UltimateByte avatar Feb 22 '18 18:02 UltimateByte

-debug sadly doesn't seem to work for me, but thank you :)

lillelilje avatar Feb 22 '18 19:02 lillelilje

Yep, -debug not working here either :(

sh1ny avatar Feb 22 '18 19:02 sh1ny

Didnt do the trick for me either. Thanks for the attention though UB!

kossamuno avatar Feb 22 '18 19:02 kossamuno

Well, it worked yesterday for another user, but maybe the update wasn't out yet. Does ./rustserver debug work?

UltimateByte avatar Feb 22 '18 19:02 UltimateByte

Same exact issue with ./rustserver debug too

lillelilje avatar Feb 22 '18 20:02 lillelilje

So that's a different thing. Well, just wait for Facepunch to put their thumbs out their asses, and google around see if you got a workaround. If you got one, I can implement a hotfix. But this one will most likely require a fix from FP.

UltimateByte avatar Feb 23 '18 01:02 UltimateByte

same problem here i did debug but just have the same shit

` InitServer: GameServer_Init returned false Couldn't initialize Steam Server (2973146311)

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Server startup complete EasyAntiCheat Scout Shutting Down

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

EasyAntiCheat Server Shutting Down

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

[Raknet] Server Shutting Down (Shutting Down) Setting up 4 worker threads for Enlighten. Thread -> id: 7fd34ff7b700 -> priority: 1 Thread -> id: 7fd34f57a700 -> priority: 1 Thread -> id: 7fd34eb79700 -> priority: 1 Thread -> id: 7fd34e178700 -> priority: 1 eac_server.so [x64] :: OnUnload() `

Achillesfm avatar Feb 23 '18 02:02 Achillesfm

Hi,

I've been able to launch the server manually by doing this:

#!/bin/bash

# Do not remove this line
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/steam/server/serverfiles/RustDedicated_Data/Plugins/x86_64"

# Start the server (note that the -logfile argument is used to log to console)
./RustDedicated -batchmode +server.ip XXX.XXX.XXX.XXX +server.port 28015 +server.tickrate 30 +server.hostname "Rust" +server.identity "rustserver" +server.seed 1 +server.maxplayers 80 +server.worldsize 4500 +server.saveinterval 120 +rcon.web 1 +rcon.ip XXX.XXX.XXX.XXX +rcon.port 28016 +rcon.password "CHANGE_ME" -logfile "/home/steam/server/log/server/rustserver-game-2018-02-23-02:44:50.log"

I've put the script in /home/steam/server/serverfiles/test.sh.

Replace the 2 occurrences of XXX.XXX.XXX.XXX with the server IP address.

But I'm not able to find where to add the LD_LIBRARY_PATH to I have it in the t-mux session 😞

So, as I write these lines, I have my process in the foreground for my server to stay up.

EDIT :

I found a way to have the server running even after closing the SSH connection.

Once you have the file in place :

tmux new-session -d -x "23" -y "80" -s "rustserver"
tmux send-keys -t rustserver C-z 'cd /home/steam/server/serverfiles' Enter
tmux send-keys -t rustserver C-z 'bash test.sh' Enter

/!\ Do not press "Enter", literally write "Enter" at the end of the lines and then, press Enter.

gaillafr avatar Feb 23 '18 02:02 gaillafr

So @gaillafr what did you change to make it work?

lillelilje avatar Feb 23 '18 07:02 lillelilje

Worked for me using the start script gaillafr refered to. For some reason I cant get it to work in a new session. I should mention that if you are using LGSM the default server identity should be "rust-server" and not "rustserver" as gaillafr is using in his exmaple. If you simply copy paste his script without changing the server.identity parameter you will start a new "instance" of your server with a fresh map.

But what does this mean? Where is the problem, with the linux binary or with LGSM?

EDIT: Sorry, I can get it to work with a new sessions. Path problem if you use LGSM so then u cant simply copy from the example without changing the path. You should put the start script in '/home/rustserver/serverfiles'. To start in a new session then use the following commands:

tmux new-session -d -x "23" -y "80" -s "rustserver" tmux send-keys -t rustserver C-z 'cd /home/rustserver/serverfiles' Enter tmux send-keys -t rustserver C-z 'bash test.sh' Enter

kossamuno avatar Feb 23 '18 08:02 kossamuno

Indeed, server starts with that script. @UltimateByte you might be interested in this

lillelilje avatar Feb 23 '18 09:02 lillelilje

Thank you for your solution @gaillafr .

For those who wish it here is a script that you have to place in your server and modify according to your configuration.

https://pastebin.com/HcBshYfK

VincentDercourt avatar Feb 23 '18 09:02 VincentDercourt

But, to what I can see lgsm does exactly the same as what this script does. I'm really curious about what caused this.

lillelilje avatar Feb 23 '18 09:02 lillelilje

There was a rust update yesterday. This caused this bug. Lgsm has not yet had the time to correct the problem but it will surely be done in the future.

I use a translator. Sorry if my phrase have errors.

VincentDercourt avatar Feb 23 '18 10:02 VincentDercourt

add file /home/rust/lgsm/config-lgsm/rustserver/rustserver.cfg

-executable="./RustDedicated"
+executable="LD_LIBRARY_PATH=$LD_LIBRARY_PATH:dirname $0/RustDedicated_Data/Plugins/x86_64 ./RustDedicated"
work

determinaft avatar Feb 23 '18 11:02 determinaft

i'm new on this thing can you guys explain a little bit more? do like a tutorial

Achillesfm avatar Feb 23 '18 14:02 Achillesfm