thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
The creator of these plugins has not shown activity in a while. Posting in this board may not result in a fast reply or a reply at all. [ Read the full Support Disclaimer here ]
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: Weapon Control Plugin - Antinoob v1.0.7  (Read 168700 times)

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #90 on: February 22, 2009, 07:04:15 PM »
worth a shot. Thanks.

Offline [HOG]CREEPER

  • Jr. Member
  • **
  • Posts: 10
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #91 on: February 25, 2009, 01:53:34 AM »
HERE IS A CONFIG FOR COD WAW
dont forget to set the punishment up and this is set to bolts only
Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule10</set>
        <set name="unlock_message">^3 %s second passed - all weapons unlocked!!!</set>
        <set name="info_message">^3 In the first %s seconds ^1NO Nades,Airstike,Tubes!!!</set>
    </settings>
    <maps>
        <map name="mp_citystreets">15</map>
    </maps>   
    <weapons>
        <!-- Tubes -->
        <weapon perm="0">gl_type99rifle_mp</weapon>
        <weapon perm="0">gl_springfield_mp</weapon>
        <weapon perm="0">gl_mosinrifle_mp</weapon>
        <weapon perm="0">gl_m1garand_mp</weapon>
        <weapon perm="0">gl_kar98k_mp</weapon>
        <weapon perm="0">gl_gewehr43_mp</weapon>       
        <!-- pistols -->   
        <weapon perm="0">walther_mp</weapon>
        <weapon perm="0">tokarev_mp</weapon>
        <weapon perm="0">nambu_mp</weapon>
        <weapon perm="0">colt_mp</weapon>
        <weapon perm="0">357magnum_mp</weapon>
        <!-- allweapons -->       
        <weapon perm="0">type99rifle_scoped_mp</weapon>
        <weapon perm="0">type99rifle_mp</weapon>
        <weapon perm="0">type99rifle_gl_mp</weapon>
        <weapon perm="0">type99rifle_bayonet_mp</weapon>
        <weapon perm="0">type99lmg_mp</weapon>
        <weapon perm="0">type99lmg_bipod_mp</weapon>
        <weapon perm="0">type99lmg_bayonet_mp</weapon>
        <weapon perm="0">type99_lmg_bipod_stand_mp</weapon>
        <weapon perm="0">type100smg_silenced_mp</weapon>
        <weapon perm="0">type100smg_mp</weapon>
        <weapon perm="0">type100smg_bigammo_mp</weapon>
        <weapon perm="0">type100smg_aperture_mp</weapon>
        <weapon perm="0">thompson_silenced_mp</weapon>
        <weapon perm="0">thompson_mp</weapon>
        <weapon perm="0">thompson_bigammo_mp</weapon>
        <weapon perm="0">thompson_aperture_mp</weapon>
        <weapon perm="0">svt40_telescopic_mp</weapon>
        <weapon perm="0">svt40_mp</weapon>
        <weapon perm="0">svt40_flash_mp</weapon>
        <weapon perm="0">svt40_aperture_mp</weapon>
        <weapon perm="0">stg44_telescopic_mp</weapon>
        <weapon perm="0">stg44_mp</weapon>
        <weapon perm="0">stg44_flash_mp</weapon>
        <weapon perm="0">stg44_aperture_mp</weapon>
        <weapon perm="0">shotgun_mp</weapon>
        <weapon perm="0">shotgun_bayonet_mp</weapon>
        <weapon perm="0">satchel_charge_mp</weapon>
        <weapon perm="0">ptrs41_mp</weapon>
        <weapon perm="0">ppsh_mp</weapon>
        <weapon perm="0">ppsh_bigammo_mp</weapon>
        <weapon perm="0">ppsh_aperture_mp</weapon>
        <weapon perm="0">mp40_silenced_mp</weapon>
        <weapon perm="0">mp40_mp</weapon>
        <weapon perm="0">mp40_bigammo_mp</weapon>
        <weapon perm="0">mp40_aperture_mp</weapon>
        <weapon perm="0">mg42_mp</weapon>
        <weapon perm="0">mg42_bipod_stand_mp</weapon>
        <weapon perm="0">mg42_bipod_prone_mp</weapon>
        <weapon perm="0">mg42_bipod_mp</weapon>
        <weapon perm="0">mg42_bipod_crouch_mp</weapon>
        <weapon perm="0">m2_flamethrower_mp</weapon>
        <weapon perm="0">m1garand_scoped_mp</weapon>
        <weapon perm="0">m1garand_mp</weapon>
        <weapon perm="0">m1garand_gl_mp</weapon>
        <weapon perm="0">m1garand_flash_mp</weapon>
        <weapon perm="0">m1garand_bayonet_mp</weapon>
        <weapon perm="0">m1carbine_mp</weapon>
        <weapon perm="0">m1carbine_flash_mp</weapon>
        <weapon perm="0">m1carbine_bigammo_mp</weapon>
        <weapon perm="0">m1carbine_bayonet_mp</weapon>
        <weapon perm="0">m1carbine_aperture_mp</weapon>
        <weapon perm="0">gewehr43_telescopic_mp</weapon>
        <weapon perm="0">gewehr43_silenced_mp</weapon>
        <weapon perm="0">gewehr43_mp</weapon>
        <weapon perm="0">gewehr43_gl_mp</weapon>
        <weapon perm="0">gewehr43_aperture_mp</weapon>
        <weapon perm="0">frag_grenade_short_mp</weapon>
        <weapon perm="0">fg42_telescopic_mp</weapon>
        <weapon perm="0">fg42_mp</weapon>
        <weapon perm="0">fg42_bipod_stand_mp</weapon>
        <weapon perm="0">fg42_bipod_prone_mp</weapon>
        <weapon perm="0">fg42_bipod_mp</weapon>
        <weapon perm="0">fg42_bipod_crouch_mp</weapon>
        <weapon perm="0">dp28_mp</weapon>
        <weapon perm="0">dp28_bipod_stand_mp</weapon>
        <weapon perm="0">dp28_bipod_prone_mp</weapon>
        <weapon perm="0">dp28_bipod_mp</weapon>
        <weapon perm="0">dp28_bipod_crouch_mp</weapon>
        <weapon perm="0">doublebarreledshotgun_sawoff_mp</weapon>
        <weapon perm="0">doublebarreledshotgun_mp</weapon>
        <weapon perm="0">doublebarreledshotgun_grip_mp</weapon>
        <weapon perm="0">bar_mp</weapon>
        <weapon perm="0">bar_bipod_stand_mp</weapon>
        <weapon perm="0">bar_bipod_prone_mp</weapon>
        <weapon perm="0">bar_bipod_mp</weapon>
        <weapon perm="0">bar_bipod_crouch_mp</weapon>
        <weapon perm="0">30cal_mp</weapon>
        <weapon perm="0">30cal_bipod_stand_mp</weapon>
        <weapon perm="0">30cal_bipod_prone_mp</weapon>
        <weapon perm="0">30cal_bipod_mp</weapon>
        <weapon perm="0">30cal_bipod_crouch_mp</weapon>
        <!-- Heli -->       
        <!-- <weapon perm="0">helicopter_mp</weapon>        -->   
        <!-- Martyr -->
        <weapon perm="0">frag_grenade_short_mp</weapon>
    </weapons>
</configuration>

« Last Edit: February 25, 2009, 03:14:15 AM by [HOG]CREEPER »

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #92 on: February 25, 2009, 02:18:51 AM »
Cool, thanks!

HOG=Hooked On Gaming?

Offline [HOG]CREEPER

  • Jr. Member
  • **
  • Posts: 10
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #93 on: March 01, 2009, 12:27:46 AM »
you know it  ;)

Offline [HOG]CREEPER

  • Jr. Member
  • **
  • Posts: 10
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #94 on: March 01, 2009, 12:53:33 AM »
here is a better one works great for me lol
Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">1</set>
        <set name="warning_rule">rule10</set>
        <set name="unlock_message">^3 %s second passed - all weapons unlocked!!!</set>
        <set name="info_message">^3 In the first %s seconds ^1BOLTS ONLY!!!</set>
    </settings>
    <maps>
        <map name="mp_castle">24</map>
    </maps>   
    <weapons>
        <!-- Tubes -->
        <weapon perm="1">gl_type99rifle_mp</weapon>
        <weapon perm="1">gl_springfield_mp</weapon>
        <weapon perm="1">gl_mosinrifle_mp</weapon>
        <weapon perm="1">gl_m1garand_mp</weapon>
        <weapon perm="1">gl_kar98k_mp</weapon>
        <weapon perm="1">gl_gewehr43_mp</weapon>       
        <!-- pistols -->   
        <weapon perm="1">walther_mp</weapon>
        <weapon perm="1">tokarev_mp</weapon>
        <weapon perm="1">nambu_mp</weapon>
        <weapon perm="1">colt_mp</weapon>
        <weapon perm="1">357magnum_mp</weapon>
        <!-- allweapons -->       
        <weapon perm="1">type99lmg_mp</weapon>
        <weapon perm="1">type99lmg_bipod_mp</weapon>
        <weapon perm="1">type99lmg_bayonet_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_stand_mp</weapon>
        <weapon perm="1">type100smg_silenced_mp</weapon>
        <weapon perm="1">type100smg_mp</weapon>
        <weapon perm="1">type100smg_bigammo_mp</weapon>
        <weapon perm="1">type100smg_aperture_mp</weapon>
        <weapon perm="1">thompson_silenced_mp</weapon>
        <weapon perm="1">thompson_mp</weapon>
        <weapon perm="1">thompson_bigammo_mp</weapon>
        <weapon perm="1">thompson_aperture_mp</weapon>
        <weapon perm="1">svt40_telescopic_mp</weapon>
        <weapon perm="1">svt40_mp</weapon>
        <weapon perm="1">svt40_flash_mp</weapon>
        <weapon perm="1">svt40_aperture_mp</weapon>
        <weapon perm="1">stg44_telescopic_mp</weapon>
        <weapon perm="1">stg44_mp</weapon>
        <weapon perm="1">stg44_flash_mp</weapon>
        <weapon perm="1">stg44_aperture_mp</weapon>
        <weapon perm="1">shotgun_mp</weapon>
        <weapon perm="1">shotgun_bayonet_mp</weapon>
        <weapon perm="1">ptrs41_mp</weapon>
        <weapon perm="1">ppsh_mp</weapon>
        <weapon perm="1">ppsh_bigammo_mp</weapon>
        <weapon perm="1">ppsh_aperture_mp</weapon>
        <weapon perm="1">mp40_silenced_mp</weapon>
        <weapon perm="1">mp40_mp</weapon>
        <weapon perm="1">mp40_bigammo_mp</weapon>
        <weapon perm="1">mp40_aperture_mp</weapon>
        <weapon perm="1">mg42_mp</weapon>
        <weapon perm="1">mg42_bipod_stand_mp</weapon>
        <weapon perm="1">mg42_bipod_prone_mp</weapon>
        <weapon perm="1">mg42_bipod_mp</weapon>
        <weapon perm="1">mg42_bipod_crouch_mp</weapon>
        <weapon perm="1">m1garand_scoped_mp</weapon>
        <weapon perm="1">m1garand_mp</weapon>
        <weapon perm="1">m1garand_gl_mp</weapon>
        <weapon perm="1">m1garand_flash_mp</weapon>
        <weapon perm="1">m1garand_bayonet_mp</weapon>
        <weapon perm="1">m1carbine_mp</weapon>
        <weapon perm="1">m1carbine_flash_mp</weapon>
        <weapon perm="1">m1carbine_bigammo_mp</weapon>
        <weapon perm="1">m1carbine_bayonet_mp</weapon>
        <weapon perm="1">m1carbine_aperture_mp</weapon>
        <weapon perm="1">gewehr43_telescopic_mp</weapon>
        <weapon perm="1">gewehr43_silenced_mp</weapon>
        <weapon perm="1">gewehr43_mp</weapon>
        <weapon perm="1">gewehr43_gl_mp</weapon>
        <weapon perm="1">gewehr43_aperture_mp</weapon>
        <weapon perm="1">fg42_telescopic_mp</weapon>
        <weapon perm="1">fg42_mp</weapon>
        <weapon perm="1">fg42_bipod_stand_mp</weapon>
        <weapon perm="1">fg42_bipod_prone_mp</weapon>
        <weapon perm="1">fg42_bipod_mp</weapon>
        <weapon perm="1">fg42_bipod_crouch_mp</weapon>
        <weapon perm="1">dp28_mp</weapon>
        <weapon perm="1">dp28_bipod_stand_mp</weapon>
        <weapon perm="1">dp28_bipod_prone_mp</weapon>
        <weapon perm="1">dp28_bipod_mp</weapon>
        <weapon perm="1">dp28_bipod_crouch_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_sawoff_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_grip_mp</weapon>
        <weapon perm="1">bar_mp</weapon>
        <weapon perm="1">bar_bipod_stand_mp</weapon>
        <weapon perm="1">bar_bipod_prone_mp</weapon>
        <weapon perm="1">bar_bipod_mp</weapon>
        <weapon perm="1">bar_bipod_crouch_mp</weapon>
        <weapon perm="1">30cal_mp</weapon>
        <weapon perm="1">30cal_bipod_stand_mp</weapon>
        <weapon perm="1">30cal_bipod_prone_mp</weapon>
        <weapon perm="1">30cal_bipod_mp</weapon>
        <weapon perm="1">30cal_bipod_crouch_mp</weapon>
        <!-- flamethrower -->
        <weapon perm="1">m2_flamethrower_mp</weapon>
        <!-- bouncing betty and satchels -->
        <weapon perm="1">mine_bouncing_betty_mp</weapon>
        <weapon perm="1">satchel_charge_mp</weapon>           
        <!-- baazooka -->
        <weapon perm="1">bazooka_mp</weapon>
        <weapon perm="1">panzershrek_mp</weapon>
        <!-- martydom -->
        <weapon perm="1">frag_grenade_short_mp</weapon>
    </weapons>
</configuration>

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #95 on: March 01, 2009, 05:42:42 AM »
Cool.

This isn't working for me on COD WAW.

Code: [Select]
090228 22:38:56	BOT    	AntinoobPlugin: Loading config /home/nbscod41/b3bot/b3/extplugins/conf/plugin_antinoob.xml for AntinoobPlugin
090228 22:38:56 DEBUG AntinoobPlugin: Loading Configuration Started
090228 22:38:56 DEBUG AntinoobPlugin: _warndurationdefault: 10
090228 22:38:56 DEBUG AntinoobPlugin: Weapon parsed: gl_type99rifle_mp
090228 22:38:56 CRITICAL Error loading plugin: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
  File "/home/nbscod41/b3bot/b3/parser.py", line 330, in loadPlugins
    self._plugins[p] = getattr(pluginModule, '%sPlugin' % p.title())(self, conf)
  File "/home/nbscod41/b3bot/b3/plugin.py", line 42, in __init__
    self.loadConfig(config)
  File "/home/nbscod41/b3bot/b3/plugin.py", line 86, in loadConfig
    return self.onLoadConfig()
  File "b3/extplugins/antinoob.py", line 101, in onLoadConfig
    self.debug('Weapon loaded: ' + _wi._weaponName + ' Mod:' + _wi._mod)
TypeError: cannot concatenate 'str' and 'NoneType' objects

This is from the B3 log. Any ideas what I can change?

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #96 on: March 01, 2009, 09:01:49 PM »
plz post the config.

Offline [HOG]CREEPER

  • Jr. Member
  • **
  • Posts: 10
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #97 on: March 01, 2009, 10:01:18 PM »
have you updated your parser.py to the latest cod4 or cod5 one try that im running the cod5 one right know

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #98 on: March 02, 2009, 05:36:59 PM »
I manually uploaded the cod5 and the parser and it still didn't work.

 Seems like my B3 is an older loadout. The host is going to try to update everything today.

Offline [HOG]CREEPER

  • Jr. Member
  • **
  • Posts: 10
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #99 on: March 03, 2009, 06:01:21 AM »
did you change your parser in your b3.xml file this is the line


<set name="parser">cod5</set>


see if that helps

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #100 on: March 03, 2009, 07:08:40 AM »
it should be the same, except the cod5 parser has some changed auth stuff.

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #101 on: March 04, 2009, 01:17:08 AM »
Needled through everything and lots of trial and error.

Bottom line, I had to include

penalty="3" mod="MOD_GRENADE_SPLASH"

etc. to each weapon and I think it's working.

Offline img.beast

  • Newbie
  • *
  • Posts: 6
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #102 on: March 06, 2009, 05:53:23 PM »
Cannot get this to work with martydom perk to save my life.  No warnings, no kick, regardless of settings.  Here is my config.

Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule10</set>
        <set name="banned_warning_rule">rule11</set>
        <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
        <set name="info_message">^3 No nades, airstrike, tubes ^5for %s seconds of the round!!!</set>
        <set name="bannedonly_info_message">^3 Please, No nades, airstrike, tubes !!!</set>
    </settings>
    <maps>
       
    </maps>   
    <weapons>
        <!-- Penalty -->
        <!-- 0 is timed, gives warnings until kick. -->
        <!-- 1 is map long, gives warnings until kick -->
        <!-- 2 is timed, insta-kicks -->
        <!-- 3 is map long, insta-kicks. -->
       
        <!-- Tubes -->
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_g3_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_g36c_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_m4_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">gl_mp</weapon>   
        <!-- Nades -->
<weapon penalty="3" mod="MOD_GRENADE_SPLASH"></weapon>
        <!-- Airstike -->       
        <!-- Heli -->       
        <!-- <weapon perm="0">helicopter_mp</weapon>        -->   
        <!-- Martyr -->
        <weapon penalty="1" mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
        <!-- Bullets w/Launcher -->
        <weapon penalty="0" mod="">ak47_gl_mp</weapon>
        <!-- Pistols -->
        <weapon penalty="2" mod="MOD_PISTOL_BULLET">beretta_mp</weapon>
        <weapon penalty="2" mod="MOD_PISTOL_BULLET">usp_mp</weapon>
        <weapon penalty="2" mod="MOD_PISTOL_BULLET">colt45_mp</weapon>
        <weapon penalty="2" mod="MOD_PISTOL_BULLET">deserteagle_mp</weapon>
        <weapon penalty="2" mod="MOD_PISTOL_BULLET">deserteaglegold_mp</weapon>
        <weapon penalty="2" mod="MOD_HEAD_SHOT">colt45_silencer_mp</weapon>
        <!-- Rockets -->
        <weapon penalty="2" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
        <weapon penalty="2" mod="">saw_bipod_crouch_mp</weapon>
    </weapons>
</configuration>

Am I missing something?

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #103 on: March 06, 2009, 06:05:06 PM »
yes, the bit which deals with the disallowed weapons :)

Offline img.beast

  • Newbie
  • *
  • Posts: 6
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #104 on: March 06, 2009, 06:45:25 PM »
Call me clueless then, because I can't figure it out.

Basically, we don't want marty, last stand, and grenade launchers ever on any map, any length of time etc.  Just disallowed.  Then no arty and nades within first 10 secs of map round.

Little help?

 


Rate this page +1 at Google Search

anything