You are here: Big Brother Bot ForumAdd-OnsInstallers (Moderator: MordyT)How to Set up BigBrotherBot B3 on Debian Linux
Pages: [1] 2   Go Down
  Print  
Author Topic: How to Set up BigBrotherBot B3 on Debian Linux  (Read 8786 times) Bookmark and Share
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« on: April 28, 2010, 07:34:20 AM »

I've recently written a howto for installing B3 on a Debian Linux. I tried to cover all steps from database creation to bot configuration. I guess, that should also work on other debian based systems. I hope it helps especially beginners.

The guide is on my blog here.

If you have questions, you can use this thread.
« Last Edit: June 22, 2010, 01:22:39 AM by Freelander » Logged


B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #1 on: April 28, 2010, 09:31:10 PM »

Quote
Error establishing a database connection
is what I got when I poked the link
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #2 on: April 30, 2010, 05:02:50 AM »

Yep, sorry database server was down. Should be ok now!  Embarrassed
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: April 30, 2010, 05:45:55 AM »

monit is your friend
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #4 on: April 30, 2010, 07:57:48 AM »

I don't have control over the db server. It's my lousy hosting company. But thanks anyway, I didn't know about monit.  Wink
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: Cod4, MW2
Posts: 20
Offline Offline
« Reply #5 on: June 21, 2010, 08:49:26 AM »

Thanks for this tutorial, I followed it some weeks ago when I  first found B3 and installed it on my servers Smiley
But there is a little mistake that any reader can fall for, and I have fallen in it too Tongue
at the beginning of the tutorial you created the database and named it cod4db and later on when you were configuring B3 and you were asked for the database info you typed :
mysql://freelander:MyPAsSwORD@localhost/b3
while it should be
mysql://freelander:MyPAsSwORD@localhost/cod4db
I remember  it drove my crazy because I kept getting connection to DB failure Tongue
« Last Edit: June 21, 2010, 08:54:46 AM by Armani » Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #6 on: June 22, 2010, 12:20:30 AM »

Good Catch! Corrected.

Thanks for the heads up.  Smiley
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 19
Offline Offline
« Reply #7 on: August 06, 2011, 10:54:29 PM »

edit:
thanks for the tuorial
but i have a little problem now
it dosnt recognize !iamgod command Sad
see picture ?
http://www.freeimagehosting.net/ffef7
edit:
game : urban terror
bot version 1.6.1

edit 2 :
found this in my log Sad
Quote
110807 13:35:02   DEBUG   'SELECT * FROM groups WHERE `keyword` = "superadmin" LIMIT 1'
110807 13:35:02   DEBUG   "Storage: getClientsMatching {'&group_bits': 128}"
110807 13:35:02   DEBUG   'AdminPlugin: 1 superadmins found in database'
110807 13:35:02   VERBOSE   'AdminPlugin: SuperAdmin(s) found, no need for !iamgod'
« Last Edit: August 07, 2011, 02:14:19 AM by neil » Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #8 on: August 07, 2011, 10:10:35 AM »

Once you issued the command !iamgod, it's automatically disabled for security.
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 19
Offline Offline
« Reply #9 on: August 07, 2011, 09:14:09 PM »

Once you issued the command !iamgod, it's automatically disabled for security.
no, i am not able to do any commands either ,
look at picture ?
http://www.freeimagehosting.net/969db


edit2:
could it be because my local ip changes everytime i restart my router ?
see picture ?
http://www.freeimagehosting.net/ce400

also to get admin rights i edited the group bits row to 128 of the most recent join,
anything else i might have to edit to get superadmin rights ?
because some commands like !veto ,!slap etc are not recognized Sad
« Last Edit: August 07, 2011, 09:29:22 PM by neil » Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #10 on: August 07, 2011, 10:46:34 PM »

As far as I know, when the server IP changes in Urban Terror, all player guids are changed as well. If that's the case, B3 will not recognise you anymore and that's why you get "insufficient access" message. You will only be able to use commands that unregistered users are allowed to use.

I think the only thing you can do is to have a static IP for your server.
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 19
Offline Offline
« Reply #11 on: August 08, 2011, 12:56:55 AM »

As far as I know, when the server IP changes in Urban Terror, all player guids are changed as well. If that's the case, B3 will not recognise you anymore and that's why you get "insufficient access" message. You will only be able to use commands that unregistered users are allowed to use.

I think the only thing you can do is to have a static IP for your server.
how do i get a static ip for my server ?
something to do with the router ?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #12 on: August 08, 2011, 01:22:59 AM »

it is something to do with your ISP. Some of them gives you only dynamic IPs, others offer you (for free or paid) the choice to have a fixed IP
Logged

Jr. Member
**
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 19
Offline Offline
« Reply #13 on: August 08, 2011, 04:41:02 AM »

it is something to do with your ISP. Some of them gives you only dynamic IPs, others offer you (for free or paid) the choice to have a fixed IP
i live in dubai ,our isp's dosnt give a rats a** about its customers
so im goin to have to re admin myself through the db ?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #14 on: August 08, 2011, 04:53:23 AM »

The way URT works is the "GUID" or the way to ID a person is based off the IP of the server and the QKey of the player. If the IP of the server changes, well then everyones "GUID" changes and B3 doesn't know who is who.

In short, yes, you will have to re-admin yourself, either through !iamgod (you will need to manually enable it) or through the DB.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Tags: Installation 
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal