Перейти к содержимому
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

Опубликовано:
  • Автор
seems that we are still the same problem that the server can not connect to the master server 4D1, hope your help

try removing any port parameters from the shortcut

I am currently working on a VPS to try and get several servers set up

I might try and offer my services to some people here for a day or two to see if I can work out the problem and help people get their dedis working

 

When I have completed my testing, I will update the tutorial with something that helps (I hope)

- that's assuming that the error can be fixed

I hope it can

 

Can anyone offer any more information to this issue?

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

Does anyone know of a working way to get a server instance running headless on Linux? I had my old wine parameters (from the old IW4M thread) saved but I can't find them.

 

Wine keeps complaining about

 

err:ntdll:RtlpWaitForCriticalSection section 0x594ce54 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)

 

among the normal X server requirements.

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

Hi

 

Sorry if this is poorly translated but I'm French and I use google translate to in English.

So I have a problem with creating the server mw3 at the launch island but the game has stop working.

I have put the 2 file DSTU and I perform well, I have my port open and I have created the shortens info with a note in the target.

Do you have a solution to this problem?

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

Hello, i made everything on the tutorial but i get 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 (66): Could not load recipe 'TDM_default' skipping entry

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

Error: default (68): Could not load recipe 'TDEF_default' skipping entry

Error: default (69): Could not load recipe 'JUG_default' skipping entry

Error: default (70): Could not load recipe 'FFA_default' skipping entry

Succeeded reading from default.dspl

Loaded 0 map entries

Could not load map rotation "default". Shutting down

 

 

Please Help

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

I did exactly as you told and my server console starts up normally but I cant see my server in the internet servers list,Why is this so? is it because I am using my MW3 folder for my server? I did not download MW3 server tool from steam because its 6 gigs.

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

Hi everyone, I think master server has a problem, I just do as tutorial said and I had tekno server that work perfectly and I opened all the ports but when I run server I can see in list but I cant join the server, please tell me If I'm wrong in anything.

Опубликовано:
Hello, i made everything on the tutorial but i get 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 (66): Could not load recipe 'TDM_default' skipping entry

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

Error: default (68): Could not load recipe 'TDEF_default' skipping entry

Error: default (69): Could not load recipe 'JUG_default' skipping entry

Error: default (70): Could not load recipe 'FFA_default' skipping entry

Succeeded reading from default.dspl

Loaded 0 map entries

Could not load map rotation "default". Shutting down

 

 

Please Help

Do you have an "admin" folder in your mw3 folder?

Опубликовано:
I did exactly as you told and my server console starts up normally but I cant see my server in the internet servers list,Why is this so? is it because I am using my IW5 folder for my server? I did not download IW5 server tool from steam because its 6 gigs.

This happens to me too. Haven't found a fix yet though :(

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

once again awesome job guys!!! i got 2 questions

 

first how do i make it rotate maps in order and not be random or play one map every other map. it seems to like rotate a new map then go back then new then back i got all set to 1 and wight not sure what it should be.

 

second question is there any rcon tools like the cod4 rcon that worked with mw3 cuz i cannot for the life of me figure out b3 thanks!

 

-L3THAL

Опубликовано:
  • Автор
Powerhalo":2zrxodnt]My server works now and has B3 :D

 

how did u fix it not connecting?

Type "net_masterServerPort" into the server command line while it is running

Use that port for your rcon port

Also use your local IP, not localhost

Опубликовано:
  • Автор
Tom":3197ntsp]Does anyone know of a working way to get a server instance running headless on Linux? I had my old wine parameters (from the old IW4M thread) saved but I can't find them.

 

Wine keeps complaining about

 

err:ntdll:RtlpWaitForCriticalSection section 0x594ce54 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)

 

among the normal X server requirements.

I can't support Linux systems

Sorry

You may try making another thread and ask people

Опубликовано:
  • Автор
KniFe":314qalor]Hello, I'm getting this error in my server when starting it.

My default.dpsl file image

EDIT: Okay I saw the previous comment you said that you need to setup the map rotation, but how?

Take a screenshot of your admin folder

The gametype files (.dsr) that you reference in your default.dspl file MUST be in that folder...

Опубликовано:
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????????????

Опубликовано:
  • Автор

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.

Опубликовано:
  • Автор
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????????????

make another shortcut and try again

Опубликовано:
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????????????

make another shortcut and try again

i tried ten to 15 times nothing worked :cry:

its ok i fixed it but i get this error "Execeed limit of 64 "attachment" asset" when i run dedicated server

Опубликовано:
  • Автор
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????????????

make another shortcut and try again

i tried ten to 15 times nothing worked :cry:

show me the end result of what you're doing

Опубликовано:
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????????????

make another shortcut and try again

show me the end result of what you're doing

ok Bro i fixed by adding space with +setxxxx but now when i run dedicated server i get this error "exeeded limit of 64 "attachement' assets" ???

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.