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

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

Maybe your router is assigning a different internal IP each time that you turn on your computer (one of the major ISPs herein Portugal are giving their clients routers wich do that)

If the internal IP changes, then all your port forwarding goes to garbage and needs to be done again, to the new internal IP.

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

i did all of the above but when i run server Executing server config "server.cfg"

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

Could not load map rotation "". Shutting down

 

MEAN while in my cfg file

// Modern Warfare 3 Server Configuration

 

 

//////////////////////////////////////////////////////////

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

 

// Specify server configuration file (this file)

//+set sv_config "filename" (default "server.cfg")

 

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

//+set dedicated 1

 

// Open game port (Steam-visible server game port)

//+set net_queryPort 27014

 

// Secure game port

//+set net_port 27015

 

// Steam authentication port

//+set net_authPort 8766

 

// Steam master server (server browser) port

//+set net_masterServerPort 27016

 

 

 

//////////////////////////////////////////////////////////

// Server.cfg-configurable settings

 

// log files (untested)

seta g_log "game_mp.log"

 

// Server host name. This should always be set by the server admin.

seta sv_hostname "Modern Warfare 3"

 

// 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"

 

// Maximum number of clients that may connect to this server (range 1-18)

seta sv_maxclients 16

 

// Server password. If set, users will be prompted on join attempt.

seta g_password ""

 

// Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )

seta sv_privateClients 0

 

// Password for the private slots on this server. If set, users will be prompted on join attempt.

// Users providing this password will have access to all slots.

// Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.

seta sv_privatePassword ""

 

// Remote console password. If set, users will have access to a remote console, allowing server administration from a connected client.

seta rcon_password ""

 

// Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )

seta sv_voice 2

 

// Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )

seta g_allowVote 1

 

// Toggle allowing dead players to chat with living players (0 (default) or 1)

seta g_deadChat 0

 

// Time in seconds before the server will kick a user for inactivity (range 0 - 10000)

seta g_inactivity 120

 

// Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)

seta sv_kickBanTime 300

 

// Toggle flood protection (throttling of user commands - should be enabled for non-password-protected Internet servers) (0 or 1 (default))

seta sv_floodProtect 1

Опубликовано:
Maybe your router is assigning a different internal IP each time that you turn on your computer (one of the major ISPs herein Portugal are giving their clients routers wich do that)

If the internal IP changes, then all your port forwarding goes to garbage and needs to be done again, to the new internal IP.

 

this worked thank you very much :D

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

Hey, I Have a problem with my B3. I nstalled it, but when I start it I get the RCon Error. I set the query port in the B3.xml... Ports are forwarded.

 

b3.xml:

<?xml version="1.0"?>



b3
^0(^2b3^0)^7:
%I:%M%p %Z %m/%d/%y
CEST
9
b3.log
cod6
mysql://chenjung:****@localhost/b3


***
27017
176.28.52.170
176.28.52.170
0.33
50
off
C:\Users\Magic\Desktop\FS-MW3\scripts/games_mp.log


html
100
b3_doc.html


stable


$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










 

b3.log:

20917 17:36:00	BOT    	'www.bigbrotherbot.net (b3) v1.8.2 [nt] [seda]'
120917 17:36:00	BOT    	'Python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]'
120917 17:36:00	BOT    	'Default encoding: ascii'
120917 17:36:00	BOT    	'Starting Cod6Parser v0.6 for server 176.28.52.170:27018'
120917 17:36:00	BOT    	'--------------------------------------------'
120917 17:36:00	BOT    	'Attempting to connect to database mysql://chenjung:******@localhost/b3...'
120917 17:36:00	BOT    	'Connected to database [1 times]'
120917 17:36:00	BOT    	'Game log C:\\Users\\Magic\\Desktop\\FS-MW3\\scripts/games_mp.log'
120917 17:36:00	BOT    	'Starting bot reading file C:\\Users\\Magic\\Desktop\\FS-MW3\\scripts\\games_mp.log'
120917 17:36:00	BOT    	'rcon status Cache Expire Time: [2 sec] Type: [memory]'
120917 17:36:00	VERBOSE	"RCON sending (176.28.52.170:27017) 'status'"
120917 17:36:00	WARNING	"RCON: ERROR reading: error(10054, 'An existing connection was forcibly closed by the remote host')"
120917 17:36:00	VERBOSE	"RCON: retry sending 'status' (1/5)..."
120917 17:36:00	WARNING	"RCON: ERROR reading: error(10054, 'An existing connection was forcibly closed by the remote host')"
120917 17:36:00	VERBOSE	"RCON: retry sending 'status' (2/5)..."
120917 17:36:00	WARNING	"RCON: ERROR reading: error(10054, 'An existing connection was forcibly closed by the remote host')"
120917 17:36:00	VERBOSE	"RCON: retry sending 'status' (3/5)..."
120917 17:36:00	WARNING	"RCON: ERROR reading: error(10054, 'An existing connection was forcibly closed by the remote host')"
120917 17:36:00	VERBOSE	"RCON: retry sending 'status' (4/5)..."
120917 17:36:00	WARNING	"RCON: ERROR reading: error(10054, 'An existing connection was forcibly closed by the remote host')"
120917 17:36:00	ERROR	"RCON: too much tries. Abording ('status')"
120917 17:36:00	DEBUG	'RCON: Did not send any data'

 

Parameters:

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

 

Thanks in advance

MAGIC

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

And what does it say on those lines? (copy and paste here)

It says:

 

Welcome to IW5M r21.

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 5 map entries

Loading DSR "TDEF_default.dsr"...

Loading Succeeded for DSR "TDEF_default.dsr"

-----------------------------------

Spawning map: mp_bootleg, gametype tdef

 

And then iw5m_server.exe has stopped working

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

And what does it say on those lines? (copy and paste here)

It says:

 

Welcome to IW5M r21.

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 5 map entries

Loading DSR "TDEF_default.dsr"...

Loading Succeeded for DSR "TDEF_default.dsr"

-----------------------------------

Spawning map: mp_bootleg, gametype tdef

 

And then iw5m_server.exe has stopped working

 

So>?

Опубликовано:
In theory, using the same db might work... in practice, you better not, or you'll mess weapon and map entries all over. It's ok to use the same db to all IW4M or to all IW5M servers. But better not mix games.

 

Ok thanks. I will create a new DB.

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

The ports that you are trying to use are not available. Either another service is using those, or your router doesn't allow those ports to be opened.

 

You can try something. Open the server's folder and double click iw5m_server.exe

After it loads the cfg, type this command on the console

start_map_rotate

You'll see that the server will now run, but on random ports, wich are not forwarded.

If there's another service using those ports, just choose some other ports for that server. But if your router doesn't allow you to open the ports, then you got no chance to host a server at your home.

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

The ports that you are trying to use are not available. Either another service is using those, or your router doesn't allow those ports to be opened.

 

You can try something. Open the server's folder and double click iw5m_server.exe

After it loads the cfg, type this command on the console

start_map_rotate

You'll see that the server will now run, but on random ports, wich are not forwarded.

If there's another service using those ports, just choose some other ports for that server. But if your router doesn't allow you to open the ports, then you got no chance to host a server at your home.

They are forwarded

Also I tried using the iw5m_server.exe and same problem appears

 

Btw: I'm not using the steam version, If that matters

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.