SRCDS Steam group


TF2 Linux Start Mode
#1
What is the preferred startmode for TF2? Currently I am using:
Code:
./srcds_run -console +ip $IP +port $PORT -game $GAMETYPE -dir $HOMEPATH +map $STARTMAP +maxplayers $MAXPLAYERS +exec $SERVERCONFIG -pidfile scrdstf2.pid
I have installed all the game files onto my dedicated server, but I can't get it to start. I have updated and verified files successfully. Right now the error I get in console is:
Code:
Server Failed
Invalid game type 'tf' specified.

I use GameCP on my box, but they haven't added support for TF2 and I don't know what all the settings are suppose to be =\

Here's what my setting are --> http://www.seattlesbestgaming.com/miscimages/gcp.jpg

If anyone can help, it'd be greatly appreciated.
Reply
#2
Disregard...got it running! I had the Gametype variable right but the "Premode" and "Game Install Dir" were wrong.

They're are supposed to be....
Code:
Premode: export MALLOC_CHECK_=0 ; cd srcds_l/orangebox
Game Install Dir: srcds_l/orangebox
Reply
#3
Fyrmn472 Wrote:Disregard...got it running! I had the Gametype variable right but the "Premode" and "Game Install Dir" were wrong.

They're are supposed to be....
Code:
Premode: export MALLOC_CHECK_=0 ; cd srcds_l/orangebox
Game Install Dir: srcds_l/orangebox

How do I adjust the premode? I'm getting the same error and even if I change the path I still get the "invalide game type" message.??

Any help would be greatly appreciated.
Reply
#4
latro Wrote:How do I adjust the premode? I'm getting the same error and even if I change the path I still get the "invalide game type" message.??

Any help would be greatly appreciated.
I use a program called GameCP (gamecp.com) to administer my servers so I just enter settings. I'm not sure how to change settings if you are setting up your server manually. I hope the following helps...

Here are my settings:
FS Game ($GAMETYPE): tf
Sub Game Name (place files are stored): orangebox/tf
Game Install Dir: srcds_l/orangebox
Game Query Code: a2s - HalfLife/Source
Game Protocol: CS:Source
Premode: export MALLOC_CHECK_=0 ; cd srcds_l/orangebox
Startmode: ./srcds_run -console +ip $IP -port $PORT -game $GAMETYPE -dir $HOMEPATH +map $STARTMAP +maxplayers $MAXPLAYERS +exec $SERVERCONFIG -autoupdate -pidfile scrdstf2.pid

Once I put these in right, the server started up no problem. Good luck! Would it help if I posted a new image with correct settings?
Reply
#5
Thanks for the info. I'm not sure what was causing it but I re-installed the server and got it working.
Reply
#6
If I want the server to update, what do I add to the startmode?

-autoupdate or -command update?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)