I need help on making a server

New Member
Joined
Oct 30, 2004
Messages
3
Best answers
0
k i don't know wut to do i need to start from the begging for example like wut do i download where do i download it to and wut ever else i need

:cry: i'm a big newb at all this :laff:
 
New Member
Joined
Jan 4, 2003
Messages
250
Best answers
0
Incase you don't know, a dedicated server is run on a machine that is strictly for running that server and not actually playing. Dedicated servers are often permanently running and can be hosted personally or commercially.

Some people who have an "extra" computer at home might choose to make a dedicated server out of it. They will install the dedicated server application onto the steam platform. From there, they will connect the server to their LAN and open router ports for the server to be broadcast to the Steam server list. It's generally good to use a machine that doesn't have many applications running, to reduce computer lag. Surfing the internet, using aim, running norton scans and so forth on the same computer are no-no's when running a dedicated server. The fewer the applications = the more resources that can be used for the dedicated server.
Also note that broadband servers are ideal compared to dial-up, as you will be having several connections from other players coming into your computer at one time.

The most common type of server is the listen server, which you make and play on at the same time. This type of server is ok for having a few people play around when other servers are full or if you just wish to run a LAN game with your friends (no internet connection needed). These servers aren't as stable as a dedicated server because you are playing at the same time the server is running. As stated above, if you choose to run this type of server, make sure you are not running aim and that no virus scans are planned during your playing time. Its a good idea to keep the game running on your computer at all times. Minimizing to the desktop is not a good idea because you will induce the computer into handling more tasks and will probably cause mild freezing spells to the players of your server.

Now that you know which you will be running, let's get started!
For a dedicated server, you are going to need to open port 27015 on your router if you have one. You will also need to re-route or deactivate any firewalls currently running on your machine. Find the Server.cfg file (found in esf folder-open with notepad) and add the line sv_lan 0. Its also helpful to change the server name in this file, from "Earth Special Forces" to something more unique so that your server is easily found in the list. You have the choice of either running Steam's dedicated server that has a user-friendly graphic interface and menu by choosing "Dedicated Server" from the games list, or running HLDS, which is a DOS application. The major advantage that I have seen by running HLDS is that you can use programs like ServerDoc to automatically restart your server if it crashes.
I am probably leaving something out, but this is the general setup of a dedicated server.

For a listen server, do the same with the router port forwarding as spoken for the dedicated server, and make sure any firewalls will either allow ESF to run, or are turned off while you are running ESF. This time, open the listenserver.cfg file (found in ESF folder) and change sv_lan 1 to sv_lan 0 or add sv_lan 0 to the end of the file if there is no entry for this cvar. This opens your server to the public so others may join from the server list. Changing Hostname from "Earth Special Forces" to something else is also helpful in identifying your server. Save this file. Open ESF normally and choose Create Game. Pick your map from the menu and select any other options like free-for-all fighting or team duels. After this, hit create game. During this time, your game will be loading and the server will be broadcasting to the server list. When you have entered the game, this indicates that you have successfully created a listen server. However, this does not guarentee that others will be able to join. Have a friend help you test if he can join your server. If he cannot, then it usually means you didn't correctly forward port 27015 (half-life port), you didn't turn off your firewalls (including Windows firewall in some cases), or that you made a lan game and you need to enter sv_lan 0 into your console (shouldn't be the case if you did this in the .cfg file)

There are also alot of answered questions that you might have later on about this as well, so searching for them in this forum section might help you alot. I've probably answered a dozen of these questions in the past year, so I know this thread has been created by others with similar answers.
 
New Member
Joined
Oct 30, 2004
Messages
3
Best answers
0
k thanks all be back for any other questions if i have any
and the type of server i wanted was listen server sorry didn't kniow there was more then just one
 
Lost in space
Banned
💻 Oldtimer
Joined
Sep 20, 2003
Messages
3,211
Best answers
0
Actually U17 I have 2 computers yes, but both of them can run dedicated servers, and yet, at the same time 2 people in my house can play ESF all from one account. Actually, my mom deleted HL and all of esf from her computer, i was like CRAP because i couldn't find my HL cd. So for some reason I installed esf dedicated server anyway, it worked, came back on this computer and played on it.


Now my mom has it passworded so i can't use it ⌐.⌐ Yet I still have this computer, I run the dedicated server off of it, and play on that server with the same computer. Funny though, i get 10-15 ping in the server. And it takes me over a minute to DL a new map that my ded server has that i don't lol.
 
New Member
Joined
Jan 8, 2005
Messages
3
Best answers
0
How do u open the ports on ur router so it goes through steam ?? ive been trying for a while ;(
 
New Member
Joined
Jan 8, 2005
Messages
3
Best answers
0
also when i tryed connecting myself it said my dll differs from the servers ;( ARGG
 
Lost in space
Banned
💻 Oldtimer
Joined
Dec 1, 2002
Messages
2,725
Best answers
0
No one can tell you exactly how to forward ports on your router, since all routers are configured a little bit differently. This website should give you the help you need on forwarding ports - just select your router from the list.

If you're unable to get your server to work even with the ports forwarded (and want to save your hair from being pulled out), most routers have a DMZ capability. I wouldn't recommend doing this, however, as it essentially opens that computer up to anything on the Internet, as if it's not behind your router at all.

EDIT: Also note that if you're running a dedicated server on your network and try joining from a different computer, you're not going to see your server under the rest of the public servers. It'll only show up on your LAN. Everyone else (since they're outside of your network) sees it as a normal public server. That might sound obvious, but it threw me for a loop when I was first setting up a server on my network.
 

Users who are viewing this thread

Top Bottom