Enemy Territory dedicated server?


(Kamel) #1

hello everyone, thanks for reading my post. i am asking a good friend of mine if he would host an enemy territory server for me… and, he ask me some questions that i had no clue how to answer. before you think anything less of me, i “did” do searches on google, and on these forums for similar questions, but i couldn’t find them. i don’t know if it was because i am a crappy searcher, or if no one has put them on the net yet, but i really would appreciate some insight from someone who hosts a dedicated server themselves (or atleast knows the ropes of it)… ok, here’s the questions, lol.

he hosts counter strike servers, so the questions can be answered in relativity to that game.

how much CPU does it use?

is there a way that in linux, you can run and configure the dedicated server using only SSH (as opposed to physically sitting at the computer)?

how much bandwidth does it use?

if icmp pinging is disabled by the firewall, will this affect the pings inside of the game (in other words, are the pings that the game uses icmp, or just an internal component of the game)

what ports would you have to open on the firewall in order to get it running?

thanks a ton for looking at my post… if you can even guess at any of them, please reply… i don’t think he’s gonna be mad if the info he gets is wrong, he just wants a general idea of what the game is going to demand… oh, and the most important question is the SSH question, because he only has a dedicated server which is in a different country than him.

thanks a lot :smiley:


(Mr. Chris) #2

It needs about 50kb per client


(Spookstah) #3
  1. Each player takes about 30-35Mhz
  2. Yes, our server is located 200KM from where i live (in my sisters room at a Universaty), you can do everything remotely.
  3. Depends on the bandwidth setting you are useing in your ET server config, we have set our servers to 10Kb/sec a player, so we do about 400Kb/sec when both servers are full (2 x 20 players).
  4. im 99.9% sure ET uses the standard gameport for ping calculation, protocol it is using is UDP (like most games or maybe all games)
  5. We only needed to open 27960 for server 1 and 27961 for server 2

(Zan) #4

So with a 900 Mhz 300kb/sec you could make a 30 player server?! You must need something else or I’m making a server as soon as I finish my phucking work time.


(Rippin Kitten) #5

The pipe is the hardest part. You really need a beefy connection to host a decent number of players. Cable modems, DSL, and other “conventional” connections simply don’t have the bandwidth or the stability to support game servers.

RK


(Spookstah) #6

Your system also needs cpu power so from the 900Mhz you maybe can use 750Mhz or so for the game server itselfs and when im talking about 10Kb/sec im talking about Kilo Byte not Kilo Bit, just 2 be sure you did understand that part :slight_smile:

And not many dsl or cable connections have enough upstream to cover that amount of players, even better dont use dsl or cable at all for a game server.


(Zan) #7

Ok, so it’s sufficient a P4 2’4 and a 2400/2400 cable for the 30 people server. Around here that should go about 150?/month. I suppose you’ll have it much cheaper, and I’ll suppose it’s even cheaper to hire the server, isn’ it?


(Spookstah) #8

We run two 20 players servers on a P4 2.4Ghz and it uses about 65-85% cpu.

2400/2400 = bytes a second i suppose and that would be 300Kb/sec and should be enough to run a 30 player server, the only problem with most cable/dsl connections are that they arent always very “stable” but that depends on your ISP and country i suppose.

My sister pays 10$ or so for her connection at the college/university where she studies so it doesnt cost me/us any money atm, only time,time and more time.


(Kamel) #9

guys, chill about the abilities of a cable/dsl modem, it’s atleast a 10mbit connection, lol.

anyway, i thank you all a bunch for your input regarding the matter… it seems to me that ET takes more than i had hoped, but then again, i don’t plan on hosting 40 players on one machine… i was thinking more along the lines of 8, lol.

thanks again… does anyone know of any documents on how to set up a dedicated server remotely? tnx


(Kamel) #10

orr… maybe is there a seperate file which can be downloaded that is dedicated server only maybe???

sorry for the disruption, i’ll be glad to read any documents or follow any links you give me so a re-write of already made material isn’t needed, heh


(Ragnar_40k) #11

Did you read the Serversetup readme that comes with ET (<ETDirectory>/Docs/Help/Tech Help/Information/Server Setup.htm)? It will cover most of your questions.

1. How much CPU does it use?

2. Is there a way that in linux, …
Is there another way? :wink: On most LINUX systems SSH server/client software is installed by default, so it should be available. If you don’t have it, you can use OpenSSH.

3. How much bandwidth does it use?
Go here.

4. If icmp pinging is disabled by the firewall …
Mmh, I don’t know if ET uses ICMP ping at all, since its uses UTP for data transfer. You have to try yourself …

5. What ports …?
27960-27970 are the default ports. But you can use whichever you want, simply add the option “set net_port” to the command line, e.g. “+set net_port 27961” (w/o the quotes).


(Kamel) #12

the most important question still hasn’t been answered :(.

i looked at the server hosting document, thanks a lot for the info – i wasn’t aware of it, but it said click on dedicated host blah blah blah – i really tried tp emphasize this enough, but i failed… the person who wants to host this only has ssh access to the server, i don’t even think the server has X on it (cpu intensive for a computer that no one sits at), so is there a way to do it completely from the command line? any help is much appreciated. (btw this includes installing the game, i remember trying to install it without using a GUI before and it didn’t work.

is there a way to download the dedicated server only, and not have to worry about the rest of the game? that would be nice


(duke'ku) #13

i’m fairly sure you could run the install over ssh, and if not, you could install it locally and just copy the files over scp or something.


(Lekdevil.NL) #14

Read DG’s excellent Advanced Enemy Territory Server Setup guide. Just about anything you’d want to know is in there.

HTH.