Перейти к содержимому
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/B3/Client Install/All Tutorials

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

All IW5M Tutorials

 

If you request assistance please state which one you need before writing. Something like this:

Dedicated Server help
My server crashes!

Got it? Thank you!

 

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_terminal_cls - Terminal
mp_cement - Foundation
mp_italy - Piazza
mp_meteora - Sanctuary
mp_morningwood - Black Box
mp_overwatch - Overwatch
mp_park - Liberation
mp_qadeem - Oasis
mp_boardwalk - Boardwalk
mp_moab - Gulch
mp_nola - Parish
mp_roughneck - Off shore
mp_shipbreaker - Decommission

Face-off Maps:

mp_aground_ss - Aground
mp_courtyard_ss - Erosion
mp_hillside_ss - Getaway
mp_restrepo_ss - Lookout
mp_crosswalk_ss - Intersection
mp_burn_ss - U-turn
mp_six_ss - Vortex

 

Colour Codes

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

Made by napsterlove.

___________________________________________________________________________________________________________________________________

 

B3 Tutorial

 

Prerequisites: (there are several tutorials on the web, on how to install and configure these)

 

To start, of course, an IW5M dedicated server (I hope you checked this tutorial already)

A webserver (IIS, apache, etc will do it. Tested with IIS 7.5)

MySQL Server - http://www.mysql.com/downloads/ (tested with MySQL Server 5.5)

PHP - http://www.php.net/

PhpMyAdmin - http://www.phpmyadmin.net/home_page/downloads.php

Python - http://www.python.org/download/ (tested with Python 2.7.3 64-bit)

MySql-Python - http://www.codegood.com/archives/129 (tested with MySQL-python-1.2.3 64-bit)

B3 Python source version - http://forum.bigbrotherbot.net/download ... iew;down=4 (tested with b3-1.8.1)

 

Later versions should work without any kind of problems (keep in mind about MySQL-Python compatibility with Phython versions though).

 

Also note that b3 can be set with an SQLite database instead of MySQL, saving you from installing a webserver, MySQL Server, PHP and PhpMyAdmin. But since I never used SQLite, I'm not the right person to tell you how to do it with SQLite. You can find some info on it here

Also, I preffer the typical installation (the one I'm explaining on this tutorial) because it allows you to install xlrstats or echelon webfronts.

 

 

Now that you got everything above running, it's time to create your database. Login on PhpMyAdmin, create the database and import the sql template that you can find inside b3\sql on the b3 package.

 

Now it's time to actually setup B3.

Extract "to somewhere" the content on your B3 zip (for guiding on this tutorial, let's suppose that you extracted it to the root of C drive and then renamed the folder to "b3")

The next step is to copy "cod8.py" to your b3 installation. You can find "cod8.py" on "admin" folder on your IW5M server installation. Copy "cod8.py" to "C:\b3\b3\parsers\"

 

Now go here to generate a config file (b3.xml):

http://config.bigbrotherbot.net/

Of course that you won't find IW5M on the list :) MW3 was never supposed to have b3 support, right? :P Just choose "Call of Duty: Modern Warfare 2"

Fill in all your information there. Keep in mind that B3 config files only work with front slashes (/). As for the log file, it's getting created on "scripts" folder. So, the path would be something like "C:/IW5M/scripts/games_mp.log".

For RCON IP, use the local IP. Do NOT use localhost (127.0.0.1)

The "Server Port" will be the port used for rcon. The port used for rcon will be the "query port". You can check what's that server's query port by looking at the console's output when you launch the server. Look at this line: "Initializing Steam Game Server: game port *****, auth port ****, query port *****,"

Save the config and move it to "C:\b3\b3\conf\"

 

Now open b3.xml with some text editor (notepad++ is great for it) and change the parser.

Where it says:

cod6

change to:

cod8

 

Usage of the !login command:

To prevent, that other can change their XUID to your one and control your server, you can use the 'login-plugin', provided by B3.

1.) Add this line to your b3.xml at the 'plugin-section':


2.) Change the plugin_login.xml, loacted in the conf folder to your favorite settings

3.) Go into your MySQL database, and go to (ex. 'b3') --> 'clients' --> search your name (ex. qvp | MAGIC) and click at 'edit'.

4.) Go to this MD5-'translator' homepage, because your password have to saved as MD5-hash. Enter your password in the TEXT thingy and click at ENCODE. Now you can copy your password as MD5-hash...

5.) Change to your MySQL database and paste the MD5-hash password in the password-field.

6.) Start/Restart your B3 and join your server.

7.) Now login with

/!login 

 

IMPORTANT

When you bind/write this command then be sure you are hiding it (default with /!login ! Or your password is revealed!

 

Or use this tutorial by 'TranquiliZer' : viewtopic.php?f=30&t=23413

 

 

Important note to hosts running HC servers:

Although we unlocked dedicated server commands, there's still a bug with Teamkill. If you're running an HC server with teamkill disabled, b3 will still ban players for teamkill, although they can't actually kill their team-mates. To prevent this from happening, remove "plugin_tk" from b3.xml.

Just delete this line, if exists:

 

Now just save the changes and close the file.

Browse to C:\b3\ and start "b3_run.py" to start B3.

 

On another note, B3 is capable of registering data to xlrstats database already. But since there's not an IW5M xlrstats template available already to retrieve the stats, we'll leave xlrstats tutorial for later.

 

To finish, I leave you an example of a working b3.xml

<?xml version="1.0"?>


cod8
mysql://root:mysqlpassword@localhost/b3
B3
^0(^2b3^0)^7:
%I:%M%p %Z %m/%d/%y
GMT
10
C:/b3/b3.log


rconpassword
27017
C:/IW5M/scripts/games_mp.log
192.168.1.1
192.168.1.1
off


xml
100
C:/b3/b3_doc.html


$clientname^7 was kicked by $adminname^7 $reason
$clientname^7 was kicked $reason
$clientname^7 was banned by $adminname^7 $reason
$clientname^7 was banned $reason
$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason
$clientname^7 was temp banned for $banduration^7 $reason
$clientname^7 was un-banned by $adminname^7 $reason
$clientname^7 was un-banned $reason


@b3/extplugins













Made by Paulofonta

___________________________________________________________________________________________________________________________________

 

Client Installation

 

 

If you have any questions just follow the video EXACTLY and make sure to read the description.

Made by DidUknowiPwn

 

 

-Staff you can edit this thread as much as you please!-

  • Ответы 686
  • Просмотры 125k
  • Created
  • Последний ответ

Top Posters In This Topic

Featured Replies

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

External: the port, which you want to forward

Protocol: depends at the port (UDP, TCP)

IP: I think your internal one

 

PC:

TCP: 27014-27050, 3074

UDP: 27000-27014, 27015-27030, 3074

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

Dedicated server issue here.

Been trying over and over again since yesterday, but I can't even connect via 127.0.0.1 on the same PC. But IW5M_Server claims that the server is running. I have forwarded all required ports, but port forwarding is anyway irrelevant when connecting to the same machine via localhost IP.

How should I connect, anyway? I think I'm messing up when connecting.

I first tried

connect 127.0.0.1:27015

(net_queryPort returns 27015)

Didn't work. Then tried without port as

connect 127.0.0.1
, but still no go.

Then I tried both other ports 27016 and 27017, though I was pretty sure that wouldn't work.

I'm totally lost as to what I should be doing. Some help, please?

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

I had the same problem earlier today, I was trying to set my server up for the first time on the same pc I was playing on. I got it working with some help from another site.

 

My main problem was I forgot to change the info in the server.cfg.

// Server command-line parameters (this section is for documentation only)

// Specify server configuration file (this file)
+set sv_config "server.cfg" (default "server.cfg")

// Specify server visibility (1 = LAN, 2 = Internet (default) )
+set dedicated 2

// Open game port (Steam-visible server game port)
+set net_queryPort 27015

// Secure game port
+set net_port 27016

// Steam authentication port
+set net_authPort 8766

// Steam master server (server browser) port
+set net_masterServerPort 27017

 

It won't matter if you have the correct information in the command line b/c it'll call the server.cfg last. Make sure your .cfg file has been changed to the correct ports for IW5M as they are different from Steam ports.

 

Also, if you want to connect via the rcon from in-game, I was told this earlier and it helped me connect for the first time.

It's the local address you need to use, not the loopback, like instead of 127.0.0.1 use: 192.168.XXX.XXX (IPv4)

 

Do that and add the port:27015 and you should connect.

 

You can find your IPv4 from cmd/ipconfig. Hope this helps you, worked for me.

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

@slows13:

Thanks for the reply. Actually, I had those lines commented in the server.cfg, and specified as command line arguments. Following your post, I uncommented them and changed them to exactly match what you've posted. And then connected via my local IP, that is, 192.168.2.2. Sadly, still the same result.

 

However, there is something I discovered.

 

IW5M_Server claims that it's using these ports:

 

]net_port

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

Domain is any integer from 0 to 65535

]net_queryPort

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

Domain is any integer from 0 to 65535

]net_masterServerPort

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

Domain is any integer from 0 to 65535

 

But it doesn't seem that the port 27016 is actually being used.

 

UnFk6.png

 

None of the ports are at "LISTENING" state either. Is that normal?

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

@acewing

Don't know bout the listening ports issue.

Maybe try 27016 after you IPv4? Dunno really, just know what worked for me.

My command line only has this tho:

+set sv_config "server.cfg" +start_map_rotate

Everything else is in the .cfg file.

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

Servers works now?or what?

Опубликовано:
IW5M_Server claims that it's using these ports:

 

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

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

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

But it doesn't seem that the port 27016 is actually being used.

All the ports are being used.

To connect to the server, use the net_queryPort (27015)

net_masterServerPort (27017) is used for server listing and rcon.

net_port doesn't really have a use for the client, but you can't run multiple servers if you don't assign each of them a different net_port (the second one will crash on launch).

Also, those commands show up on server.cfg just as a refference (note that they're quoted out be default). Those should be specified on the server's shortcut startup arguments, or those basic connection values may change if another cfg is executed on that server.

Опубликовано:
Servers works now?or what?

Yes, Check server status at s.mufff.in

ty dude :)

Опубликовано:
Servers works now?or what?

Yes, Check server status at s.mufff.in

ty dude :)

i tested s.mufff.in it dont work :(

Опубликовано:
good time of day. tell me please how (where) to configure the server, that you could go in the "observers" i.e. monitor the players. the weapon mode. Sorry for my English

Maybe you should post in your regional forum.

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.