SRCDS Steam group


linux install quicky
#16
d_adams1969 Wrote:I use a script for updating it once it's installed.

Create the file "updatehl2.sh" and make it executable.
Put this in it and modify it to your needs, ie; change it's location.

Code:
#!/bin/sh
echo "updating HL2 Server"
sleep 1
./steam -command update -game "hl2mp" -dir /home/yourusernamehere/hl2mp

Run from a terminal, let it finish, run it again to make sure it's really up to date. Done.

Untip, this might be what you're missing and the reason for the error you get. And WHY are you doing that as root? Read the 3rd line of the very first post.

Also you could use the cron utility to schedule this update script to run automatically every so often, and the nice utility to make sure it doesn't take up too much CPU power when it runs.

Ahh, the wonders of Linux Smile
Reply
#17
thedcase Wrote:I have never used linux and only installed it because windows would not install, how do you make something an executable. What is a dir and how do you make one. I have suse linux 9.1

http://mally.stanford.edu/~sr/computing/basic-unix.html

Executable = 'chmod +x thefile'
Reply
#18
Question: I get this error when starting the server
Any one know wats wrong here? :

Checking/Installing 'Source Dedicated Server Linux' version 90


HLDS installation up to date

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
maxplayers set to 16
RCON Server bind failed (Address already in use)
Network: IP unknown, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal
exec server.cfg: file size larger than 20MB.


i think i might have blown it sumwhere lol

also im a n00b, i use a diff computer for my steam account. how do i know which is my server?/ how do i edit the name nd stuff
Reply
#19
just some noob here trying to install in ubuntu, when ever I try to do "./hldsupdatetool.bin" I get command not found. I blame my lack of sleep personally.
Reply
#20
Yes I would also be intrested in such a guide

LeGionKeiN Wrote:We'd be greatfully appreceate if there was a DoD:S Dedicated Server installation tutorial under linux. If needed I could translate it into russia and place it on my clan home-site, youre author rights would be reserved.
Jim
CEO
Co-Founder
Veloci Servers
¤ø„¸¨°º¤ø„¸ ¸„ø¤º°¨¸„ø¤º°¨
¨°º¤ø„¸ Hardstyle ¸„ø¤º°¨
¸„ø¤º°¨ Q Dance ``°º¤øFrom Ireland
Reply
#21
midnitte did you chmod your bin so you can excute it (chmod +x hldsupdatetool.bin) and make sure your in the directory that its in
Reply
#22
Yes, though it ends up just being something like:

directoryblahblahblah: chmod +x hldsupdatetool.bin (then I press enter)
directoryblahblahblah:

So I have no clue if it actually did apply or not.
Reply
#23
untip Wrote:[root@zhkdld05 srcds]# ./steam -command update -game "counter-strike source" -dir .
Checking bootstrapper version ...
Failed to connect to any GeneralDirectoryServer

The Smae Problem Sad
idk how old this post is, but your error there is cause your running from root
Reply
#24
Midnitte Wrote:Yes, though it ends up just being something like:

directoryblahblahblah: chmod +x hldsupdatetool.bin (then I press enter)
directoryblahblahblah:

So I have no clue if it actually did apply or not.

are you running it in root? if so thats your problem.. i followed this word for word and it worked perfectly... you might also want to install that ncompress by yum install ncompress. after i did that it worked fine
Reply
#25
Code:
~/srcds$ ./steam -command update -game l4d_full -dir .
3: Checking bootstrapper version ...
4: Getting version 34 of Steam HLDS Update Tool
5: Connection Reset

tried 30 times, because i read somewhere its due to busy steam servers, but i suspect somethings wrong.

followed your every words an up to that step it worked flawlessly.
hope someone can help me,

thank you in advance!
.dcp
Reply
#26
Hi, does it matter what directory it is installed in (ie i have installed mine in my 'home' area) - i am using ubunto and it is my first experience with linux... it installed fine first time although the cstrike, and bin and hl2 folders are locked so i cannot put a server config file in there!
many thanks

Wo0
Reply
#27
Midnitte Wrote:just some noob here trying to install in ubuntu, when ever I try to do "./hldsupdatetool.bin" I get command not found. I blame my lack of sleep personally.

sounds you not in the correct folder

try (pardon this as i am new too)

check which folder you have put hldsupdatetool.bin in via the gui > open terminal (anything in brackets don't type in)

right here goes...

yourhome$:~dir (shows folder level)
Home Documents blah blah scrds_l
yourhome$:~/ cd scrds_l (amke sure it is exactly as it says in the dir)
yourhome$:~dir/srcds/ dir
hldsupdatetool.bin Mygamefolder
yourhome$:~ ./srcds/ sudo hldsupdatetool.bin
password for yourhome:~/

then do

yourhome$:~ ./srcds/ sudo ./steam
password for yourhome:~/


it is case sensitive when changing folders etc...


hope that helps!
Reply
#28
whats the best command line to start the server.. I allways keep a terminal open connected to the box so i can watch the console.
Reply
#29
run it inside a screen session (run "man screen" for details)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#30
screen -AmdS <alias> <command to run>

<alias> is an arbitrary name for the screen session. Not neccesary, but helpful if you are running more than one server. If you don't use it, leave off the 'S' option.

i.e.
screen -AmdS tf2server_1 ./srcds_run +map cp_dustbowl +ip 1.1.1.1 +port 27015 -autoupdate +max_players 24 -pidfile /var/run/srcds/tf2server-game.pid"
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)