Nfear Dec 30, 2012 @ 9:58am
Dedicated server setup
I am trying to get a dedicated server running, but the manual that comes with the server tools is worthless. I ran the UDK with the extra parameters and I still cannot find my game. Can anybody help me set it up?
Showing 1-15 of 16 comments
< >
Hurricane Dec 30, 2012 @ 5:48pm 
It's complicated. I will try to tell you how to set it up the way I did. And even though I got mine working, I can't actually find it in the server list, but people have joined it so I know it's there.

1) Download the Dedicated server through Steam (it appears you did this)

2) Navigate to C:\Program Files\(x86)\Steam\steamapps\common\chivalry_ded_server\Binaries\Win32

3) Create a .bat file (make a text file but change the extension to .bat instead of .txt) and put this in (without the quotations):

"@start UDKGame.exe MAPNAME?steamsockets -dedicated=true -seekfreeloadingserver -multihome=192.168.X.XXX -Port=7777 -QueryPort=7778"

Change the MAPNAME to the name of the map you want to start the server with (the map names are in the server manual) and change the multihome IP address to the *INTERNAL* IP address of the server. To find this, open command prompt (Windows icon > type "cmd") and type "ipconfig /all", hit enter, and scroll up to "IPv4 Address". Use that IP.

4) Navigate to C:\Program Files (x86)\Steam\steamapps\common\chivalry_ded_server\UDKGame\Config and open PCServer-UDKEngine.ini.

5) Under ["URL"] (I had to add quotations because otherwise it treats that as BBC code!), you want to change some values. Mainly, you need Map and LocalMap to be the same as the map you used in the .bat file. You also need the .udk extension. So it should appear like this at the end:

Map=MAPNAME.udk
LocalMap=MAPNAME.udk

Also make sure that Port=7777 and PeerPort=7778. Save and close.

6) In the same folder, open PCServer-UDKGame.ini.

7) Find the [Engine.GameInfo] section (top one). Change the value of MaxPlayers= to whatever you want the player count to be.

8) Find the [Engine.AccessControl] section (next one I believe). You need all the authenticate values to be true, and you want to set your admin password and game password here. If you don't want either (you should set an admin password so you can login and kick people and whatever, use a game password if you want to password protect the server), just delete the line. Here is what my section looks like, I have no game password.

[Engine.AccessControl]
IPPolicies=ACCEPT;*
bAuthenticateClients=True
bAuthenticateServer=True
bAuthenticateListenHost=True
MaxAuthRetryCount=8
AuthRetryDelay=8
AdminPassword=PASSWORD

9) Find the [Engine.GameReplicationInfo] section. After ServerName=, type the desired name you want your server to have. So

ServerName=Nfear's Chivalry Party!!

10) Save this entire file and close it.

11) In essence, that's all the configuration you need to do. Now what you need to do is forward some ports. The process to do this depends on your router, you should be able to find a guide for your model on Google.

You need to open the following ports: 7777, 7778, and 27015

12) Once you do that, you should be done. Just run the .bat file from earlier and your server should start. You know it works if one of the end lines in the command prompt window that pops up assigns your server a Steam server ID number.

13) Now go into the game and find your server. It should be near the top if you sort by ping. If your server isn't showing up after about 5 minutes, then there is probably an issue with your setup. Usually this means your ports aren't forwarded properly.

If you can't find your server, to join it, open the console (~), and type "open 192.168.X.XXX", without the quotations, and where the IP 192.168.X.XXX is your multihome IP from earlier. This should load the game up. If you did set it up right and for whatever reason it isn't appearing in the browser for you, you can wait and see if other people join to determine if it is working.

Tip) Here is a tip for populating your server. Playing a 2v2 TO map can be very boring. If there are only a couple of people in your server, I recommend adding some bots. To do this, type "admin addbots #", where # is the number of bots, after logging in as a server administrator. Players will have more targets to kill so they will stick around as more people trickle in. As your server fills up, stop adding bots (you have to re-add them after every round).

If you have any issues, let me know.
Last edited by Hurricane; Jan 20, 2013 @ 10:12am
Borreguete -pt- Dec 30, 2012 @ 8:37pm 
Devs must see this topic and make permanent!
You mate will help a lot of players
Nfear Dec 30, 2012 @ 11:11pm 
Thank you so much, I had used a shortcut on the desktop instead of the .bat file and I managed to connect by typing "open 127.0.0.1" ingame. It appears the server is joinable, but it doesn't appear in the server list. I already had the server name edited and the ports forwarded. What I didn't do is the multihome paremeter, step 5 and step 7. I will work this out. Again, many thanks :D
Last edited by Nfear; Dec 30, 2012 @ 11:12pm
Xx_EdGeMaStEr666_xX Jan 19, 2013 @ 3:09pm 
I don't know if the servers been updated or something but I followed your guide completely and it loads up just fine but when somebody actually tries to connect (Even myself) just nothing happens and the console displays "NetComeGo: Close IpNetDriverSteamworks_1", any idea how to fix it? I also get some Devphysics error that I'm not sure matters because with another tutorial I was able to get it to allow me to connect even with that error but nobody else could.
Last edited by Xx_EdGeMaStEr666_xX; Jan 19, 2013 @ 3:13pm
Hurricane Jan 19, 2013 @ 3:10pm 
No idea

You could try making sure you have all the ports forwarded for Steam too

https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711
Xx_EdGeMaStEr666_xX Jan 19, 2013 @ 3:13pm 
I don't think that matters when I'm the localHost O.o
Nfear Jan 20, 2013 @ 2:01am 
I got my server running. I had to disable the firewall and antivirus for my server to show up.
Megatron Mar 31, 2013 @ 11:49am 
I finally got my server running after the big update. There is now a batch file included that will start a server. However, it seems that I cannot interact with the dedicated server. I see things happeneng and the last line of the server is flashing but I cannot even type anything. Is this normal? I've set up the configs and was able to join the server locally. I successfully logged in as admin. However I cannot add bots to the server. I get "Command not recognized" in the game console and I see the same on the server console.
Hedrave Jan 2 @ 6:41am 
I get this message whne trying to launch my server!
"the map exist but is not especified in the SDK map list"
DOES ANYONE KNOW WHERE TO FIND THAT MAP LIST?



solved---- read below
Last edited by Hedrave; Jan 4 @ 7:15am
srifku Jan 3 @ 11:58pm 
Originally posted by THK Hedrave ◢ ◤:
I get this message whne trying to launch my server!
"the map exist but is not especified in the SDK map list"
DOES ANYONE KNOW WHERE TO FIND THAT MAP LIST?

I am also getting the message when I try to run the server.

"The map exists but is not specified in the SDK map list. Please, see SDK documentation."

After looking through both the game files and server files I found nothing. The only thing I did to the map list in the PCServer-UDKGame.ini file was delete the objective maps. I didn't add anything to it though. Is there anyone who may be able to help?
Hedrave Jan 4 @ 7:12am 
Originally posted by srifku:
Originally posted by THK Hedrave ◢ ◤:
I get this message whne trying to launch my server!
"the map exist but is not especified in the SDK map list"
DOES ANYONE KNOW WHERE TO FIND THAT MAP LIST?

I am also getting the message when I try to run the server.

"The map exists but is not specified in the SDK map list. Please, see SDK documentation."

After looking through both the game files and server files I found nothing. The only thing I did to the map list in the PCServer-UDKGame.ini file was delete the objective maps. I didn't add anything to it though. Is there anyone who may be able to help?

I have no solution to that problem, but now Im running the server. My problem was that I was actually using win64 udk.exe aplication to start the server, wich doesn't work properly. So when I used win32 udkgame.exe aplication it worked with no issues for me :) ... but the map problem, i Think isn't a problem at all.
Rorb Stork May 9 @ 4:36pm 
I know this post is a bit late, compared to when this topic came out, but I'm having issues with my friends joining. The server doesn't show up, and they can't connect because it says "Game status unavailable" I think it's because port 7778 UDP, and 7777 UDP aren't open, yet they are only not open when the server is actually running. I don't know how to fix this.
Last edited by Rorb Stork; May 9 @ 4:41pm
Al Capone May 17 @ 3:43pm 
When i try to join the server it come up "You need to enter a password to join this game" but it doesnt give me the option to enter a password please help me
Ciryaher May 17 @ 3:46pm 
^ you need to enter the password in the console command:
Open xxx.xxx.xxx.xxx:Port?password=****
Last edited by Ciryaher; May 17 @ 3:51pm
TuX May 20 @ 4:12am 
Hi Guys,

Where can I find all the Admin commands ?
Showing 1-15 of 16 comments
< >
Per page: 15 30 50