Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugin Releases! (Moderator: MordyT)PowerAdmin for BFBC2
Pages: [1] 2   Go Down
  Print  
Author Topic: PowerAdmin for BFBC2  (Read 3464 times) Bookmark and Share
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« on: April 27, 2010, 04:55:19 AM »

Description:

Adds powerful new commands to control players and server environment for BFBC2

Installation
Unzip to your extplugins folder

Conditions of Use:
You may not use this plugin for ANY illegal activity, this includes: running on cracked servers, illegal messages.


Download : Latest version is listed under Downloads, 3rd Party Plugins, BFBC2
« Last Edit: April 27, 2010, 05:06:20 AM by spacepig » Logged


Jr. Member
**
Posts: 23
Offline Offline
« Reply #1 on: April 27, 2010, 07:03:06 AM »

YOU DA MAN !!!

 Kiss
Logged
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #2 on: April 27, 2010, 07:12:50 AM »

Wink Thanks, however, i did the initial mess and courgette and bakes made it actually work without crashing etc lol
Logged

Jr. Member
**
Posts: 23
Offline Offline
« Reply #3 on: April 27, 2010, 07:18:13 AM »

Your all clever people and I owe you all a beer. I owe you a few SpacePig over all the years.
I'm saving up for a large round!!

Thanks again.


PS.
Stay in touch. You know where we are.  Kiss
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #4 on: May 27, 2010, 05:14:26 AM »

Can I change my answer from admin.yell> admin.say?

It is easier to read and less spam.
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: May 27, 2010, 06:49:11 AM »

what answer ?
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #6 on: May 27, 2010, 07:37:48 AM »

Is it possible to change that in the next version of the plugin. And to add subtitles to appear plugin_poweradminbfbc2.xml

Sorry for my English
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: BFBC2
Posts: 21
Offline Offline
« Reply #7 on: June 14, 2010, 12:41:19 PM »

hello yes I have latest version of this plugin from the github src...the !pachangeteam, !pateams and !pateambalance commands do not seem to work correctly.

I like to host Squad Rush and Squad Deathmatch, the command !pachangeteam needs controls to handle squads and att/def teams. Look at proconn "In-Game commands plugin" for a good working example (less buggy than guardian).

!pateams seems to do nothing

!pateambalance actually forced everyone onto one team ;P

I am guessing you know of these bugs, just letting you know I am willing to test any new scripts. Currently i am running b3 and proconn just so i can move players around squads/teams efficiently.


...i hate redundancies. Cheers for your work, let me know if i can help.

My setup: Windows 7 + xampp (apache/mysql) + py2.5 + mysql_py (running error free)
« Last Edit: June 14, 2010, 03:04:57 PM by garbitos » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #8 on: June 14, 2010, 01:44:31 PM »

hi Garbitos,

Thanks for your comments.
We do need people trying out the dev version and providing precise report of what does not work as one would expect (with b3 log)
Logged

Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: BFBC2
Posts: 21
Offline Offline
« Reply #9 on: June 14, 2010, 03:23:46 PM »

Ok I will try to organize and start a new thread because I will list other plugins/core issues as well.

I'll also try to reply here to tidy up this thread...log level = 9?
Logged
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #10 on: June 16, 2010, 06:17:36 AM »

Sorry, it is my bad, i been away for a little while. Back on track now and will solve this (hopefully faster than it takes for the bfbc2 patch)
Logged

Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: BFBC2
Posts: 21
Offline Offline
« Reply #11 on: June 16, 2010, 07:55:41 AM »

I must say this is a very nice little community of coders here at b3. I love a good community of thinkers, you all will be seeing me around here more often.

@Spacepig: Awesome man please tell me how I can help. Wish i knew some pyhton but the language is beyond me at this point. I will try to learn more, time willing.

I am not sure if you can read pure C code but I think the "In Game Command" plugin for ProConn might have some clues on how to handle squads/teams in the diff. bfbc2 gametypes....I am sure you know what you're doing anyway.

I run Squad Deathmatch and Squad Rush servers...finishing off these !pa commands will allow me to just run b3 on my servers and be done with the clunky gui based admin tools like ProConn and Guardian.

Cheers!

p.s. I am online alot and will check here frequently, so let me know if you need bug testing or someone to bounce ideas off of.
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #12 on: September 06, 2010, 08:02:25 PM »

I'm sorry for the noob question here, but how do you get this working? I installed it in my extplugins folder and restarted B3, but the commands don't seem to work. Do I need to edit another file, like the b3.xml or something?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2629
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #13 on: September 08, 2010, 07:26:19 AM »

I'm assuming that you added it to the list of plugins b3 loads in the b3.xml

*Via my HTC EvO 4G*
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: Linux
Type: Renting Server, no B3
Gameservers: CS:S, BFBC2
Posts: 2
Offline Offline
« Reply #14 on: December 11, 2010, 06:08:28 PM »

Hello All,

I am having a hell of a time installing this plugin and could use some help.  I can start b3 fine, but when I enable the Poweradmin plugin b3 won't start.

I have the poweradmin .xml file in the /b3/extplugins/conf folder and the .py file in b3/extplugins.

This is the log that is printing out:

Code:
101211 17:47:33 BOT     Loading Plugin #8 poweradminbfbc2 [/home/admin/b3/b3/extplugins/conf/poweradminbfbc2.xml]
101211 17:47:33 INFO    Could not load built in plugin poweradminbfbc2 (No module named poweradminbfbc2)
101211 17:47:33 INFO    trying external plugin directory : /home/admin/b3/b3/extplugins
101211 17:47:33 CRITICAL        Error loading plugin: invalid syntax (poweradminbfbc2.py, line 59)
Traceback (most recent call last):
  File "/home/admin/b3/b3-1.4.1/b3/parser.py", line 535, in loadPlugins
  File "/home/admin/b3/b3-1.4.1/b3/parser.py", line 645, in pluginImport
  File "/home/admin/b3/b3/extplugins/poweradminbfbc2.py", line 59
     version='0.8' author='Courgette, SpacepiG, Bakes' import b3,
                        ^
 SyntaxError: invalid syntax



And this is my b3.xml file:

Code:
<configuration>
        <!--
  This is B3 main config file for BattleField Bad Company 2 !!!
  (the one you specify when you run b3 with the command : b3_run -c b3.xml)

  For any change made in this config file, you have to restart the bot.

  Whenever you can specify a file/directory path, the following shortucts
  can be used :
   @b3 : the folder where B3 code is installed in
   @conf : the folder containing this config file
  -->
        <settings name="b3">
                <!-- parser defines the game: cod/cod2/cod4/cod5/iourt41/etpro/wop/smg/bfbc2 -->
                <set name="parser">bfbc2</set>
                <set name="database">mysql://xx:xxxx@localhost/xx</set>
                <set name="bot_name">Rage Quit</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">CST</set>
                <!-- 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
                <set name="log_level">9</set>
                <set name="logfile">/home/admin/b3/b3/logs/b3.log</set>
        </settings>
        <settings name="bfbc2">
                <!-- BFBC2 specific settings
                        * max_say_line_length : how long do you want the lines to be restricted to
                        in the chat zone. (maximum length is 100)
                -->
                <set name="max_say_line_length">100</set>
        </settings>
        <settings name="server">
                <set name="public_ip">xx.xx.xx.xx</set>
                <set name="port">19567</set>
                <set name="rcon_ip">xx.xx.xx.xx</set>
                <set name="rcon_port">48888</set>
                <set name="rcon_password">xxxxx</set>
                <set name="timeout">3</set>
                <set name="punkbuster">on</set>
        </settings>
        <settings name="autodoc">
                <!-- Autodoc will generate a user documentation for all B3 commands
                 * type : can be one of : html, htmltable, xml
                 * maxlevel : if you want to exclude commands reserved for higher levels
                 * destination : can be a file or a ftp url
                 by default, a html documentation is created in your conf folder
                -->
                <set name="type">html</set>
                <set name="maxlevel">100</set>
                <set name="destination">/home/admin/xxxxxx/docs/commands.html</set>
                <!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
                <!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
        </settings>
        <settings name="messages">
                <set name="kicked_by">%s was kicked by %s %s</set>
                <set name="kicked">%s was kicked %s</set>
                <set name="banned_by">%s was banned by %s %s</set>
<set name="temp_banned_by">%s was temp banned by %s for %s %s</set>
                <set name="temp_banned">%s was temp banned for %s %s</set>
                <set name="unbanned_by">%s was un-banned by %s %s</set>
                <set name="unbanned">%s was un-banned %s</set>
        </settings>
        <settings name="plugins">
                <set name="external_dir">@b3/extplugins</set>
        </settings>
        <plugins>
                <!-- plugin order is important. Plugins that add new in-game commands all
                        depend on the admin plugin. Make sure to have the admin plugin before
                        them. -->
                <plugin name="censor" config="@conf/plugin_censor.xml"/>
                <plugin name="spamcontrol" config="@b3/conf/plugin_spamcontrol.xml"/>
                <plugin name="admin" config="@conf/plugin_admin.xml"/>
                <plugin name="pingwatch" config="@conf/plugin_pingwatch.xml" />
                <plugin name="adv" config="@conf/plugin_adv.xml"/>
                <plugin name="status" config="@conf/plugin_status.xml"/>
                <plugin name="welcome" config="@conf/plugin_welcome.xml"/>
                <plugin name="poweradminbfbc2" config="@b3/extplugins/conf/poweradminbfbc2.xml"/>

        </plugins>
</configuration>

Im not sure what other information is needed but any help is greatly appreciated.

Thanks,
Carl//8th
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal