Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IW5M: Dedicated Server Tutorial

Опубликовано:

I am posting this ahead of time to be moved on release with IW5M, please offer any suggestions, changes and correct any errors:

 

 

How to make a Dedicated Server for IW5M:

1. Have clean install of MW3 from Steam (or HldsUpdateTool Installer)

 

2. Download the Dedicated Server Update Tool (dsut.zip).

 

3. Place both files into the root directory of mw3 where the folders and .exe files are.

 

4. Run dsut.exe

 

5. Create a shortcut to iw5m_server.exe and add the following paramaters into the target field after openning the properties:

+set net_queryport 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

It should look something like this:

D:\iw5m\iw5m_server.exe +set net_queryport 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

 

6. Make sure you port forward 27015, 27016 AND 27017 of the net_queryport, net_port and masterServerPort on your router and firewall. Note: your antivirus (or rather the firewall that comes with it) is most likely going to block any server activity. Disable it or add an exception.

Go to: http://www.portforward.com/ for help on port-forwarding.

 

7. Go into the folder "admin" and edit the server.cfg file as you wish.

Find a copy of the server.cfg here.

Find a copy of default.dspl here.

 

8. Run the shortcut you made previously and away you go.

Your server should now be running.

 

How to Run Multiple Servers:

If you wish to create another server, copy and paste your server.cfg, rename it to server2.cfg or something appropriate and then change the following in your shortcut:

+set sv_config "server.cfg"
+set net_queryPort 27015
+set net_port 27016
+set net_masterServerPort 27017

to:

+set sv_config "server2.cfg"
+set net_queryPort 27018
+set net_port 27019
+set net_masterServerPort 27020

The ports can be different. I would suggest figuring out what ports you wish to use and then change them accordingly.

My suggestion is to use 15-17, 18-20, 21+22 and so you

You can use pretty much anything you want, just use some common sense and try to stay close to the 27000-27100 range

 

Also, in your config for each server add "seta g_log " and give a different log name. This is for b3.

 

Here is a breakdown of what each net_x parameter does:

+set net_port = ??? 
(I have no idea what this does but seems important) -Typing "net_port"  in the console will show this port.

+set net_queryPort = "game port"
(used for /connect) - Typing "net_queryport" in the console will show this port.

+ set net_masterServerPort = query port 
(This is used for b3/rcon) - Typing "net_masterServerPort" in the console will show this port.

net_authPort = auth port
(not used for IW5M) - This can be ignored

 

How to Edit Gametype/Recipes:

You can also get some premade recipes here

Go into the admin folder in your mw3 directory.

Open up your server.cfg

In that file, you should see a line (or few) like this:

// Dedicated server play list (DSPL) specifying server map rotation.
//    Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
seta sv_maprotation "default"

What you set there is where the server will read your map rotations and game types from.

Now open "default.dspl"

If you scroll to the bottom, you will see a few lines that look like this:

*,TDM_default,1
mp_bootleg,DOM_default,1
*,TDEF_default,1000
mp_bravo,JUG_default,1
mp_dome,FFA_default,1

This may look confusing, but it's actually quite simple.

The config is set up like this:

 

map,gametype,weight

 

Map can be any of the maps below or an *. A * Signifies "pick a random map".

Gametype can be any file that is in the admin folder. These are a little more difficult, I'll come back to this later.

Weight just means that the larger the number, the more likely it is to play. (1->1000)

So for instance, if you were to set:

mp_dome,FFA_default,1

This would mean that Dome would be the only map to play and it would be FFA.

If you were to set:

*,TDEF_default,1000

This would mean that it could be any map but it will be team defender every time.

But, if you were to set:

mp_bravo,JUG_default,1
mp_dome,FFA_default,2

This would mean that the only 2 maps your server would play would be Dome and Mission. Mission would always be Juggernaut and Dome would always be FFA. FFA on Dome is more likely to be played because the weight is higher.

 

I have included a modified default.dspl which helps to explain this under step 7 of the first part of this tutorial.

 

Now, on to gametypes.

If you open a .dsr file you will find a bunch of setting you can change. This is everything from gametype, to gametype rules, to class loadouts, to HC settings and such. This is your more in-depth server.cfg

But it's much better. You can fiddle around here OR you can go ingame, enter private match and then change the configuration to what you want. When you're done, hit the "save recipe to disk" button under the "Game setup" menu to save it to your admin folder on your computer.

All you need to do then is move it to your server, drop it back in the admin folder and configure your default.dspl to include it.

 

Map Names:

Standard Maps:

mp_alpha - Lockdown
mp_bootleg - Bootleg
mp_bravo - Mission
mp_carbon - Carbon
mp_dome - Dome
mp_exchange - Downturn
mp_hardhat - Hardhat
mp_interchange - Interchange
mp_lambeth - Fallen
mp_mogadishu - Bakaara
mp_paris - Resistance
mp_plaza2 - Arkaden
mp_seatown - Seatown
mp_radar - Outpost
mp_underground - Underground
mp_village - Village

DLC Maps:

mp_cement - Foundation
mp_italy - Piazza
mp_meteora - Sanctuary
mp_morningwood - Black Box
mp_overwatch - Overwatch
mp_park - Liberation
mp_qadeem - Oasis

Face-off Maps:

mp_aground_ss - Aground
mp_courtyard_ss - Erosion
mp_hillside_ss - Getaway
mp_restrepo_ss - Lookout

 

Colour Codes

^1 – Red
^2 – Green
^3 – Yellow
^4 – Blue
^5 – Light Blue
^6 – Pink
^7 – White
^0 – Black

  • Ответы 231
  • Просмотры 12,9k
  • Created
  • Последний ответ

Top Posters In This Topic

Featured Replies

Опубликовано:
Create a shortcut to iw5m_server.exe and add the following paramaters into the target field after openning the properties:

 

Code: Select all

+set net_port 27015 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

 

 

It should look something like this:

D:\iw5m\iw5m_server.exe +set net_port 27015 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

5.

when i add these lines and press ok it says"xxxxxx specified in the Target box is not valid.Make sure that the path is valid"Any idea????????????

 

 

You missed the quotes (and the tutorial too) "". My path is this (check the quitoes marks):

 

"E:\xxxxx\Juegos\Call of Duty - Modern Warfare 3 - 4D1\iw5m_server.exe" +set sv_config "server.cfg" +set dedicated 2 +set net_port 27015 +start_map_rotate +set net_queryPort 27017

Опубликовано:
Testing completed for myself, turns out you need to set net_queryport, net_port and net_masterserverport (in that order?) to be able to host several servers successfully

I have learnt a bit more now in my testing and will proceed to help more people :)

 

For anyone having an issue with "Connecting..." this appears to be an error with your router configuration under the NAT type settings.

This is not confirmed but it is the only thing we can go on as it is nearly impossible to tell what is causing this error.

 

 

 

 

 

Hi, I have been reading for some solution here because I have the same problem... I can't see my server and I can't connect to.

 

I have open 27014 to 27018 ports, 129... and 8766:

 

 

 

NOTEBLOCK:

 

// Open game port (Steam-visible server game port)

//+set net_queryPort 27014

 

// Secure game port

+set net_port 129

 

// Steam authentication port

//+set net_authPort 8766

 

// Steam master server (server browser) port

//+set net_masterServerPort 27016

 

SERVER CONSOLE:

 

. . .Spawning map: mp_park, gametype war

Initializing Steam Game Server: game port 27017, auth port 8766, query port 27018 . . .

 

. . .

]net_queryport

"net_queryPort" is: "27017" default: "27015"

Domain is any integer from 0 to 65535

]net_port

"net_port" is: "27015" default: "27016"

Domain is any integer from 0 to 65535

]net_masterserverport

"net_masterServerPort" is: "27018" default: "27017"

Domain is any integer from 0 to 65535

. . .

 

 

 

and I can see my server in this link http://s.mufff.in/iw5msl . . . and I have seen people connected in my server (so, it's working very well, I think) . . . but I can't still connect, I can't still see my own server o_0 and the game still say STRICT NAT Гє_Гє

 

I don't know what to do, I have DMZ enabled too and my firewall is ok Гє_Гє

 

By the way... can't anyone add to favorites or check the history or just me ? ? ? o_0

Опубликовано:
Hello everybody!

I put online my server.

This is the command line...

 

+set dedicated 2 +set net_queryPort 55103 +set net_port 27019 +set net_authPort 8766 +set net_masterServerPort 27034 +set sv_maprotation "default" +set sv_maxclients 18 +start_map_rotate

 

The console si fine...

 

Welcome to IW5M r17.

http://fourdeltaone.net/ for help and support :)

Connecting to online services....

Connected to online services.

Executing server config "server.cfg"

Succeeded reading from default.dspl

Loaded 16 map entries

Loading DSR "hq.dsr"...

Loading Succeeded for DSR "hq.dsr"

-----------------------------------

Spawning map: mp_seatown, gametype koth

Initializing Steam Game Server: game port 55103, auth port 8766, query port 27034, gamedir modernwarfare3, version 1.0.0.0

Steam Game Server initialized as Internet Server.

Steam Master Servers found (1). Server will be Internet Server listed.

[scriptLoader] Loading script GameLog

Spawn map (mp_seatown, koth) complete.

-----------------------------------

 

I opened every ports and the server letВґs showned in the list.....

But.... nobody can join it!!!!!!

Help me please!

 

IВґve put online several servers of T...o and I know how to do this... but here something es wrong!

 

ANY SUPPORT HERE?

Опубликовано:
Initializing Steam Game Server: game port 55103

That's the port that needs to be forwarded for clients to be able to connect.

If clients can see the server on the list but can't connect it, that means that the query port is forwarded, but the game port is not.

Опубликовано:
Testing completed for myself, turns out you need to set net_queryport, net_port and net_masterserverport (in that order?) to be able to host several servers successfully

I have learnt a bit more now in my testing and will proceed to help more people :)

 

For anyone having an issue with "Connecting..." this appears to be an error with your router configuration under the NAT type settings.

This is not confirmed but it is the only thing we can go on as it is nearly impossible to tell what is causing this error.

 

 

 

 

 

Hi, I have been reading for some solution here because I have the same problem... I can't see my server and I can't connect to.

 

I have open 27014 to 27018 ports, 129... and 8766:

 

 

 

NOTEBLOCK:

 

// Open game port (Steam-visible server game port)

//+set net_queryPort 27014

 

// Secure game port

+set net_port 129

 

// Steam authentication port

//+set net_authPort 8766

 

// Steam master server (server browser) port

//+set net_masterServerPort 27016

 

SERVER CONSOLE:

 

. . .Spawning map: mp_park, gametype war

Initializing Steam Game Server: game port 27017, auth port 8766, query port 27018 . . .

 

. . .

]net_queryport

"net_queryPort" is: "27017" default: "27015"

Domain is any integer from 0 to 65535

]net_port

"net_port" is: "27015" default: "27016"

Domain is any integer from 0 to 65535

]net_masterserverport

"net_masterServerPort" is: "27018" default: "27017"

Domain is any integer from 0 to 65535

. . .

 

 

 

and I can see my server in this link http://s.mufff.in/iw5msl . . . and I have seen people connected in my server (so, it's working very well, I think) . . . but I can't still connect, I can't still see my own server o_0 and the game still say STRICT NAT Гє_Гє

 

I don't know what to do, I have DMZ enabled too and my firewall is ok Гє_Гє

 

By the way... can't anyone add to favorites or check the history or just me ? ? ? o_0

 

If your server is running within LAN, or on the same computer you play. Try just connecting trough in-game console using this command:

connect 192.168.x.x:yourporthere

 

Using your computer's private IP and your server's gameport

Опубликовано:
LuisD":y0i007op]
Testing completed for myself, turns out you need to set net_queryport, net_port and net_masterserverport (in that order?) to be able to host several servers successfully

I have learnt a bit more now in my testing and will proceed to help more people :)

 

For anyone having an issue with "Connecting..." this appears to be an error with your router configuration under the NAT type settings.

This is not confirmed but it is the only thing we can go on as it is nearly impossible to tell what is causing this error.

 

 

 

 

 

Hi, I have been reading for some solution here because I have the same problem... I can't see my server and I can't connect to.

 

I have open 27014 to 27018 ports, 129... and 8766:

 

 

 

NOTEBLOCK:

 

// Open game port (Steam-visible server game port)

//+set net_queryPort 27014

 

// Secure game port

+set net_port 129

 

// Steam authentication port

//+set net_authPort 8766

 

// Steam master server (server browser) port

//+set net_masterServerPort 27016

 

SERVER CONSOLE:

 

. . .Spawning map: mp_park, gametype war

Initializing Steam Game Server: game port 27017, auth port 8766, query port 27018 . . .

 

. . .

]net_queryport

"net_queryPort" is: "27017" default: "27015"

Domain is any integer from 0 to 65535

]net_port

"net_port" is: "27015" default: "27016"

Domain is any integer from 0 to 65535

]net_masterserverport

"net_masterServerPort" is: "27018" default: "27017"

Domain is any integer from 0 to 65535

. . .

 

 

 

and I can see my server in this link http://s.mufff.in/iw5msl . . . and I have seen people connected in my server (so, it's working very well, I think) . . . but I can't still connect, I can't still see my own server o_0 and the game still say STRICT NAT Гє_Гє

 

I don't know what to do, I have DMZ enabled too and my firewall is ok Гє_Гє

 

By the way... can't anyone add to favorites or check the history or just me ? ? ? o_0

 

If your server is running within LAN, or on the same computer you play. Try just connecting trough in-game console using this command:

connect 192.168.x.x:yourporthere

 

Using your computer's private IP and your server's gameport

 

 

 

 

 

I did it but nothing. It says server connection timed out

Опубликовано:

i get this error everytime i change the maprotation from default to anything else

custom_1 is all or nothing i downloaded from the recipe thread i tried using TDM_default it still doesnt work if i change it from default to anything

Untitled-3.png

Опубликовано:

Look carefully at the tutorial post! I advice you to dublicate the server.cfg, delete everything in it, write *,TDM_default,1 and rename the new file TDM. Than try again in the console "sv_maprotation TDM" and you should start a classic team deathmatch server. :)

Опубликовано:
  • Автор
Look carefully at the tutorial post! I advice you to dublicate the server.cfg, delete everything in it, write *,TDM_default,1 and rename the new file TDM. Than try again in the console "sv_maprotation TDM" and you should start a classic team deathmatch server. :)

don't do this

It makes no sense

Опубликовано:
  • Автор
i get this error everytime i change the maprotation from default to anything else

custom_1 is all or nothing i downloaded from the recipe thread i tried using TDM_default it still doesnt work if i change it from default to anything

Show me your complete server.cfg and .dspl files

Опубликовано:

Can anyone help? I'm still getting this error:

 

Welcome to IW5M r17.

http://fourdeltaone.net/ for help and support :)

Connecting to online services...................

Connected to online services.

net_port is write protected.

Executing server config "server.cfg"

Error: default (73): Could not load recipe 'TDM_default' skipping entry

Error: default (74): Could not load recipe 'TDM_default' skipping entry

Error: default (75): Could not load recipe 'TDM_default' skipping entry

Error: default (76): Could not load recipe 'TDM_default' skipping entry

Error: default (77): Could not load recipe 'TDM_default' skipping entry

Error: default (78): Could not load recipe 'TDM_default' skipping entry

Error: default (79): Could not load recipe 'TDM_default' skipping entry

Error: default (80): Could not load recipe 'DOM_default' skipping entry

Error: default (81): Could not load recipe 'DOM_default' skipping entry

Error: default (82): Could not load recipe 'DOM_default' skipping entry

Error: default (83): Could not load recipe 'DOM_default' skipping entry

Error: default (84): Could not load recipe 'DOM_default' skipping entry

Error: default (85): Could not load recipe 'DOM_default' skipping entry

Error: default (86): Could not load recipe 'DOM_default' skipping entry

Error: default (87): Could not load recipe 'SAB_default' skipping entry

Error: default (88): Could not load recipe 'SAB_default' skipping entry

Error: default (89): Could not load recipe 'SAB_default' skipping entry

Error: default (90): Could not load recipe 'SAB_default' skipping entry

Error: default (91): Could not load recipe 'SAB_default' skipping entry

Error: default (92): Could not load recipe 'SAB_default' skipping entry

Error: default (93): Could not load recipe 'SAB_default' skipping entry

Error: default (94): Could not load recipe 'CTF_default' skipping entry

Error: default (95): Could not load recipe 'CTF_default' skipping entry

Error: default (96): Could not load recipe 'CTF_default' skipping entry

Error: default (97): Could not load recipe 'CTF_default' skipping entry

Error: default (98): Could not load recipe 'CTF_default' skipping entry

Error: default (99): Could not load recipe 'CTF_default' skipping entry

Error: default (100): Could not load recipe 'CTF_default' skipping entry

Error: default (101): Could not load recipe 'SD_default' skipping entry

Error: default (102): Could not load recipe 'SD_default' skipping entry

Error: default (103): Could not load recipe 'SD_default' skipping entry

Error: default (104): Could not load recipe 'SD_default' skipping entry

Error: default (105): Could not load recipe 'SD_default' skipping entry

Error: default (106): Could not load recipe 'SD_default' skipping entry

Error: default (107): Could not load recipe 'SD_default' skipping entry

Succeeded reading from default.dspl

Loaded 0 map entries

Could not load map rotation "default". Shutting down

 

My dspl file and server.cfg link attached below.

http://www.mediafire.com/?gc56lavj7t9ihyo

Опубликовано:

The question here now is if those dsr files that you tried to load are there...

Try using this as your playlist instead:

 

mp_cement,shrp,3
mp_italy,shrp,3
mp_meteora,shrp,3
mp_morningwood,shrp,3
mp_park,shrp,3
mp_overwatch,shrp,3
mp_qadeem,shrp,3
mp_cement,shrp,3
mp_italy,shrp,3
mp_meteora,shrp,3
mp_morningwood,shrp,3
mp_park,shrp,3
mp_overwatch,shrp,3
mp_qadeem,shrp,3
mp_cement,shrp,2
mp_italy,shrp,2
mp_meteora,shrp,2
mp_morningwood,shrp,2
mp_park,shrp,2
mp_overwatch,shrp,2
mp_qadeem,shrp,2
mp_cement,shrp,1
mp_italy,shrp,1
mp_meteora,shrp,1
mp_morningwood,shrp,1
mp_park,shrp,1
mp_overwatch,shrp,1
mp_qadeem,shrp,1
mp_cement,shrp,1
mp_italy,shrp,1
mp_meteora,shrp,1
mp_morningwood,shrp,1
mp_park,shrp,1
mp_overwatch,shrp,1
mp_qadeem,shrp,1

 

Plus, I believe it will only load up to 16 playlist entries...

Опубликовано:
The question here now is if those dsr files that you tried to load are there...

Try using this as your playlist instead:

 

mp_cement,shrp,3
mp_italy,shrp,3
mp_meteora,shrp,3
mp_morningwood,shrp,3
mp_park,shrp,3
mp_overwatch,shrp,3
mp_qadeem,shrp,3
mp_cement,shrp,3
mp_italy,shrp,3
mp_meteora,shrp,3
mp_morningwood,shrp,3
mp_park,shrp,3
mp_overwatch,shrp,3
mp_qadeem,shrp,3
mp_cement,shrp,2
mp_italy,shrp,2
mp_meteora,shrp,2
mp_morningwood,shrp,2
mp_park,shrp,2
mp_overwatch,shrp,2
mp_qadeem,shrp,2
mp_cement,shrp,1
mp_italy,shrp,1
mp_meteora,shrp,1
mp_morningwood,shrp,1
mp_park,shrp,1
mp_overwatch,shrp,1
mp_qadeem,shrp,1
mp_cement,shrp,1
mp_italy,shrp,1
mp_meteora,shrp,1
mp_morningwood,shrp,1
mp_park,shrp,1
mp_overwatch,shrp,1
mp_qadeem,shrp,1

 

Plus, I believe it will only load up to 16 playlist entries...

 

Oh its working :) But I don't see my server , Also, if its 'shrp', then how do I set the gametype? eg. TDM_default?

 

I don't see my server in the server list too, I tried connect 192.168.1.8 my local ip (should work tried in mw2 last time) but didnt work here

Опубликовано:
i get this error everytime i change the maprotation from default to anything else

custom_1 is all or nothing i downloaded from the recipe thread i tried using TDM_default it still doesnt work if i change it from default to anything

Show me your complete server.cfg and .dspl files

 

 

 

 

they are just the default files i only changed the name and the rotation in server.cfg

Опубликовано:
KniFe":3i8bl460]Hey thanks guys, my problem is solved, but I need TDM, DOM, SAB, SND recipes, where can I get them? :D

Make a steam check on your dedicated server and you'll get the default recipe files.

 

I can't use steam to check integrity for non-steam games

Опубликовано:
KniFe":1562lmnd]I can't use steam to check integrity for non-steam games

IW5 is a Steam game, look:

http://bit.ly/NMb2pF

 

After you finish the check, delete caches.xml and start dsut.exe to update the installation with IW5M custom files.

Опубликовано:

hello i made a server and it says it works but it doesnt show in the server browser even after a lot of refreshes and here http://s.mufff.in/iw5msl

here is the server.cfg default.dspl and trickscope.dsr files

http://www.mediafire.com/?333h3bxqqx4j4xl

 

 

from what it says in console i think its working

Untitled-4.png

Опубликовано:
Initializing Steam Game Server: game port 55103

That's the port that needs to be forwarded for clients to be able to connect.

If clients can see the server on the list but can't connect it, that means that the query port is forwarded, but the game port is not.

I just have tekno and steam servers and they work fine with no error but I have problem in this server I know what is port forwarding and I just open 0-6500 in outgoing and incoming in tcp and udp and I still have connecting problem

this is my startup server

Welcome to IW5M r18.

http://fourdeltaone.net/ for help and support :)

Connecting to online services....

Connected to online services.

Executing server config "server.cfg"

Succeeded reading from default.dspl

Loaded 1 map entries

Loading DSR "DOM.dsr"...

Loading Succeeded for DSR "DOM.dsr"

-----------------------------------

Spawning map: mp_carbon, gametype dom

Initializing Steam Game Server: game port 27017, auth port 8766, query port 27018, gamedir modernwarfare3, version 1.0.0.0

Steam Game Server initialized as Internet Server.

Steam Master Servers found (1). Server will be Internet Server listed.

[scriptLoader] Loading script GameLog

Spawn map (mp_carbon, dom) complete.

anybody see any problem in it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.