Banner

Repeat

End

Forums

HavenForts: Construct JetFists - The Chronicles of Wargasm (Episode 2, NeoForts)

Go Back   SourceForts > SourceForts > Server Admin Discussion
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-24-2005
cellarmation's Avatar
:{SR}: sniper
Bunker Builder
 
Join Date: Sep 2005
Location: Owning n00bs @ York Uni
Posts: 222
Default "My Server Doesn't Work", The Help File

Ok this is probably very incomplete but i think there needs to be some sort of thread on trouble shooting with setting up a server.

The main goal of this article is to get your server working; you can do the optimising and customising yourself

Setting up a listen server
----------------------------------

This is very simple if you have a functioning version of sourceforts. When sourceforts loads click create game and choose your options.

Setting up a Dedicated server
----------------------------------

To do this you firstly need Source dedicated server installed, this can be found on steam. Secondly you need to COPY your sourceforts folder into the dedicated server folder like this:
Copy this folder : <steamdir>\SteamApps\SourceMods\sourceforts
To here : <steamdir>\SteamApps\<username>\source dedicated server\sourceforts

Obviously you need to replace the <steamdir> and <username> values.

Trouble Shooting
-------------------
Setting In Game Varibles

Check the value of "ip" by typing in "ip"
If this is not set to your global ip and you are behind a router change it!!!
It is quite possible it will be set to your local ip e.g. "localhost" or "192.168..."

Type in the console "sv_lan 0"
In a few moments a message should appear saying "connected to steam servers, VAC enabled" or "Cannot connect to steam servers, VAC disabled"

Note: if you get the first message well done you are working! don’t panic if you can see yourself on the list, if you are behind a router you never will.

Note: if you have to change the ip value, you will need to change it every time you set up a server, to make this easy put it into your .cfg file. this is server.cfg or listenserver.cfg in the sourceforts/cfg folder! This way it will be run every time your server starts.

If you still get cannot connect, you must have a router or firewall problem!

Firewalls & Routers

Firstly any software firewalls must be configured to allow hl2 to execute and server. If in doubt disable the firewall to test the server, do not do this permanently.

If your router has a firewall or NAT you need to forward the ports to your computer. You do this by finding the configuration page of your router; this could be http://192.168.1.1 or http://192.168.0.1

For more information look to : http://www.portforward.com/

Other Programs

Close other programs that access the internet, such as Xfire, Web servers and firewalls. Close everything you can to see if it helps!

Definitions
-------------

Console

The console is a drop down menu in game that lets you type in commands. You will need this at some point. If you are accessing this for a dedicated server you can get it via a tab. If you are in a listen server you can press "`" to access it (the button to the left of 1) If this doesn’t work you need to turn it on, press escape > options > keyboard > advanced options > tick "enable developers console"

Listen Server

A listen server is a server that allows the host to play the game on the same machine that hosts it. This is very good for temporary games, but is not advisable for a permanent server as it will be slower.

Dedicated server

A dedicated server hosts the game without entering a player into it. This can be run on Windows or Linux.

Firewall

A software of hardware device that blocks data transfer to and from the internet. This will allow through data through configured ports.

Broadband Router

Some people do not have the luxury of connecting directly to the internet. They connect via a router; they often have inbuilt firewalls and NAT. A routers job is to supply one or more computer with the internet. Many routers if they work over a network connection have a web based configuration page. Try http://192.168.1.1 , or look in the manual!

NAT

NAT is a clever thing that routers do to let multiple hosts behind a router send and receive data through certain ports. To get sourceforts working it is needed to forward these ports to your computer.

IP

An IP is like the address of your computer, if you are behind a router you will have two IP's a local ip and a global ip. To find your global ip go to:

http://www.ipaddressworld.com/

To find out your local ip address go to:
Start > Run > Type "command", press enter.
Type "ipconfig", press enter.
Your IP is the one that begins with "192.168"

-------------------------------------------------------------------------------------
I hope this article has been of some help, more to be added im sure.

Cellarmation
  #2  
Old 12-24-2005
entRo's Avatar
LEVEL UP
Flag Capper
 
Join Date: Mar 2005
Location: Southern California
Posts: 3,937
Send a message via AIM to entRo
Default

Stickied and added quotations to the thread title to make it more clear. Feel free to continue to edit the original post with new information.
  #3  
Old 08-29-2006
New Recruit
 
Join Date: Aug 2006
Posts: 2
Default Help

Well, all it says is..

Network IP: 192.168.1.100, Mode MP, Dedicated Yes, ports 27015 SV / 27005 CL

And then nothing happens after that.

This is my command line perims

".\HLServer\srcds.exe" -game sourceforts -console +map sf_skywalk +port 27015"
  #4  
Old 08-29-2006
cellarmation's Avatar
:{SR}: sniper
Bunker Builder
 
Join Date: Sep 2005
Location: Owning n00bs @ York Uni
Posts: 222
Default

if you are behind a router you may need to add some extra lines in your server.cfg file like :
Code:
ip YOUR_GLOBAL_IP
sv_lan 0
i suggest this because it has you ip as a local ip. anything with 192.168 is local. When it connects it should say something like connect to vac servers. I only ever did this as a listen server, so your problem may be slightly differant, what os are you on?
  #5  
Old 08-29-2006
New Recruit
 
Join Date: Aug 2006
Posts: 2
Default

I am using windows Xp sp2 Pro.
  #6  
Old 09-25-2006
New Recruit
 
Join Date: Sep 2006
Posts: 2
Default

Alright, I understand how to set up a dedicated server through this, but what I want to do a listen a server, and that is what I am having problems with.

My firewall has every single possible Steam and HL related exe allowed.I have 27010 to 27016 forwarded, just in case. Before I try and create the game, I do sv_lan. Then in the options I double check that lan game is no checked. When I then create the game, and someones tries to join through connect ipaddress, they get the response that they can't join because it is a lan server. Yet that should not be the case. Am I missing something here?
  #7  
Old 09-25-2006
RedXIII^'s Avatar
Suverin Clan ******
Veteran Fort God
 
Join Date: Apr 2005
Posts: 6,742
Default

heartbeat 1
sv_lan 0

If those don't work its a router/firewall problem generally.
__________________
  #8  
Old 09-25-2006
Bitza's Avatar
Mapping since 1.6
Bunker Builder
 
Join Date: Aug 2006
Location: Seattle
Posts: 184
Default

no that's definatly a game problem (not for the devs to fix). I went to steam support and they suggest you need to type in sv_lan 0... as if you didn't already know.

try typing this in DURING the game. That should work as far as I know.
__________________
Bitza: Cusomtized to be Criticized
aka: Sgt.Grinn
  #9  
Old 05-05-2007
Nighthawk360's Avatar
Bunker Builder
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 107
Default

I don't have router. How do make a pernament server then?
  #10  
Old 05-05-2007
SwiTcH's Avatar
is killing your mans
Flag Capper
 
Join Date: Sep 2006
Location: Your mom
Posts: 2,100
Send a message via AIM to SwiTcH Send a message via MSN to SwiTcH
Default

Quote:
Originally Posted by Bitza View Post
no that's definatly a game problem (not for the devs to fix). I went to steam support and they suggest you need to type in sv_lan 0... as if you didn't already know.

try typing this in DURING the game. That should work as far as I know.
Wont work, usually when you make the game it sets up the IP there, and if sv_lan is 1 then it will automaticely(im tipsy i dont want to spell correctly) make the IP your routers IP(AKA Lan IP usually something like 192.168.15.101(or 100)) If you make it sv_lan 0 while the IP is that it wont change.
__________________
:O
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:34 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0

Tab