Posts: 12
Threads: 6
Joined: Jan 2005
Reputation:
0
I have two questions.
1. I have a linux server and want to resell gameserver but I search for a webinterface best of all for counter-strike source or only a shell script to start, restart and stop a server.
2. How can I do a reinstallation without downloading the files? Is there a way to copy the files from another gameserver?
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
I would go with gamecp
www.gamecp.com
it allows you to control and install multiple servers remotly.
[img]*****highperformancegaming.net/images/userbars/userbar_wow.jpg[/img]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 91
Threads: 4
Joined: Dec 2004
Reputation:
0
If you're talking about the srcds downloaded with the hldsupdatetool you can just copy the folders and contents from one server to another. There's no need to re-download the files (unless of course the server installation is old and needs updating).
I did this with my Win 2003 server and it worked fine.
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
02-11-2005, 11:17 AM
(This post was last modified: 02-11-2005, 11:18 AM by cryotek.)
Code:
#!/bin/bash
INST_SRC=${HOME}/hlds_l
INST_DEST=${1}
[ -z ${INST_DEST} ] && mkdir ${INST_DEST}
cp -al ${INST_SRC} ${INST_DEST}
if [ ${INST_SRC} = ${HOME}'/hlds_l' ] ; then
INST_SRC=halflife/
cd ${HOME}
for i in `find ${INST_SRC} -name "*.cfg"`; do
modme=`echo $i | cut -d "/" -f 2,3,4,5,6,7,8`
rm -rf ./${INST_DEST}/${modme}
cp -a $i ./${INST_DEST}/${modme}
done
fi
echo "Steam installed with default configs at ${INST_DEST}!"
${HOME}/hlds means /home/user/hlds_l i.e. /home/cryotek/hlds_l
[img]*****highperformancegaming.net/images/userbars/userbar_wow.jpg[/img]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.