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 DiscussionPlugins by xlr8or (Moderator: Freelander)FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
Pages: [1] 2   Go Down
  Print  
Author Topic: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]  (Read 8782 times) Bookmark and Share
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2005
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« on: September 20, 2006, 03:36:26 AM »


With this nifty little plugin you'll be able to alter gamespeed and gravity for
a short period of time and thus make your playercrowd goof around for a few.

Quote
###################################################################################
#
# FunnyFarm (due to lack of inspiration)
# Plugin for B3 (www.bigbrotherbot.com)
# (c) 2006 www.xlr8or.com (mailto:xlr8or@xlr8or.com)
#
# This program is free software and licensed under the terms of
# the GNU General Public License (GPL), version 2.
#
# http://www.gnu.org/copyleft/gpl.html
###################################################################################

FunnyFarm (v1.0.0) for B3
###################################################################################

With this nifty little plugin you'll be able to alter gamespeed and gravity for
a short period of time and thus make your playercrowd goof around for a few.

 !ffjump <seconds> - Low Gravity
 !ffspeedup <seconds> - High Gamespeed
 !ffberserk <seconds> - High Gamespeed and Low Gravity
 !ffreset - Stop effect early, all effects are timed so you wont need this much

Each command can be leveled in the config file.


Requirements:
###################################################################################

- B3 version 1.1.0 or higher


Installation:
###################################################################################

1. Unzip the contents of this package into your B3 folder. It will
place the .py file in b3/extplugins and the config file .xml in
your b3/extplugins/conf folder.

2. Open the .xml file with your favorit editor and modify the
levels if you want them different. Do not edit the command-names
for they will not function under a different name.

3. Open your B3.xml file (in b3/conf) and add the next line in the
<plugins> section of the file:

<plugin name="funnyfarm" priority="12" config="@b3/extplugins/conf/funnyfarm.xml"/>

The numer 12 in this just an example. Make sure it fits your
plugin list.


Changelog
###################################################################################
v1.0.0         : Initial release


###################################################################################
xlr8or - 25 jan 2006 - www.bigbrotherbot.com // www.xlr8or.com

Download the latest version here: http://ftp.snt.utwente.nl/pub/games/bigbrotherbot/plugins/funnyfarm-v1.0.0.zip

Dev. version: http://github.com/xlr8or/b3-plugin-funnyfarm/zipball/master
« Last Edit: November 12, 2010, 11:17:47 AM by xlr8or » Logged


Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #1 on: January 04, 2008, 05:40:50 AM »

I am assuming this will only work on modded CoD4 servers?
Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2005
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: January 04, 2008, 06:26:45 AM »

Lol no, it works on ranked ones too... seems they havent protected g_speed and gravity Tongue
Logged

Jr. Member
**
Posts: 20
Offline Offline
« Reply #3 on: July 24, 2008, 06:21:24 PM »

Does this still work for CoD4?
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2005
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: July 26, 2008, 03:37:04 AM »

It should, unless they cheat-protected gravity or g_speed?
Logged

Jr. Member
**
Posts: 20
Offline Offline
« Reply #5 on: July 27, 2008, 05:15:29 AM »

No they didnt change it so this will still work on a cod server was deffinatly having a blast messing with these 2 commands.

The cmds for them are g_speed # and g_gravity # both of the commands leave the server ranked so enjoy using them!
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #6 on: October 19, 2008, 01:55:45 AM »

Hi!

Short question, how can i enable the !ffjump, !ffspeedup or !ffberserk for an whole round? The max time for this commands are 60 seconds, right?
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #7 on: October 19, 2008, 02:14:13 AM »

That would require a modification, presumably, if in a command called
!ffjumpround
would, on evt_roundstart, would activate, and on the next evt_roundstart, would deactivate.

Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #8 on: October 21, 2008, 01:27:16 PM »

Ok, that sounds difficult...  Smiley

Do you know how to extend this 60 seconds without typing !ffjump every 60 seconds?
« Last Edit: October 21, 2008, 02:09:11 PM by Fisch.666 » Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #9 on: October 21, 2008, 01:31:46 PM »

Code:
     if duration > 60:
       client.message('^7Using 60 seconds timespan.')
       duration = 60
Holds the key. You might be able to just delete that snippet.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2005
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #10 on: October 22, 2008, 12:47:02 AM »

haxor!
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #11 on: October 22, 2008, 07:04:36 AM »

Since I've been accused of being a haxor by the developer, I guess i'm right. Just delete those 3 lines.
Logged

Newbie
*
Posts: 4
Offline Offline
« Reply #12 on: August 26, 2010, 02:21:04 AM »

With this nifty little plugin you'll be able to alter gamespeed and gravity for
a short period of time and thus make your playercrowd goof around for a few.

Download the latest version here: http://ftp://ftp.snt.utwente.nl/pub/games/bigbrotherbot/plugins/funnyfarm-v1.0.0.zip

Dev. version: http://github.com/xlr8or/b3-plugin-funnyfarm/zipball/master
I'm having a problem getting this plugin to load. I'll paste my B3 xml here and if you look at the funnyfarm line it all points to the correct place, But if I remove the </plugin> behind the line it completely crashes the B3 bot. If it helps at all I am remotely hosting B3 on a PHS server as Gameservers.com does not allow direct root access to their rented servers. Can you please tell me what I'm doing wrong as I'd really like to run this plugin. Thanks.
Start B3 paste:
<configuration>
<!--
 If you want to generate a new config file and make sure the format is
 correct, you can invoke the setup procedure with the
 command : b3_run -s b3.xml

 This is B3 main config file (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 shortcuts
 can be used :
  @b3 : the folder where B3 code is installed in
  @conf : the folder containing this config file
 -->
   <settings name="b3">
      <!--
         Next line: the parser defines the game:
         cod/cod2/cod4/cod5/iourt41/etpro/wop/smg/bfbc2 (it should NOT be
         'changeme')
      -->
      <set name="parser">cod4</set>
      <set name="database">mysql://phs_Miracle:*******@67.18.199.22/phs_MiracleWhip</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">CST</set>
      <!-- 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
      <set name="log_level">9</set>
      <set name="logfile">b3.log</set>
   </settings>
   <settings name="server">
      <set name="rcon_password">******</set>
      <set name="port">28960</set>
      <set name="game_log">correct link is here, changed to protect account</set>
      <set name="public_ip">63.211.221.36</set>
      <set name="rcon_ip">63.211.221.36</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">C:\Users\b3\Desktop\test_doc.htm</set> -->
      <!-- <set name="destination">http://ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
   </settings>
   <settings name="messages">
      <set name="kicked_by">%s^7 was kicked by %s^7 %s</set>
      <set name="kicked">%s^7 was kicked %s</set>
      <set name="banned_by">%s^7 was banned by %s^7 %s</set>
      <set name="banned">%s^7 was banned %s</set>
      <set name="temp_banned_by">%s^7 was temp banned by %s^7 for %s^7 %s</set>
      <set name="temp_banned">%s^7 was temp banned for %s^7 %s</set>
      <set name="unbanned_by">%s^7 was un-banned by %s^7 %s</set>
      <set name="unbanned">%s^7 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="@conf/plugin_spamcontrol.xml" />
      <plugin name="admin" config="@conf/plugin_admin.xml" />
      <plugin name="stats" config="@conf/plugin_stats.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="punkbuster" config="@conf/plugin_punkbuster.xml" />      
                <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
                <plugin name="antinoob" priority="4" config="@b3/extplugins/conf/antinoob.xml">
                <plugin name="funnyfarm" priority="5" config="@b3/extplugins/conf/funnyfarm.xml"/></plugin>
         </plugins>
</configuration>

Freelander-> edit:removed mysql password!
« Last Edit: August 26, 2010, 03:08:14 AM by Freelander » Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 908
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #13 on: August 26, 2010, 03:22:00 AM »

Replace these lines

Code:
<plugin name="antinoob" priority="4" config="@b3/extplugins/conf/antinoob.xml">
<plugin name="funnyfarm" priority="5" config="@b3/extplugins/conf/funnyfarm.xml"/></plugin>

with
Code:
<plugin name="antinoob" config="@b3/extplugins/conf/antinoob.xml"/>
<plugin name="funnyfarm" config="@b3/extplugins/conf/funnyfarm.xml"/>

and try again pls. You didn't close the tag at the end of antinoob plugin line. Also take note that proirity numbers are not required anymore although they were left in many older plugin readme files.
Logged

Newbie
*
Posts: 4
Offline Offline
« Reply #14 on: August 26, 2010, 09:19:39 PM »

Replace these lines

Code:
<plugin name="antinoob" priority="4" config="@b3/extplugins/conf/antinoob.xml">
<plugin name="funnyfarm" priority="5" config="@b3/extplugins/conf/funnyfarm.xml"/></plugin>

with
Code:
<plugin name="antinoob" config="@b3/extplugins/conf/antinoob.xml"/>
<plugin name="funnyfarm" config="@b3/extplugins/conf/funnyfarm.xml"/>

and try again pls. You didn't close the tag at the end of antinoob plugin line. Also take note that proirity numbers are not required anymore although they were left in many older plugin readme files.

Thank you so much. After replacing the lines with the ones you gave all is working perfectly.
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal