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)<set name="external_dir">@b3/extplugins</set>
Pages: [1]   Go Down
  Print  
Author Topic: <set name="external_dir">@b3/extplugins</set>  (Read 391 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Home user
Gameservers: cod4
Posts: 2
Offline Offline
« on: September 01, 2011, 08:16:36 AM »

Good Morning all!

I have successfully installed Bigbrotherbot 1.7 and after several hours of trial and error, reading the forums.. etc.. etc.. However, I still cannot get the plugins to work. I have installed the software to C:\bigbrotherbot. All of the subdirectories are there including extplugins and subsequent conf directory.

Now here is my question.. I have noticed through reading the forums that some users have the @b3/extplugins set for the "external_dir" value and others have c:\something. Is B3 a directory from an earlier edition of Bigbrotherbot or is it pointing at the B3 database? Is the @symbol as shorthand for the install directory? (since I see it being used later in such things as <plugin name="admin" config="@conf/plugin_admin.xml"/>.

I have been trying for hours to get several plugins to work with no resolve.

For example.. courgette's chatlogger.. I extracted the .py file to extplugins the xml file to the underlying conf directory.. opened the database and imported the chatlog table. Then I edited the b3.xml file.

    <plugin name="status" config="@conf/plugin_status.xml"/>
    <plugin name="welcome" config="@conf/plugin_welcome.xml"/>
    <plugin name="punkbuster" config="@conf/plugin_punkbuster.xml"/>
     <plugin name="chatlogger" config="@extplugins/conf/plugin_chatlogger.xml"/>

ran b3 and it crashes at chatlogger.. (or any other plugin I try no matter load order)

I have tried different variations of the external_dir and config= like c:/bigbrotherbot/extplugins

I've tried different subdirectories like c:\bigbrotherbot\plugins\config.

I would copy my entire b3.xml here and throw the log files to boot. But again everything works until I play with plugins.

Where/What exactly is "external_dir" looking for?

Thanks for any help here.. my head is about to explode...

 
« Last Edit: September 01, 2011, 08:33:32 AM by kd7jeg » 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 #1 on: September 01, 2011, 08:59:36 AM »

Hi there,
Some info:
@b3 : the folder where B3 code is installed in
So @b3 is shortcode for c:\bigbrotherbot on your system.

Now, @b3/extplugins in the field of <set name="external_dir">@b3/extplugins</set> would point to the extplugins folder at c:\bigbrotherbot\extplugins

Now, to answer why your bot won't start... simple change...
<plugin name="chatlogger" config="@extplugins/conf/plugin_chatlogger.xml"/>
Change to:
<plugin name="chatlogger" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>

Let me know if that helps and if you have questions I didn't answer
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
Newbie
*
OS: Windows
Type: Home user
Gameservers: cod4
Posts: 2
Offline Offline
« Reply #2 on: September 02, 2011, 07:03:30 AM »

Worked great.. now I want to start a 2nd server on the same machine..

It is kinda working.. but I'll read some more here and post another help if I can't figure it out.

Right now.. the bot is talking to both games but not taking any !commands from either server.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal