View Full Version : [HOWTO] Call of Duty 2 Linux Dedicated Server
robert
01-07-2006, 12:06 PM
Hello,
I've written a HOWTO (http://callofduty2.infinity-shell.net/howtos/Call_of_Duty_2_Linux_Guide_v1.01.pdf) that covers the installation of a Call of Duty 2 dedicated server on Linux.
This guide is intended for Call of Duty 2 server admins that have never installed a Call of Duty 2 server before or have not so much experience in doing so. It can also be used by more experienced Call of Duty 2 server admins that need a reference while installing their server.
You may survive this guide without having any basic knowledge about Linux. However, a basic knowledge about Linux may be required.
I would really appreciate it if you have used the guide, and it was usefull for you, that you report a successfull installation by posting in this thread.
Please post feedback regarding the guide in this thread. If there's a mistake in the guide, please report it here so I can correct it.
Click here to read the guide (http://callofduty2.infinity-shell.net/howtos/Call_of_Duty_2_Linux_Guide_v1.01.pdf)
Have a nice day,
Robert
rudedog
01-07-2006, 05:18 PM
added to guides as well
LouieLouie
01-10-2006, 09:21 AM
Howdy. What's better, dev/null the back of that command or nohup-ing the front of it?
Thanks, it is well written, btw!
SOD_Damage
05-15-2006, 09:17 AM
a total difrent thing about setting up a server
we have a server running 24/7 on linux
but the problem is if we install latest patch 1.2c for linux
[Removed by Moderator]
MajorWoody
05-16-2006, 11:37 PM
Please do not post asking for assistance cracking your server here.
holback
05-22-2006, 08:06 AM
I have noticed that since I upgraded my linux server to the 1.2 patch my games_mp.log file only works for 1 map and then just quits after that. If I restart the server it will work again for 1 map and quit again.
Anyone else having this problem?
set logfile "1"
set g_log "games_mp.log"
set g_logsync "1"
set sv_log_damage "0"
The above settings are what I use, any help would be great!
Holback
donjski
09-10-2006, 01:10 PM
Hi,
Very nice tutorial. Now I have a question for you.
I start my server like this:
./cod2_lnxded +set net_ip xx.xx.xx.xx +set ctf 2 +exec ctf.cfg >/dev/null 2>&1 &
But now I cannot load a map in order to connect with Rcon. Rcon says connected. But there is no way to start a map.
Can you add the map to the startup command?
robert
09-11-2006, 01:19 AM
I'm not sure what you mean, but if you would have the startup command like this:
./cod2_lnxded +set net_ip xx.xx.xx.xx +set dedicated 2 +exec ctf.cfg +map_rotate >/dev/null 2>&1 &
it will start the first map from your map rotation automatically. Note that I removed the '+set ctf 2', that doesn't do anything afaik.
I hope this answers your question.
--Robert
donjski
09-11-2006, 10:09 AM
Thank you very much.
I have not read that +maprotate anywhere.
That did the trick. Now, how do I stop the server? Must be a command for that too.
Scrapie
09-11-2006, 02:57 PM
are u using ssh? if so:
type
ps ux
then see PID of the process and type
kill -9 PID
from server console:
quit ou /rcon quit
nick'sDad
01-15-2007, 03:07 PM
Hi Robert,
Will later versions of the Linux server (1.5 ?) work with your instructions - or do I need to stick with the version that's available on your web site ?
Thanks for a nicely written guide.
Rich
robert
01-16-2007, 02:09 AM
Hi Nick'sDad,
I never had a chance to update it, but you can just download the 1.3 files and install them. Besides the fact that the files are different, the installation process is the same.
Robert
nick'sDad
01-16-2007, 11:01 PM
Hi Robert,
Success - the 1.3 image works fine. Nick tells me that PB is out of date - any idea how I go about updating it to the latest version ? Otherwise everyone's happy !!
Thanks
Rich.
robert
01-17-2007, 02:02 AM
As far as I know it should update autmatically after you've once connected with an updated client. This should make the server perform a web-update (see the messages in the console when it's downloading the .htm files).
Alternatively, you can look for the pb update tool on evenbalance.com
nick'sDad
01-18-2007, 09:38 PM
sorry - I should RTFM..... As you said it's updated automatically - and the Punkbuster site explains it all anyway.
So we're all done - it seems to easily support 8-10 players over our home cable connection and the impact that the cod2_lnxded process has on our server is minimal.
I appreciate your help.
Rich
captspaulding
02-18-2007, 07:00 AM
In my terminal
ERROR:UPD_OpenSocket: bind : Cannot assign request address
Opening IP socket xx.xx.xx.xx:28960:28960
I have tried to turn off the firewall on the box and DMZ the router. Still the same error.
My startup line is /cod2_lnxded +set net_ip xx.xx.xx.xx +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg
LouieLouie
02-19-2007, 06:56 AM
The error line looks like it's double setting the port.... is there any chance that on your startup line that you have the set port twice? Maybe the 2nd instance has scrolled off the right side of the screen and you're not seeing it?
slapper001
05-08-2007, 03:56 AM
i take it it's the same setup for cod uo as well?
also sorry in advance i am a total newbie to setting up a linux server,
do i have to partition off the drive on my linux server that is located at the datacentre?
reason i ask is i want different game servers like:
a server with coduo modern weapons
" " classic weapons
" cod2 modern weapons
" " classic weapons
and if it comes to pc cod4
i don't know how to do this.could someone guide me please as i pick things up very quickly.
do i have to create seperate login accounts i have no clue at this stage.
thanks if theres anyone who can help us out i would be forever in your debt.
it is a out-of-the-box server.
i also understand i have to sort a few things out on this new server in order to start serving these game servers any guidance on that would also be grate ful.
MajorWoody
05-08-2007, 09:11 PM
Yes, this same setup will work for vCod and coduo.
No need to partition, unless you really want to.
You should make seperate users for each game instance, and run each game as the user you created.
vampiejay
05-09-2007, 04:29 PM
hi can anyone help i'm stuck on setup i get error msg
[cod2server@localhost ~]$ wget http://callofduty2.infinity-shell.net/downloads/cod2_lnxded_1[1].0a_11072005.tar
Warning: wildcards not supported in HTTP.
--21:32:19-- http://callofduty2.infinity-shell.net/downloads/cod2_lnxded_1[1].0a_11072005.tar
Resolving callofduty2.infinity-shell.net... failed: Temporary failure in name resolution.
please help
vBulletin® v3.8.6, Copyright ©2000-2010, Jelsoft Enterprises Ltd.