- Ответы 81
- Просмотры 11,2k
- Created
- Последний ответ
Top Posters In This Topic
-
-Z3R0-LuisD 11 posts
-
Paulofonta 10 posts
-
Powerhalo 9 posts
-
TempTer 4 posts
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
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?
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\config\"
Now open b3.xml with some text editor (notepad++ is great for it) and change the parser.
Where it says:
cod6
change to:
cod8
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