[CoDExtended] How to get started with CoDExtended

> >

Created 4 years ago

[CoDExtended] How to get started with CoDExtended

A short tutorial explaining what CoDExtended does and how to run it on a CoD1.1 Gameserver

What is CoDExtended?

CoDExtended is an addition to Call of Duty 1.1 which brings a lot of enhancements, bugfixes and more fancy things to your Call of Duty 1.1 gameserver. It has been created by php (Website: cod1.eu) and the current build is 12 (Oct 12 2014 12:24:05). It is currently licensed under the GNU General Public license.

Although there is a version available for both Windows and Linux, the Windows version is far behind the Linux version because the Windows version has been abandoned a couple of months ago and only the Linux version is actively maintained. For example the Windows version has no guid/xstatus, only a few gsc enhancements, no bugfixes and no connection message, which makes it almost useless. It is therefore recommended to use the Linux version instead to get the full stability and all features.

Is it worth switching to Linux just for CoDExtended?

Definitely, yes, but that hat depends on your situation. I would always recommend Linux over Windows simply because it has a lot more power, eats less resources, is open source and brings more stability and flexibility. It doesn't take more time setting up a Call of Duty server on a Linux based computer than on Windows plus the advantages you will get by using Linux are enormous - you will be happy with it. Our Call of Duty servers for example are running on Debian Linux.

Anyways, this tutorial only explains how to get CoDExtended running on a Linux Call of Duty 1.1 server. It does not explain how to create a Call of Duty 1.1 server on Linux, that would totally exceed the scope of this tutorial. If you have no experience in using Linux, consult a friend who can help you with it. You can also ask for help in our forums or at wy6.org - you are not alone!

So what does CoDExtended bring to my Call of Duty 1.1 Gameserver?

  • GUID Support (Globally Unique Identifier) - the new status and guid's can be seen with /rcon xstatus
  • Ingame ban support (see faq below)
  • Various bugfixes e.g q3dirtrav, q3fill, q3msgboom, q3infoboom, callvote, etc..
  • You can retrieve chat messages and commands entered into console by client (e.g. /aimbot 1) See here for more information.
  • Adds full mysql_* support to GSC-scripts and many more GSC functions and enhancements
  • Option to make death-chat visible to alive players
  • Option to prevent people from spamming their player names by renaming
  • Collision / Entity Collision and damage feedback
  • Velocity altering
  • Instead of self.angles you can use self getplayerangles() which returns better angles.
  • Play player-animation(s) with a script
  • You can see all the functions and enhancements on the official website

Installing CoDExtended on Linux:

Step 1:
Download the latest codextended.so build from cod1.eu.

Step 2:
Put the codextended.so into your /usr/bin/ directory. (You can also put it into your call of duty folder, it doesn't really matter.).

Step 3:
Open your server's config file and copy&paste the following commands into it:

x_deadchat 0 // Make death-chat visible to alive players? 1= yes 0= no x_nameflood 0 // Allow Spamming Names? 1= Yes 0= No x_nopbots 1 // New bot movements (only takes effect if "scr_numbots" is enabled) x_spectator_noclip 0 // Allow spectator to fly through walls (noclip)? 1= Yes 0= No x_authorize 0 // 0= cracked server, 1 = non cracked server (cd key required) x_contents -1 // important - for collision of players - default = -1

Step 4:
Start your Server with the following command:

LD_PRELOAD=/usr/bin/codextended.so /path/to/your/server/cod_lnxded + set dedicated = 2 +exec dedicated.cfg +set fs_homepath /path/to/your/server/ +set fs_basepath /path/to/your/server/

Make sure to replace all the bold parts with your own file names and paths. If you're getting an error while running it then make sure you have all necessary file permissions.

That's it!

How do i know that CoDExtended has been loaded and is active?

When you type "xtnded" into the terminal, it will display the following:

Call of Duty Extended build 12 by riicchhaarrd A lot of thanks to kungfooman and libcod

When you type "xstatus", it will display the following:

map: mp_harbor num guid score ping name lastmsg address qport rate --- ------ ----- ---- --------------- ------- --------------------- ----- ----- 2 1325287 0 104 alien 140650 123.123.x.x:28960 4918 25000

And when connecting to your server, it will display "This server is powered by CoDExtended".

These are indications that CoDExtended is up and running fine.

Official Links you might also find interesting:
To see a list of all functions, enhancements and features, please visit the official Website at http://cod1.eu/forum-33.html.

Frequently Asked Questions:

Q: Will there ever be an update on the Windows version?
A: An update on the Windows version is in consideration. However, it isn't sure yet when it will be released.

Q: How does banning work exactly?
A: You will need to be logged into the rcon (/rconpassword passwordhere). Once you are logged in, you are able to use commands such as:
  • clientban 5 "Reason Here" ip - Bans the IP-Address of the player with the id 5
  • clientban 5 "Reason Here" guid - Bans the GUID of the player with the id 5
  • ban <substring of a player name on server> "reason" <ip or guid> - bans by part of name
  • banip - Bans the IP-Address
  • banguid 123456 - Bans the GUID 123456
All bans are stored in guidbans.txt and ipbans.txt. If you make changes to either of these files while the server is running, you will need to apply the command /rcon reloadbans to reload the bans.

Remember that you can not ban a GUID that is "0", otherwise all players with the GUID "0" will be banned.

You can unban players using the following commands:unbanip <ip> and unbanguid <guid>

Q: Have a question i can put into the FAQ's?
A: Let me know and i will add it here.

You can contact php on xfire via http://xfire.com/profile/phpcod or on his Website at cod1.eu.

Thankful for CoDExtended? Show the author your appreciation by making a donation

Tutorial Details

Created: 4 years ago by ^THiNK#ALIEN

Views: 8086 Views

Keywords: Codextended, server, xtnded, guid,

Share this Knowledge with your friends!

Direct Link:


I know this will sound gay but I must say
Rafi I Love You
Working! 100 (y)
Commented by Gilbert  (Oct 18th, 2014 12:40 AM)

Rafi is it stable now?
anyone else using xtended?
Commented by ~stb* Takasur  (Oct 18th, 2014 08:00 AM)

patch my server and is at 100% so far.
Commented by Gilbert  (Oct 18th, 2014 05:52 PM)

i use ubuntu me not work xtended pls help or unsub, ty
Commented by spekt  (Oct 18th, 2014 06:59 PM)

Takasur wrote:
Rafi is it stable now?
anyone else using xtended?

It's running fine on think servers since about 7-10 days. The only problem is that in xstatus, the lastmsg isnt displaying the correct values and is sometimes merged with the playername, (rafi1645666666) which (in think servers) is sometimes causing people to get renamed randomly - but this will be fixed in build 13 which should be out soon.
Commented by ^THiNK#ALIEN  (Oct 18th, 2014 09:41 PM)

Takasur wrote:
Rafi is it stable now?
anyone else using xtended?
Servers running with extended can be found here: http://cod1.eu/master/

All our servers are running on build 11 so far without any problems.
Commented by #BigBear | Mightyservers.net  (Oct 18th, 2014 10:11 PM)

I have a custom map named Harbor_Extreme by Crash for my server. I put that map into my main folder and it all works fine. I get on my server and loads everything. But for other players that don't have that certain map installed how do I make them auto-download that map when they are trying to join my server????? Without them going to a link and downloading the map.
Commented by Mr.Splash!  (Jul 30th, 2015 05:25 PM)

100 % Work :D helpfully this Tutorial . Thanks Rafi Anyways :D
Commented by -/w2o/-Bolt.  (Jan 15th, 2016 11:02 AM)

pls Give me YouR Fb
Commented by lowY.  (May 22nd, 2016 08:31 PM)

How to install CodExtended on Windows? I am currently using CoDaM in my Server!
Commented by #NRI  (Sep 14th, 2017 11:14 AM)

Bdz - https://think-clan.com/think_view_topic.php?id=2968
Commented by [NoFeAR]  (Sep 14th, 2017 04:42 PM)

Is it possible? CodExtended for Windows? Please give tutorial
Commented by #NRI  (Sep 15th, 2017 10:59 AM)

CodExtended dont work on Windows.
Commented by #coP  (Sep 15th, 2017 11:29 AM)

ok thanks
Commented by #NRI  (Sep 16th, 2017 12:51 PM)

set dedicated 2
set dedicated = 2
Commented by ^monkaS slon >:[  (Feb 12th, 2019 01:12 AM)

Please sign in or create an account to post a comment.