thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]  (Read 18910 times)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« on: September 20, 2006, 01:36:26 PM »

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:[email protected])
#
# 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, 08:17:47 PM by xlr8or »

Offline click

  • Sr. Member
  • ****
  • Posts: 259
    • Deadbone Platoon
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #1 on: January 04, 2008, 02:40:50 PM »
I am assuming this will only work on modded CoD4 servers?
Deadbone Platoon
B3 Driven CoD Servers

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #2 on: January 04, 2008, 03:26:45 PM »
Lol no, it works on ranked ones too... seems they havent protected g_speed and gravity :P

Offline speshul10

  • Jr. Member
  • **
  • Posts: 20
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #3 on: July 25, 2008, 04:21:24 AM »
Does this still work for CoD4?

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #4 on: July 26, 2008, 01:37:04 PM »
It should, unless they cheat-protected gravity or g_speed?

Offline speshul10

  • Jr. Member
  • **
  • Posts: 20
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #5 on: July 27, 2008, 03:15:29 PM »
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!

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #6 on: October 19, 2008, 11: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?

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #7 on: October 19, 2008, 12:14:13 PM »
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.


Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #8 on: October 21, 2008, 11:27:16 PM »
Ok, that sounds difficult...  :)

Do you know how to extend this 60 seconds without typing !ffjump every 60 seconds?
« Last Edit: October 22, 2008, 12:09:11 AM by Fisch.666 »

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #9 on: October 21, 2008, 11:31:46 PM »
Code: [Select]
     if duration > 60:
       client.message('^7Using 60 seconds timespan.')
       duration = 60
Holds the key. You might be able to just delete that snippet.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #10 on: October 22, 2008, 10:47:02 AM »
haxor!

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #11 on: October 22, 2008, 05:04:36 PM »
Since I've been accused of being a haxor by the developer, I guess i'm right. Just delete those 3 lines.

Offline preachw

  • Newbie
  • *
  • Posts: 4
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #12 on: August 26, 2010, 12:21:04 PM »
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: 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:[email protected]/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">ftp://user:[email protected]/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, 01:08:14 PM by Freelander »

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #13 on: August 26, 2010, 01:22:00 PM »
Replace these lines

Code: [Select]
<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: [Select]
<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.

Offline preachw

  • Newbie
  • *
  • Posts: 4
Re: FunnyFarm [CoD|CoD:UO|CoD2|CoD4]
« Reply #14 on: August 27, 2010, 07:19:39 AM »
Replace these lines

Code: [Select]
<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: [Select]
<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.

 


Rate this page +1 at Google Search