07-06-2010, 06:06 AM
(This post was last modified: 07-06-2010, 06:08 AM by BjornR1989.)
(okay, AFTER i posted this the previous post appeared; Must've been cached. In any case, i will not delete this message afterwards.)
I've added
and
as a variation on your initial script.
As said before, use the following command to attach the screen:
Then press ctrl+A+D to detach it again.
Code:
#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
cd /home/username/srcds/orangebox
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +ip 212.71.35.84 -port 27017 -tickrate 100 +fps_max 600 +maxplayers 32 +map de_dust2 -autoupdate
sleep 10
I've added
Code:
cd /home/username/srcds/orangebox
and
Code:
sleep 10
as a variation on your initial script.
As said before, use the following command to attach the screen:
Code:
screen -x css-server
Then press ctrl+A+D to detach it again.
Steam username for communication: root_admin (but i'm just a regular user)