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

Featured Replies

Опубликовано:
Besides opening the ports on teh firewalls, you have to FORWARD them on the router.

i did! my friends still cant join my server!

I can only tell you what you need to do. I can't open and forward the ports for you.

If your friends can't join, either you didn't forward the ports on the router, or you didn't allow it on some firewall.

It can also happen that you have some router like Thomson TG series, in wich you just cannot allow stuff through it's firewall due to it's bugged firmware.

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

Top Posters In This Topic

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

PROBLEM: What ports do I forward?

 

Alright, I need to know the ports. I know there are four of them but what's the opening, ending ports and the protocols.

 

1

OPENING:

ENDING:

UDP/TCP:

LAN IP Address:

2

OPENING:

ENDING:

UDP/TCP:

LAN IP Address:

3

OPENING:

ENDING:

UDP/TCP:

LAN IP Address:

4

OPENING:

ENDING:

UDP/TCP:

LAN IP Address:

 

Then with these ports, which ones do I enter into server.cfg and server shortcut?

THNX :D

Опубликовано:
Nope, where is game_mp and games_mp i do it all right

If it's writting into game_mp.log but b3 is reading from games_mp.log, then it won't work.

Check the g_log command on server.cfg and make sure that it's writting to the file that's defined to be retrieved on b3.xml

And no, it has nothing to do with your database (according to your last posted b3.log)

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

My b3.xml is being stupid, anyone able to fix it?

 

b3.xml : http://pastebin.com/a0QMSZY9

 

b3.log : http://pastebin.com/pf8DAQJt

 

*NOTE* The password for my RCON & DB are FAKE :) Everything else is real :D

Опубликовано:
It's not connecting to the database.

Either MySQL service didn't start or MySQL password or database name is not properly set on b3.xml

 

Would my password be what I use to open MySQL? If it is, that's what I'm using & I don't understand it.. I've had alot of issues with IW5M & servers since I installed Windows 7 -_- & should I be using "root" or something else?

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

Yo, I'm setting up a home dedi and I'd like to know two things :

 

- How can I be sure to have the map rotation I want (meaning map_x will follow map_y...etc), this weight thingy is too random for me :?

 

- How can I randomize game mod between 3 games mods (I wan to randomize between TDM/TDEF/CTF) ?

 

 

I'd be glad if you answer :D

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

You can't really define a rotation on IW5M. It seems random, and it is random :P

As for defining the next gametype, you have to assign .dsr files to the playlist entries. So, it changes gametype whenever it loads a different gametype .dsr

Example:

 

*,TDM_default,1
*,TDEF_default,1
*,CTF_default,1

This would achieve what you want for gametype randomize

 

 

@|xTw|Gladiator: I need a better description of your problem (console output before the crash, for example)

Опубликовано:
You can't really define a rotation on IW5M. It seems random, and it is random :P

As for defining the next gametype, you have to assign .dsr files to the playlist entries. So, it changes gametype whenever it loads a different gametype .dsr

Example:

 

*,TDM_default,1
*,TDEF_default,1
*,CTF_default,1

This would achieve what you want for gametype randomize

 

 

@|xTw|Gladiator: I need a better description of your problem (console output before the crash, for example)

 

Thank you,I dont have that problem anymore.:D Now the new problem is My server ping is too high for me..(that's kinda strange.But clients' ping is good).And when I open b3_run.py.. It says "Activating log:b3.log" after 5 or 8 sec it get closed...Any help?? :(

Опубликовано:
You can't really define a rotation on IW5M. It seems random, and it is random :P

As for defining the next gametype, you have to assign .dsr files to the playlist entries. So, it changes gametype whenever it loads a different gametype .dsr

Example:

 

*,TDM_default,1
*,TDEF_default,1
*,CTF_default,1

This would achieve what you want for gametype randomize

 

 

The problem is that I don't want my server to run all maps as I find lot of them aren't fun to play so I made a kind of selection, maybe there's a way to restrict the randomizer to the maps we want :?

 

Anyway, thanks for the help :D

Опубликовано:
The problem is that I don't want my server to run all maps as I find lot of them aren't fun to play so I made a kind of selection, maybe there's a way to restrict the randomizer to the maps we want :?

You can create up to 16 entries on the playlist. Just replace the * with a map's name and fo that to up to 16 maps that you select to run on your server.

Since revision 22, there's also another trick. You can now execute config files on a running server. So, you can have several copies of the same cfg, except each cfg launches a playlist.

Let's say that you make 3 copies of the cfg. Name it tdm.cfg, ffa.cfg and ctf.cfg

tdm.cfg launches tdm.dspl, while ffa.cfg launches ffa.dspl, and ctf.cfg launches ctf.dspl

While your server is running a TeamDeathmatch game, you execute ctf.cfg. And when the map rotates, it will load a map from ctf.dspl, wich you configured with ctf DSRs.

 

With enough skill, you can actually create a rotation ;) You create a b3 plugin that sends commands with timeout intervals. So, the plugin is programmed to send "exec dometdm.cfg". That cfg calls a rotation that only has a line with mp_dome and a tdm dsr, configured for a 10 minutes match. So, the b3 plugin times out for 10 minutes, then sends "exec carbonctf.cfg". When the map rotates, it will launch carbonctf.dspl (and you can figure what that dspl contains, and what commands to include next) ;)

Опубликовано:
The problem is that I don't want my server to run all maps as I find lot of them aren't fun to play so I made a kind of selection, maybe there's a way to restrict the randomizer to the maps we want :?

You can create up to 16 entries on the playlist. Just replace the * with a map's name and fo that to up to 16 maps that you select to run on your server.

Since revision 22, there's also another trick. You can now execute config files on a running server. So, you can have several copies of the same cfg, except each cfg launches a playlist.

Let's say that you make 3 copies of the cfg. Name it tdm.cfg, ffa.cfg and ctf.cfg

tdm.cfg launches tdm.dspl, while ffa.cfg launches ffa.dspl, and ctf.cfg launches ctf.dspl

While your server is running a TeamDeathmatch game, you execute ctf.cfg. And when the map rotates, it will load a map from ctf.dspl, wich you configured with ctf DSRs.

 

With enough skill, you can actually create a rotation ;) You create a b3 plugin that sends commands with timeout intervals. So, the plugin is programmed to send "exec dometdm.cfg". That cfg calls a rotation that only has a line with mp_dome and a tdm dsr, configured for a 10 minutes match. So, the b3 plugin times out for 10 minutes, then sends "exec carbonctf.cfg". When the map rotates, it will launch carbonctf.dspl (and you can figure what that dspl contains, and what commands to include next) ;)

 

WoW seems very tricky, I'm just begining I don't even have installed b3 yet but I guess i might try, I'm switiching to windows 8 this week-end but maybe I'll try to work on such stuff once it'll all be installed, it seems quite interesting and as I'm begining with programation these times I might try :D

 

Still I think puting some restrictions on the randomizer might be an easier solution...

Опубликовано:
when I open b3_run.py.. It says "Activating log:b3.log" after 5 or 8 sec it get closed...Any help?? :(

Post here the content of b3.log

If b3.log isn't being created, then the crash is happening because you either made a mistake setting b3.log path, or that folder is set as "read-only" and b3.log is not being created.

(I'm assuming that you didn't put cod8.py on parsers folder, but let's see the log)

Опубликовано:
WoW seems very tricky, I'm just begining I don't even have installed b3 yet but I guess i might try, I'm switiching to windows 8 this week-end but maybe I'll try to work on such stuff once it'll all be installed, it seems quite interesting and as I'm begining with programation these times I might try :D

I would be glad to help you doing that plugin ;)

(I'm also quite busy this weekend, but I'll have time from Monday on)

Опубликовано:
when I open b3_run.py.. It says "Activating log:b3.log" after 5 or 8 sec it get closed...Any help?? :(

Post here the content of b3.log

If b3.log isn't being created, then the crash is happening because you either made a mistake setting b3.log path, or that folder is set as "read-only" and b3.log is not being created.

(I'm assuming that you didn't put cod8.py on parsers folder, but let's see the log)

 

121013 21:31:11	BOT    	'www.bigbrotherbot.net (b3) v1.8.2 [nt] [seda]'
121013 21:31:11	BOT    	'Python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]'
121013 21:31:11	BOT    	'Default encoding: ascii'
121013 21:31:11	BOT    	'Starting Cod8Parser v0.1 for server 127.0.0.1:27017'
121013 21:31:11	BOT    	'--------------------------------------------'
121013 21:31:11	BOT    	'Attempting to connect to database mysql://|xTw|Gladiator:******@192.168.1.1/b3...'
121013 21:31:32	ERROR	'Database connection failed, working in remote mode: (2003, "Can\'t connect to MySQL server on \'192.168.1.1\' (10060)") - [(\'D:\\\\Call of Duty- Modern Warfare 3\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 239, \'connect\', \'self.db = self.getConnection()\'), (\'D:\\\\Call of Duty- Modern Warfare 3\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 184, \'getConnection\', \'use_unicode = True)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\__init__.py\', 81, \'Connect\', \'return Connection(*args, **kwargs)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\connections.py\', 187, \'__init__\', \'super(Connection, self).__init__(*args, **kwargs2)\')]'
121013 21:31:32	BOT    	'Game log D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'
121013 21:31:32	BOT    	'Starting bot reading file D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'
121013 21:31:32	ERROR	'Error reading file D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'
121013 21:31:32	ERROR	"STDERR 'Error reading file D:\\\\Call of Duty-Moder Warfare 3\\\\scripts\\\\games_mp.log\\n'"
121013 21:31:32	ERROR	"STDERR '\\n'"

Опубликовано:
when I open b3_run.py.. It says "Activating log:b3.log" after 5 or 8 sec it get closed...Any help?? :(

Post here the content of b3.log

If b3.log isn't being created, then the crash is happening because you either made a mistake setting b3.log path, or that folder is set as "read-only" and b3.log is not being created.

(I'm assuming that you didn't put cod8.py on parsers folder, but let's see the log)

 

121013 21:31:11 BOT 'www.bigbrotherbot.net (b3) v1.8.2 [nt] [seda]'

121013 21:31:11 BOT 'Python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]'

121013 21:31:11 BOT 'Default encoding: ascii'

121013 21:31:11 BOT 'Starting Cod8Parser v0.1 for server 127.0.0.1:27017'

121013 21:31:11 BOT '--------------------------------------------'

121013 21:31:11 BOT 'Attempting to connect to database mysql://|xTw|Gladiator:******@192.168.1.1/b3...'

121013 21:31:32 ERROR 'Database connection failed, working in remote mode: (2003, "Can\'t connect to MySQL server on \'192.168.1.1\' (10060)") - [(\'D:\\\\Call of Duty- IW5\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 239, \'connect\', \'self.db = self.getConnection()\'), (\'D:\\\\Call of Duty- IW5\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 184, \'getConnection\', \'use_unicode = True)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\__init__.py\', 81, \'Connect\', \'return Connection(*args, **kwargs)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\connections.py\', 187, \'__init__\', \'super(Connection, self).__init__(*args, **kwargs2)\')]'

121013 21:31:32 BOT 'Game log D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'

121013 21:31:32 BOT 'Starting bot reading file D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'

121013 21:31:32 ERROR 'Error reading file D:\\Call of Duty-Moder Warfare 3\\scripts\\games_mp.log'

121013 21:31:32 ERROR "STDERR 'Error reading file D:\\\\Call of Duty-Moder Warfare 3\\\\scripts\\\\games_mp.log\\n'"

121013 21:31:32 ERROR "STDERR '\\n'"

no database created

make one here http://www.wampserver.com/en/

Опубликовано:
121013 21:31:11 BOT 'Starting Cod8Parser v0.1 for server 127.0.0.1:27017'

121013 21:31:11 BOT '--------------------------------------------'

121013 21:31:11 BOT 'Attempting to connect to database mysql://|xTw|Gladiator:******@192.168.1.1/b3...'

121013 21:31:32 ERROR 'Database connection failed, working in remote mode: (2003, "Can\'t connect to MySQL server on \'192.168.1.1\' (10060)") - [(\'D:\\\\Call of Duty- IW5\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 239, \'connect\', \'self.db = self.getConnection()\'), (\'D:\\\\Call of Duty- IW5\\\\b3-1.8.2\\\\b3\\\\storage\\\\database.py\', 184, \'getConnection\', \'use_unicode = True)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\__init__.py\', 81, \'Connect\', \'return Connection(*args, **kwargs)\'), (\'C:\\\\Python27\\\\lib\\\\site-packages\\\\MySQLdb\\\\connections.py\', 187, \'__init__\', \'super(Connection, self).__init__(*args, **kwargs2)\')]'

Either MySQL login in not properly configured on b3.xml, or you didn't create the database. Login on phpmyadmin to check that. Also, make sure that "Gladiator" account has permissions to access b3 database.

Also, the parser should point to the local IP and MySQL connection can point to localhost. You made the opposite :P

 

mysql://Gladiator:MySQLpassword@localhost/b3

 

192.168.1.1

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

I need with the default.dspl it won't load up the maps I want to use..... :o

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

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.