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

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

Hello all,

 

I installed and started a server with this tutorial. But I guess I have a problem with B3.

 

You can see B3 logs from here: http://pastie.org/private/rxfvcemr4g9wzjtgzy0lw

 

Can someone tell me what is wrong and what can I do about it?

 

Thanks!

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

 

I installed and started a server with this tutorial. But I guess I have a problem with B3.

 

You can see B3 logs from here: http://pastie.org/private/rxfvcemr4g9wzjtgzy0lw

 

Can someone tell me what is wrong and what can I do about it?

 

Thanks!

 

Can you post the b3.xml? DonВґt forget to delete the RCon PW...

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

 

I installed and started a server with this tutorial. But I guess I have a problem with B3.

 

You can see B3 logs from here: http://pastie.org/private/rxfvcemr4g9wzjtgzy0lw

 

Can someone tell me what is wrong and what can I do about it?

 

Thanks!

 

Can you post the b3.xml? DonВґt forget to delete the RCon PW...

 

Thanks for quick response.

 

You can find it from here: http://pastie.org/private/mhhfehkzp31n1j7gn8z1a

 

It is based on example configuration located in the first post.

Опубликовано:
I have a problem with B3.

You can see B3 logs from here: http://pastie.org/private/rxfvcemr4g9wzjtgzy0lw

The problem is that you didn't import b3 tables into the database.

Login on phpmyadmin, browse to the database that you created for b3, then import the tables.

Do it by importing b3.sql, wich should be located on "C:\b3\b3\sql\" folder.

Опубликовано:
I have a problem with B3.

You can see B3 logs from here: http://pastie.org/private/rxfvcemr4g9wzjtgzy0lw

The problem is that you didn't import b3 tables into the database.

Login on phpmyadmin, browse to the database that you created for b3, then import the tables.

Do it by importing b3.sql, wich should be located on "C:\b3\b3\sql\" folder.

 

Thank you! I think it is solved.

 

Starting www.bigbrotherbot.net (b3) v1.8.2 [nt] [seda]

 

Using config file: b3\conf\b3.xml

checking for updates...

latest B3 stable version is 1.8.2

...no update available.

Using external plugin directory: F:\4d1test\b3\b3\extplugins

Activating log : F:\4d1test\scripts\b3.log

Connecting to DB : OK

Using Gamelog : F:\4d1test\scripts\games_mp.log

Testing RCON : OK

Loading Events : 34 events loaded

Loading Plugins : .......... (10)

Starting Plugins : .......... (10)

Startup Complete : B3 is running! Let's get to work!

 

(If you run into problems, check F:\4d1test\scripts\b3.log in the B3 root direct

ory for detailed log info)

 

Now as I understand, I should start this when I started my server right? And also if I start more servers with same IW5 installation (with different cfgs) should I start it over and over again or just one instance is enough?

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

Yes, you need to start b3 every time, AFTER you start the server.

As for multiple server, you'll need separate game logs and separate xml files for b3, for each server.

Set the command g_log on each server's cfg to create multiple server logs.

Опубликовано:
Yes, you need to start b3 every time, AFTER you start the server.

As for multiple server, you'll need separate game logs and separate xml files for b3, for each server.

Set the command g_log on each server's cfg to create multiple server logs.

 

Thank you for your help.

 

Last question, I want to get player number, player list, map information etc. and publish it on my web page. Are there any way to do it? I'm allready trying to understand InfinityScript library. But I would know your suggestions about that issue.

Опубликовано:
You can try this -> viewtopic.php?f=7&t=17391

 

I think it is not reliable. Also it is not working, just tried.

 

I should understand this InfinityScript thing. If I can find necessary objects and DVARs it will be work.

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

O Meu Ta Dando Esse Erro Ai Alguem Ajuda D;

Error: Dedicated Server Config "set server.cfg" could not be read

Could not load map rotation "". Shutting down

Опубликовано:
how to make "Hardcore Ricochet" ?

Sadly, you can't make "Hardcore Ricochet"

Probably in an attempt to further limit dedicated servers, (long live their "money sucking promising" consoles matchmaking system) ATVI decided to remove reflected and shared ff types in iw5 dedicated servers.

To host a "Hardcore Ricochet" game, you would have to set this on your dsr:

gameOpt commonOption.friendlyFire "2"

But if you look at the stock DSRs, you'll see this:

gameOpt commonOption.friendlyFire "0" // [ 0, 1 ]

It only accepts 0 or 1 (off or on). I tried setting it to 2 (reflected) and this is the server's console output for it:

Error: Invalid value "2" for commonOption.friendlyFire

Error: Using Default "0" for "2"

Опубликовано:
how to make "Hardcore Ricochet" ?

Sadly, you can't make "Hardcore Ricochet"

Probably in an attempt to further limit dedicated servers, (long live their "money sucking promising" consoles matchmaking system) ATVI decided to remove reflected and shared ff types in iw5 dedicated servers.

To host a "Hardcore Ricochet" game, you would have to set this on your dsr:

gameOpt commonOption.friendlyFire "2"

But if you look at the stock DSRs, you'll see this:

gameOpt commonOption.friendlyFire "0" // [ 0, 1 ]

It only accepts 0 or 1 (off or on). I tried setting it to 2 (reflected) and this is the server's console output for it:

Error: Invalid value "2" for commonOption.friendlyFire

Error: Using Default "0" for "2"

:(:(:(

possible to make modifications on the model?

http://www.itsmods.com/forum/Thread-Rel ... ochet.html

Опубликовано:
FLuX":1mo163il]When I do try and make the shortcut thing, an error pops up saying +set in the target box isnt valid, make sure the path and file name are correct.

Make sure its something like this

C:\Users\Administrator\Desktop\iw5m_server.exe+set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

Also please post your parameter below..

Опубликовано:
FLuX":3trfzs8g]When I do try and make the shortcut thing, an error pops up saying +set in the target box isnt valid, make sure the path and file name are correct.

Make sure its something like this

C:\Users\Administrator\Desktop\iw5m_server.exe+set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

Also please post your parameter below..

This is what is put in the target box

 

"C:\Users\Colin\Desktop\Video Games\IW5M\iw5m_server.exe+set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate"

 

the folder 'IW5M' is actually called that, it wasn't filtered.

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

Between the ..\iw5m_server.exe and the +set net_queryPort.... you need a space.

 

Try this:

C:\Users\Administrator\Desktop\iw5m_server.exe+set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

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

Ah fuck...

I failed...

C:\Users\Administrator\Desktop\iw5m_server.exe +set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

Опубликовано:
FLuX":2kh4kdye]Jesus Christ, I guess it just doesn't wanna work for me >.<

It goes like this though, afaik:

 

"C:\Users\Administrator\Desktop\iw5m_server.exe" +set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

Note the placment of the " "

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.