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

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

Please, can someone help me? I already posted my question, no one answered...

At first I had problems joining the server even from console, now that I reinstalled that tool it works fine.

But... I still can't see it in LAN tab or Internet tab, and no one is joining so I guess it's not visible.

I had more servers in IW4 and in T*****W3, no problems with them.

That's what I type in the shortcut:

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

 

And that's what the console says:

Welcome to IW5M r19.
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 2 map entries
Loading DSR "SD_default.dsr"...
Loading Succeeded for DSR "SD_default.dsr"
-----------------------------------
Spawning map: mp_carbon, gametype sd
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27017, 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, sd) complete.
-----------------------------------

 

As I said, I can connect from the dev console, but I don't see it in LAN or Internet tabs.

People is not joining, so maybe I have some errors in ports?

If you need anything else just tell me...

I don't know which is the problem (at least not exactly) can someone help me please?

Опубликовано:
Did you forward port 27017 ? Are you sure?

Of course I did, here's a screenshot (sorry for the language, I'm italian, but as you can see I forwarded both tcp and udp of 27015-27018 range)

http://i50.tinypic.com/2hda06p.png

Maybe the ports are forwarded but not open?

Also, if your router has a DMZ option, set you computer's local IP as the DMZ host.

About the language... since when can't a portuguese read italian? :P

Опубликовано:
Did you forward port 27017 ? Are you sure?

Of course I did, here's a screenshot (sorry for the language, I'm italian, but as you can see I forwarded both tcp and udp of 27015-27018 range)

http://i50.tinypic.com/2hda06p.png

Maybe the ports are forwarded but not open?

Also, if your router has a DMZ option, set you computer's local IP as the DMZ host.

About the language... since when can't a portuguese read italian? :P

Oh didn't know that xD

By the way, what do you mean by not open? I could host other servers so I don't think that's the problem, but if you tell me how to fix it I will!

I don't think to have such an option, by the way I'm on a pc, connected via ethernet cable (directly to the modem-router). I checked again and I didn't see anything like DMZ... Thanks for your help anyways.

Опубликовано:
I have a problem, I have port forwarded all 3 ports, Everything works but no1 can join the server ( with console ) and see the server. INCLUDING ME. So yea, I REALLY NEED HELP, Thank you.

If you can't connect it's an issue installing the tool in the first page (not dsut, the one above that)

I reinstalled it and fixed. Hope this helps.

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

So uhm, I am able to join my server, but other people can't see it.

I was just wondering, how do I see the ip of the server? I mean, I'd like to know which ip should my friend write in "connect :"? The port is 27015 (query port), I just don't know the ip [the internal one? Or something else? I only know the internal, that is 192.168.1.18, but it seems like my friends can't connect with "connect 192.168.1.18:27015" like I do -well, it's an internal ip- (I forwarded the ports with that ip)]

Thanks in advance.

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

As I said, I can connect from the dev console, but I don't see it in LAN or Internet tabs.

People is not joining, so maybe I have some errors in ports?

If you need anything else just tell me...

I don't know which is the problem (at least not exactly) can someone help me please?

The LAN tab doesn't work, there is no 'dev' console; it's just a console and try setting net_port net_queryport and ner_masterserverport in your parameters and forward them all

 

If that doesn't work, try not specifying any ports at all and then it will use the default ports and should work

 

I've also had issues with dedicated servers on my machine taking about 5 minutes to register

Try loading the dedicated server and leaving it for a few minutes then look for it

 

Just saw the DMZ thing

You'd be stupid to enable that for a computer on your local network unless you know exactly what you're doing

Опубликовано:
  • Автор
So uhm, I am able to join my server, but other people can't see it.

I was just wondering, how do I see the ip of the server? I mean, I'd like to know which ip should my friend write in "connect :"? The port is 27015 (query port), I just don't know the ip [the internal one? Or something else? I only know the internal, that is 192.168.1.18, but it seems like my friends can't connect with "connect 192.168.1.18:27015" like I do -well, it's an internal ip- (I forwarded the ports with that ip)]

Thanks in advance.

google "what is my ip"

Опубликовано:
in my datacenter i have windows server 2003 and no open this file, have one fix or solution for solve my problem ? :(

On a windows server, you have to enable .net Framework 3.5 on the server's features (not roles)

 

EDIT: after checking on my oldest machine here :P I've seen that on windows server 2003, .net Framework is not called a "feature" yet. It's still on "windows components", at the left, on "Add or Remove Program" window (you get there through the control panel).

Enable .net Framework 2.0 there, then install .net Framework 3.5, and finally install .net Framework 4

Then it should run ;)

Опубликовано:
Hey , whenever i run the shortcut it says "Could not load map rotation "default". Shutting down"

 

Please help :(

 

You dont have the default.dsr in the admin folder

 

i have the a default file its a dspl file .... i tried renaming it to default.dsr... nothing happened

 

[attachment=0]mw3.png[/attachment]

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.