Terminal [Ubuntu]

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
Macint
Private First Class
Private First Class
Posts: 24
Joined: Thu Nov 09, 2006 4:21 pm

Terminal [Ubuntu]

Post by Macint » Fri Mar 02, 2007 4:37 pm

So I start my servers like this i have a text file with this content

Code: Select all


./bzfs -conf /path/to/config.conf -p 5552 -publicaddr tester123.com:5154 /path/to/map.bzw -srvmsg "##### Welcome ####


and i have a lot of diffrent maps so what hapens is a get a lot of terminal windows so is there a way to have evary thing in one?

User avatar
that exploding tank
Private First Class
Private First Class
Posts: 149
Joined: Sun Jul 16, 2006 4:38 pm
Location: Georgia, U.S.

Post by that exploding tank » Fri Mar 02, 2007 4:57 pm

You can really only run one server per terminal shell. Are you trying to run multiple servers? Also, did you know that you can include everything in your conf file? All of that

Code: Select all

-p 5552 -publicaddr tester123.com:5154 /path/to/map.bzw -srvmsg "##### Welcome ####
can be put into the conf file to save you some typing every time you shut down and restart the server.

User avatar
Macint
Private First Class
Private First Class
Posts: 24
Joined: Thu Nov 09, 2006 4:21 pm

Post by Macint » Fri Mar 02, 2007 5:07 pm

ohh thx great

Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair » Fri Mar 02, 2007 7:47 pm

by the way, preceding bzfs with "./" means that you would have to be in the directory that the bzfs executable is in.

Just do a plain old:

Code: Select all

bzfs -conf

meeba
Master Sergeant
Master Sergeant
Posts: 507
Joined: Sun Mar 12, 2006 10:49 pm
Location: N. Sanity Beach
Contact:

Post by meeba » Fri Mar 02, 2007 9:49 pm

To run multiple BZFS instances with one terminal, just put an ampersand (&) at the end of the shell command.

For example:

Code: Select all

bzfs -conf "/home/bzflag/mycoolserver.conf"&

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Fri Mar 02, 2007 9:53 pm

This is bad:

Code: Select all

-p 5552 -publicaddr tester123.com:5154
You're running this server on port 5552 but directing players to port 5154... The ports must match.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007

Post Reply