In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)B3 Installation Issue
Pages: [1]   Go Down
  Print  
Author Topic: B3 Installation Issue  (Read 716 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« on: October 24, 2010, 04:19:18 PM »

I have a webserver (linux) with databases and python installed.  I have a rented game server with CoD4.

I go through the steps to install B3.  Few issues:

(1) There is no B3.xml in the linux distribution of B3, so I assumed the b3.distribution.xml was the right file.
(2) I change all the settings in there, and run b3_run.py.  I get an error
Code:
# ./b3_run.py
Traceback (most recent call last):
  File "./b3_run.py", line 23, in ?
    import b3.run
ImportError: No module named b3.run

I've looked online and on these forums, but haven't seen anything on this error.  Its probably here somewhere, but I've missed it.  I'm no pro at python, but I did look in b3_run.py and its calling b3.run.  Where is b3.run?  I cannot find it in the installation anywhere.

Help please =/
Logged

Beta Testers
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 3 CoD4, 1 MoH, 1 BC2, and 2 BO
Posts: 158
Offline Offline
WWW
« Reply #1 on: October 24, 2010, 06:54:30 PM »

I doubt this will be of help to you since I use the windows installer version. However when I tried using the source version, b3_run was in the main install folder. Don't know how much different the Linux version is.
You can edit the distribution to work for you, but you have to rename it 'b3.xml' and it has to be configured properly to your database, your game hosts ftp address, and your games IP, rcon password, and rcon port.
« Last Edit: October 24, 2010, 06:59:18 PM by foxinabox » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: October 24, 2010, 10:11:29 PM »

make a copy of b3.distribution.xml and call it b3.xml
what is the version of B3 you downloaded ?
Logged

Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« Reply #3 on: October 25, 2010, 02:42:32 AM »

1.3.3
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #4 on: October 25, 2010, 03:12:59 AM »

do you have the same issue with B3 v1.4.0 ?
Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #5 on: October 25, 2010, 05:01:44 AM »

Are you able to post a screenshot of your b3 root folder?
Logged
Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« Reply #6 on: October 25, 2010, 07:45:48 AM »

do you have the same issue with B3 v1.4.0 ?
I'm assuming this is new since that same link gave me 1.3.3 yesterday =/

I'll try it tonight and let you know.
Logged
Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« Reply #7 on: October 25, 2010, 08:33:28 AM »

Update: that seemed to work.

Its not erroring out at that point anymore, but its not connecting to the database.

Code:
BOT    Attempting to connect to database mysql://*prefix*_b3cod:******@localhost/cod4db
101025 11:18:29 ERROR Database connection failed

Code:
<settings name="b3">
<set name="parser">cod4</set>
<set name="database">mysql://b3cod:**pass**@localhost/cod4db</set>
<set name="bot_name">b3</set>
<set name="bot_prefix">^0(^2b3^0)^7:</set>
<set name="time_format">%I:%M%p %Z %m/%d/%y</set>
<set name="time_zone">EST</set>
<set name="log_level">9</set>
<set name="logfile">b3.log</set>
</settings>

=/ Not sure what's wrong with it.  Should I include the db prefix for the table and the database? 
Logged
Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« Reply #8 on: October 25, 2010, 08:42:57 AM »

Okay, I answered my own question, now I get more errors.

Code:
Traceback (most recent call last):
...lines....
AttributeError: 'module' object has no attribute 'SEEK_END'

trying to update python right now.  Hopefully this will be the last problem.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #9 on: October 25, 2010, 08:54:47 AM »

I'm assuming this is new since that same link gave me 1.3.3 yesterday =/
which link ?

Quote
Traceback (most recent call last):
...lines....
AttributeError: 'module' object has no attribute 'SEEK_END'
you need at least python 2.5
Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #10 on: October 25, 2010, 09:00:32 AM »

=/ Not sure what's wrong with it.  Should I include the db prefix for the table and the database? 

Yes, you need the prefix. For example, if your database name is jimbo_b3database, then you have to put the whole thing. Same with the DB username.
Logged
Newbie
*
OS: Linux
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 6
Offline Offline
« Reply #11 on: October 25, 2010, 09:24:07 AM »

which link ?
you need at least python 2.5
I swear I clicked that same link.  Maybe I found it through another link or something... not sure.  I do have the 1.3.3 download as my last download, and I've only been on this site for 2 days.  So not sure where I got it lol.

Yeah, upgrading python soon.

Yes, you need the prefix. For example, if your database name is jimbo_b3database, then you have to put the whole thing. Same with the DB username.
Yeah, got that part.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal