Sign in to follow this  
Sebastian

Can Someone pls share compiled version of B3?

Recommended Posts

Can Someone pls share a Windows compiled version of B3? with the Cod4x parser cause I cant Compile anything every time I do try all I get is errors

Share this post


Link to post
Share on other sites

setting up b3 to work with cod4x

 I started with a working b3 and cod4 server before updating the b3 and to cod4x

(This is not on how to compile the b3 since I could never do that)

I run both b3 and the cod4x server on a windows 7 enterprise version computer.
please do not ask about other operating systems because I have no idea on them.

Well I started by using the windows version of b3 but soon found I could not use the cod4x.py plugin
since the windows version does not contain a plugins directory.
So I had to switch to

https://forum.bigbrotherbot.net/downloads/?cat=3

B3 Python Package
Platforms : Windows / Linux / Mac
Requirements : python, python-mysqldb, a mysql database
This is the most common way to install B3. You need to have python installed on your system.

I downloaded the above which contained b3 version 1.9.2

I then downloaded python version 2.7.10 and installed it on my system

https://www.python.org/downloads/release/python-2710/

I tested to see if it was working by dropping to a command prompt and typing python
it showed the version running so I knew it was working I then typed control z to exit python.


I then installed b3 by unzipping it in d:\b3-1.9.2 and used my old "b3.xml" since it already had all the setting I needed and would need little adjusting.
If you want to regenerate b3.xml you can invoke the setup procedure with the
command : b3_run -s b3.xml

I then made a b3start.bat file and installed it in the main b3 directory (mine is d:\b3-1.9.2) with this in it.

b3_run.py -c /b3-1.9.2/b3/conf/b3.xml

once I saw that it was working (the b3 window run up)
I shut it down and put the cod4x.py parser in the parsers directory

I then changed the parser in the b3.xml
<set name="parser">cod4x</set>

I next edited the cod4x.py by changing the guid length to _guidLength = 18

//server setup
in my cod4x config file I added these lines

loadplugin "b3hide"
set b3Prefix "!"
set b3Hide "1"
b3HideLvl "24"
loadplugin simplebanlist
//end server setup

Please note I also used the auth.py plugin
<plugin name="auth" config="d:\b3-1.9.2/b3/extplugins/conf/plugin_auth.xml"/>

get it here https://gitlab.com/msgaming-pub/b3plugin_auth

put the auth.py in the b3 extplugins directory and the
plugin_auth.xml in the extplugins/conf directory


I then started the server and b3 and entered the server to test it and all worked as required
hopefully this will help others.
Edited by wkuzma

Share this post


Link to post
Share on other sites

Well I tried that aswell but I didnt get it to work but now I think that its because I was using Python version 2.7.14 instead of Python version 2.7.10

But after uninstalling Python version 2.7.14 and installed Python version 2.7.10 and now I got it running fine and thanks for the bat file for B3 its alot more simple than opening command prompt and going to where b3 is installed

 

Please note I thought that the latest version of B3 would run 2.7.14 version of python I was wrong it might still be python 2.7.10 I wont know for sure until a test is preformed for now I am happy to have gotten B3 running even if it is 1.9.2

 

Thanks

Share this post


Link to post
Share on other sites

Quick question guys:

1) Quick question. How to make this file? I feel I'm missing something really simple lol.

"I then made a b3start.bat file and installed it in the main b3 directory (mine is d:\b3-1.9.2) with this in it.

b3_run.py -c /b3-1.9.2/b3/conf/b3.xml


2)  where u get the cod4x.py parser?
once I saw that it was working (the b3 window run up)
I shut it down and put the cod4x.py parser in the parsers directory"

 

 

Share this post


Link to post
Share on other sites
23 minutes ago, winter said:

Quick question guys:

1) Quick question. How to make this file? I feel I'm missing something really simple lol.

"I then made a b3start.bat file and installed it in the main b3 directory (mine is d:\b3-1.9.2) with this in it.

b3_run.py -c /b3-1.9.2/b3/conf/b3.xml

 

 

 

create a textfile put the said content inside it and rename it. on windows you have to enable file extensions for known types for that.

Share this post


Link to post
Share on other sites
1 hour ago, winter said:

2)  where u get the cod4x.py parser?
once I saw that it was working (the b3 window run up)
I shut it down and put the cod4x.py parser in the parsers directory"

https://github.com/ph03n1x9000/CoD4x-parser

 

don't forget this

I next edited the cod4x.py by changing the guid length to _guidLength = 18

use any good text editor

Edited by wkuzma

Share this post


Link to post
Share on other sites

Thanks guys. I would try both and let you all know how it works out!

 

And how to check if legacy mode is enabled or disabled?

Edited by winter

Share this post


Link to post
Share on other sites

I followed everything step by step and b3 ran and says it was online. However, when I use a command in game eg !help or !b3 nothing happens. Ive been trying to get it working for days and on the verge of giving up here :/

Share this post


Link to post
Share on other sites
4 hours ago, winter said:

I followed everything step by step and b3 ran and says it was online. However, when I use a command in game eg !help or !b3 nothing happens. Ive been trying to get it working for days and on the verge of giving up here :/

I would start by commenting out the loadplugin b3hide and see if you have the commands

if not check your rcon password

also check to see if the b3.mxl is pointing to the game_mp,log

this is my example for you on my setup

<set name="game_log">d:\Activision\cod4x2\mods\modernpaintball\games_mp.log</set>

also look in the b3.log for any errors

Edited by wkuzma

Share this post


Link to post
Share on other sites
On 9/26/2017 at 7:20 PM, wkuzma said:

 

Thanks everyone. I managed b3(1.9.2) working and setup correct;y. However, i was trying to setup b3 1.10.10 to work but Im getting this problem when I launch it: I even ran the command "pip install -r requirements.txt" and it says everything is met. Any ideas?

Traceback (most recent call last):
  File "D:\aaa\big-brother-bot-1.10.10\b3_run.py", line 36, in <module>
    import b3.run
  File "D:\aaa\big-brother-bot-1.10.10\b3\__init__.py", line 369, in <module>
    from b3.update import checkUpdate
  File "D:\aaa\big-brother-bot-1.10.10\b3\update.py", line 358, in <module>
    from b3.parser import StubParser
  File "D:\aaa\big-brother-bot-1.10.10\b3\parser.py", line 204, in <module>
    import dateutil.tz
ImportError: No module named dateutil.tz

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this