SRCDS Steam group


Need Help Setting Up/Running TF2 Server
#1
Hey all...

I am new here and to running a source dedicated server on linux, so forgive me for my inexperience here.

Here's the problem:
Code:
root@pegasus:/srcds_1# ./srcds_run -console -game tf +192.168.254.51 -27025 +maxplayers 24 +map cp_dustbowl
Invalid game type 'tf' specified.
Sun Dec 16 12:22:50 EST 2007: Server Failed

thats what I am getting every time i try to start the TF2 server. I have it installed with a complete server.cfg file, yet I still have the problem. Can someone help me?
Reply
#2
You dont specify a game when running the SRCDS.exe
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#3
I removed game from the command and now have this:
Code:
root@pegasus:/srcds_1# ./srcds_run -console +192.168.254.51 -27025 +maxplayers 24 +map cp_dustbowl
Auto detecting CPU
Using default binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
Unknown command "192.168.254.51"
maxplayers set to 24
CModelLoader::Map_IsValid:  No such map 'cp_dustbowl'
map load failed: cp_dustbowl not found or invalid
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27016 SV / 27006 CL

also did this just to test:
Code:
root@pegasus:/srcds_1# ./srcds_run -console -tf +192.168.254.51 -27025 +maxplayers 24 +map cp_dustbowl
Auto detecting CPU
Using default binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 32
Unknown command "192.168.254.51"
maxplayers set to 24
CModelLoader::Map_IsValid:  No such map 'cp_dustbowl'
map load failed: cp_dustbowl not found or invalid
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
Mon Dec 17 22:10:06 EST 2007: Server Quit
Reply
#4
well if that's your whole startup line it's wrong, you need "+ip blah.blah.blah.blah and -port blah" not just the numbers

but yes you do need the "-game tf" flag as well.

try that and see what happens.
Reply
#5
Okay... I ended up having to reinstall the whole server since this install was completely FUBARed.

My question is this: I will have sv_lan set to 0 making it visible (hopefully) on the internet. when I start the server, what IP address should I put into the command, the local IP of the server or the external IP of the computer?
Reply
#6
alpha_omega Wrote:Hey all...

I am new here and to running a source dedicated server on linux, so forgive me for my inexperience here.

Here's the problem:
Code:
root@pegasus:/srcds_1# ./srcds_run -console -game tf +192.168.254.51 -27025 +maxplayers 24 +map cp_dustbowl
Invalid game type 'tf' specified.
Sun Dec 16 12:22:50 EST 2007: Server Failed

thats what I am getting every time i try to start the TF2 server. I have it installed with a complete server.cfg file, yet I still have the problem. Can someone help me?

You haven't actually installed Team Fortress 2 - only Counter Strike: Source. Go back to the hldsupdatetool stage and run:

Code:
hldsupdatetool -command update -game tf -dir .

The srcds_run for Team Fortress 2 will be inside a dir named 'orangebox'.

Run it like:

Code:
root@pegasus:/srcds_1/orangebox# ./srcds_run -console -game tf +ip 192.168.254.51 -port 27025 +maxplayers 24 +map cp_dustbowl

Running as root could be a security hazard, i suggest running processes like these under a user account.

Spartanfrog Wrote:You dont specify a game when running the SRCDS.exe

Linux, and lol?
Reply
#7
Since when do you have to specify the game you are running when you download a server? You download the game, say Tf, and then run the srcds.exe. That works for me.... but sorry if I told you the wrong data. Guess I better get used to Linux again, I havent used it in a while.
But sorry for saying the wrong thing and thanks for correcting me Smile
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#8
actually if you don't specify anything i believe it defaults to css
Reply
#9
Oh well that would explain it since I run Css servers
Sorry for acting like a newb fqdn and Muppet Sad. I still have a lot to learn Smile.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#10
Spartanfrog Wrote:Oh well that would explain it since I run Css servers
Sorry for acting like a newb fqdn and Muppet Sad. I still have a lot to learn Smile.

Everyone likes a wee giggle for time to time Wink
Reply
#11
Okay... major problems.

I installed everything and it seemed to be okay, so I run this:
Code:
root@pagasus: /tf2ds/orangebox/# ./srcds_run -console -game tf +ip 192.168.254.51 -port 27075 +maxplayers 18 +map cp_dustbowl

Things start okay, but then problems start coming out the ass, enough to crash the server. So many errors that it just freezes up. An example would be the following:
Code:
Bad data found in model "parts\dmx\w_machete_reference.dmx" (bad bone weights)
What is wrong, I do not know. From what I know everything installed correctly. At this point, I am getting extremely frustrated. Everywhere I look, they make it seem easy as cake and here I am having more problems than conceivable. [/code]
Reply
#12
http://forums.srcds.com/search.php?action=results&sid=e56d9f361127ba98524f2a1f92750052&sortby=lastpost&order=desc

Basically, your CPU is too old. It will still work on Windows, but not linux (Team Fortress 2 dedicated server).
Reply
#13
so all those errors are because the CPU is too old? I am not going to disagree as its an old Intel P3, but those errors don't even give me the slightest indication that it's too old to run the dedicated server
Reply
#14
Okay... finally got it running on my laptop.

One question for you all. I am trying to do this for both my CS:S server and TF2 servers so that I can easily get them running and whatnot, but I am getting errors.
Quote:Extra) Running srcds in background (re-attachable)

We will make a script that will run the srcds in the background in a "screen"
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):

#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate

Of course, if its a TF2 server, the names would be different, like:
Quote:#!/bin/sh
echo "Starting Team Fortress 2 Server"
sleep 1
screen -A -m -d -S tf2-server ./orangebox/srcds_run -console -game tf +map cp_dustbowl +maxplayers 16 -autoupdate
When I save that file, chmod it to executable, and then try to run it, I am getting this error:
Quote:./server.sh: 5: +map: not found
Now, if i run the command outside of the server.sh file, the server boots up fine, just that its having issues starting correctly.
Reply
#15
why don't you just do this:

screen -S tf2-server then in the resulting window, run the server.sh command from within the orangebox folder and then detach the screen? CTRL A + D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)