IW5M: Dedicated Server Tutorial
- Ответы 231
- Просмотры 12,9k
- Created
- Последний ответ
Top Posters In This Topic
-
napsterlove 32 posts
-
Paulofonta 14 posts
-
!pbMcGordyWH 13 posts
-
dG-Rockyyy 9 posts
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
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:
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:
to:
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:
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:
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:
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:
This would mean that Dome would be the only map to play and it would be FFA.
If you were to set:
This would mean that it could be any map but it will be team defender every time.
But, if you were to set:
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:
Colour Codes