SRCDS Steam group


Launch script. Works for hlds but not srdcs.
#1
Hello everyone!

I've been messing around with code on my server-on-demand site. So basically I had CS 1.6 servers and I'm using the same script to try and launch TF2/L4D servers. But it doesn't work.

I'm not really good with linux, so maybe there is some kind of bug?

Quote:if [ $1 = "tf" ] ; then

# move config to portdir

mv ${sdir}/orangebox/tf/$2.cfg $port_dir/orangebox/tf/user.cfg

# lounch variables

vars="-game tf +exec server.cfg +maxplayers 12 +map cp_granary +ip ${ip} +port $2 +pingboost 3 +restart"

# secure/insecure

# steam/nosteam


# lounch server

if [ $error = "0" ] ; then
cd $port_dir && screen -m -d -S ${1}${2} ${port_dir}/orangebox/srcds_run ${vars}
echo "Server[$1:$2:$3:$4] lounched."
fi

fi

#
## On error delete
#

if [ $error = "1" ] ; then
echo "USAGE: $1 $2 [secure|insecure] [steam|nosteam]"
rm -rf $port_dir
fi

Does anyone have any idea why this won't work?

My team fortress files are in tf/orangebox/tf

This code works for CS 1.6, but I'll retain from posting it for now. maybe there's some kind of bug in this code.
Reply
#2
those code is incomplete
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#3
What exactly is "nosteam"...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)