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 170407 times)

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #105 on: March 06, 2009, 06:49:34 PM »
ah crap sorry, my pc doesn't show the scrollbar.

from that, it should be working.

Offline img.beast

  • Newbie
  • *
  • Posts: 6
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #106 on: March 06, 2009, 06:52:43 PM »
It won't kick from marty, but it did kick from a claymore?  I didn't see claymores anywhere in that list, but maybe tied to a gren_splash?

Offline Daxer

  • Jr. Member
  • **
  • Posts: 41
    • ClanGT.ORG
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #107 on: March 06, 2009, 07:10:10 PM »
Here is my code. We don't allow C4,Frags,RPG's,Airstrikes or Heli's in the first 20 seconds and No Tubes/Marty Ever. I have not been able to get the marty function to work however... so we're still manually kicking for marty's when we need to.

Dax

Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">20</set>
        <set name="warning_rule">rule2</set>
        <set name="banned_warning_rule">rule2</set>
        <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
        <set name="info_message">^3 NO C4, Frags, RPG's, or flyers ^5for %s seconds of the round!!!</set>
    </settings>
    <maps>
        <map name="mp_citystreets">20</map>
    </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>       
        <weapon penalty="3" mod="">gl_g36c_mp</weapon>       
        <weapon penalty="3" mod="MOD_FALLING"></weapon>       
        <!-- Nades -->   
  <weapon penalty="2" mod="MOD_GRENADE_SPLASH">frag_grenade_mp</weapon>
  <weapon penalty="2" mod="MOD_GRENADE_SPLASH">c4_mp</weapon>
        <!-- Airstike -->   
        <weapon penalty="2" mod="MOD_PROJECTILE_SPLASH">artillery_mp</weapon>
        <!-- Heli -->   
<weapon penalty="2" mod="">helicopter_mp</weapon>     
        <!-- Martyr -->
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
        <!-- Bullets w/Launcher -->
        <!-- Pistols -->
        <!-- Rockets -->
        <weapon penalty="2" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
        <weapon penalty="2" mod="">saw_bipod_crouch_mp</weapon>
    </weapons>
</configuration>

Offline img.beast

  • Newbie
  • *
  • Posts: 6
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #108 on: March 06, 2009, 11:10:49 PM »
Thanks, that seemed to work well!

Too bad about Marty.  I really want those gone too.

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #109 on: March 06, 2009, 11:23:31 PM »
i'm sure it will be fixed.
« Last Edit: March 07, 2009, 08:12:15 AM by Bakes »

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #110 on: March 07, 2009, 01:51:54 AM »
Here is my code. We don't allow C4,Frags,RPG's,Airstrikes or Heli's in the first 20 seconds and No Tubes/Marty Ever. I have not been able to get the marty function to work however... so we're still manually kicking for marty's when we need to.

Dax

Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">20</set>
        <set name="warning_rule">rule2</set>
        <set name="banned_warning_rule">rule2</set>
        <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
        <set name="info_message">^3 NO C4, Frags, RPG's, or flyers ^5for %s seconds of the round!!!</set>
    </settings>
    <maps>
        <map name="mp_citystreets">20</map>
    </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>       
        <weapon penalty="3" mod="">gl_g36c_mp</weapon>       
        <weapon penalty="3" mod="MOD_FALLING"></weapon>       
        <!-- Nades -->   
  <weapon penalty="2" mod="MOD_GRENADE_SPLASH">frag_grenade_mp</weapon>
  <weapon penalty="2" mod="MOD_GRENADE_SPLASH">c4_mp</weapon>
        <!-- Airstike -->   
        <weapon penalty="2" mod="MOD_PROJECTILE_SPLASH">artillery_mp</weapon>
        <!-- Heli -->   
<weapon penalty="2" mod="">helicopter_mp</weapon>     
        <!-- Martyr -->
        <weapon penalty="3" mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
        <!-- Bullets w/Launcher -->
        <!-- Pistols -->
        <!-- Rockets -->
        <weapon penalty="2" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
        <weapon penalty="2" mod="">saw_bipod_crouch_mp</weapon>
    </weapons>
</configuration>

Try:
Code: [Select]
<weapon penalty="3" mod="">frag_grenade_short_mp</weapon>

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #111 on: March 07, 2009, 11:30:33 AM »
OK I know what is the problem here... stand by ;)

Offline McLoad

  • Jr. Member
  • **
  • Posts: 17
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #112 on: March 11, 2009, 09:43:59 PM »
Hello!

I am new in all of b3 stuff. I'm trying to make a working b3 bot with antinoob 1.0.3.
At the B3 start we get the following error:


090311 18:00:15   BOT       Starting Cod5Parser server for 87.229.102.68:28968
090311 18:00:15   BOT       --------------------------------------------
090311 18:00:15   BOT       Attempting to connect to database mysql://cod5metalvezer:******@localhost/cod5metalvezer...
090311 18:00:16   BOT       Connected to database
090311 18:00:16   BOT       Game log /home/cod5metalvezer/main/games_mp.log
090311 18:00:16   BOT       Starting bot reading file /home/cod5metalvezer/main/games_mp.log
090311 18:00:16   BOT       Loading Plugin #1 censor [/home/cod5metalvezer/b3/b3/conf/plugin_censor.xml]
090311 18:00:16   BOT       CensorPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_censor.xml for CensorPlugin
090311 18:00:16   DEBUG   Register Event: Stop Process: CensorPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: CensorPlugin
090311 18:00:16   BOT       Plugin censor (2.1.0 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #2 spamcontrol [/home/cod5metalvezer/b3/b3/conf/plugin_spamcontrol.xml]
090311 18:00:16   BOT       SpamcontrolPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_spamcontrol.xml for SpamcontrolPlugin
090311 18:00:16   DEBUG   Register Event: Stop Process: SpamcontrolPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: SpamcontrolPlugin
090311 18:00:16   BOT       Plugin spamcontrol (1.1.2 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #3 admin [/home/cod5metalvezer/b3/b3/conf/plugin_admin.xml]
090311 18:00:16   BOT       AdminPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_admin.xml for AdminPlugin
090311 18:00:16   DEBUG   Register Event: Stop Process: AdminPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: AdminPlugin
090311 18:00:16   BOT       Plugin admin (1.3.4b0 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #4 tk [/home/cod5metalvezer/b3/b3/conf/plugin_tk.xml]
090311 18:00:16   BOT       TkPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_tk.xml for TkPlugin
090311 18:00:16   DEBUG   TkPlugin: tk max level is 40
090311 18:00:16   DEBUG   Register Event: Stop Process: TkPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: TkPlugin
090311 18:00:16   BOT       Plugin tk (1.1.6b0 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #5 stats [/home/cod5metalvezer/b3/b3/conf/plugin_stats.xml]
090311 18:00:16   BOT       StatsPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_stats.xml for StatsPlugin
090311 18:00:16   DEBUG   AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
090311 18:00:16   DEBUG   AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
090311 18:00:16   DEBUG   AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
090311 18:00:16   DEBUG   Register Event: Stop Process: StatsPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: StatsPlugin
090311 18:00:16   BOT       Plugin stats (1.2.3 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #6 pingwatch [/home/cod5metalvezer/b3/b3/conf/plugin_pingwatch.xml]
090311 18:00:16   BOT       PingwatchPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_pingwatch.xml for PingwatchPlugin
090311 18:00:16   VERBOSE   Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x83bb30c>> (138131116) - [0, 30]s -1m -1h -1d -1M -1DOW
090311 18:00:16   DEBUG   Register Event: Stop Process: PingwatchPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: PingwatchPlugin
090311 18:00:16   BOT       Plugin pingwatch (1.1.4 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #7 adv [/home/cod5metalvezer/b3/b3/conf/plugin_adv.xml]
090311 18:00:16   BOT       AdvPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_adv.xml for AdvPlugin
090311 18:00:16   VERBOSE   Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x83bb7ac>> (138306636) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
090311 18:00:16   DEBUG   Register Event: Stop Process: AdvPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: AdvPlugin
090311 18:00:16   BOT       Plugin adv (1.1.3 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #8 status [/home/cod5metalvezer/b3/b3/conf/plugin_status.xml]
090311 18:00:16   BOT       StatusPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_status.xml for StatusPlugin
090311 18:00:16   VERBOSE   Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x83e6f4c>> (138385420) -
  • s -1m -1h -1d -1M -1DOW

090311 18:00:16   DEBUG   Register Event: Stop Process: StatusPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: StatusPlugin
090311 18:00:16   BOT       Plugin status (1.2.6 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #9 welcome [/home/cod5metalvezer/b3/b3/conf/plugin_welcome.xml]
090311 18:00:16   BOT       WelcomePlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_welcome.xml for WelcomePlugin
090311 18:00:16   DEBUG   Register Event: Stop Process: WelcomePlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: WelcomePlugin
090311 18:00:16   BOT       Plugin welcome (1.0.6 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #10 punkbuster [/home/cod5metalvezer/b3/b3/conf/plugin_punkbuster.xml]
090311 18:00:16   BOT       PunkbusterPlugin: Loading config /home/cod5metalvezer/b3/b3/conf/plugin_punkbuster.xml for PunkbusterPlugin
090311 18:00:16   VERBOSE   Added crontab <bound method PunkbusterPlugin.rebuildBans of <b3.plugins.punkbuster.PunkbusterPlugin instance at 0x83f9d4c>> (138791084) - 0s 0m 0h -1d -1M -1DOW
090311 18:00:16   DEBUG   Register Event: Stop Process: PunkbusterPlugin
090311 18:00:16   DEBUG   Register Event: Program Exit: PunkbusterPlugin
090311 18:00:16   BOT       Plugin punkbuster (1.0.8 - ThorN) loaded
090311 18:00:16   BOT       Loading Plugin #11 antinoob [/home/cod5metalvezer/b3/b3/extplugins/conf/plugin_antinoob.xml]
090311 18:00:16   BOT       AntinoobPlugin: Loading config /home/cod5metalvezer/b3/b3/extplugins/conf/plugin_antinoob.xml for AntinoobPlugin
090311 18:00:16   CRITICAL   Error loading plugin: not well-formed (invalid token): line 129, column 56
Traceback (most recent call last):
  File "/home/cod5metalvezer/b3/b3/parser.py", line 331, in loadPlugins
    self._plugins[p] = getattr(pluginModule, '%sPlugin' % p.title())(self, conf)
  File "/home/cod5metalvezer/b3/b3/plugin.py", line 41, in __init__
    self.loadConfig(config)
  File "/home/cod5metalvezer/b3/b3/plugin.py", line 73, in loadConfig
    self.config = b3.config.load(fileName)
  File "/home/cod5metalvezer/b3/b3/config.py", line 228, in load
    if config.load(fileName):
  File "/home/cod5metalvezer/b3/b3/config.py", line 161, in load
    self.readfp(f)
  File "/home/cod5metalvezer/b3/b3/config.py", line 60, in readfp
    self._xml = ElementTree.parse(fp)
  File "/usr/lib/python2.4/site-packages/elementtree/ElementTree.py", line 908, in parse
    tree = parser_api.parse(source)
  File "/usr/lib/python2.4/site-packages/elementtree/ElementTree.py", line 174, in parse
    parser.feed(data)
  File "/usr/lib/python2.4/site-packages/elementtree/ElementTree.py", line 1292, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 129, column 56 


Can You help me, what is the problem?
Here is the xml code:

<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule12</set>
        <set name="unlock_message"></set>
        <set name="info_message">^3 Bolt Rifle Only Server! ^1 Don't use sniper, pistol, machinegun, shotgun, martyr, second chance! ^2 Granades, betty, tank, airstrike and dogs are allowed!</set>
    </settings>
    <maps>
     
    </maps>   
    <weapons>
      <!-- Pistols codwaw-->
        <weapon perm="1">357magnum_mp</weapon>
        <weapon perm="1">colt_mp</weapon>
...


Thanks in advance!

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #113 on: March 11, 2009, 10:05:41 PM »
It says that you have an invalid token on line 129 (column 56) of your plugin_antinoob.xml.

Can you check what's there? Or maybe paste the complete config here (in [ code ] tags) or on pastebin.com so we can look at it?

Offline McLoad

  • Jr. Member
  • **
  • Posts: 17
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #114 on: March 11, 2009, 10:16:16 PM »
Thanks the fast reply, here is the xml code:

Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule12</set>
        <set name="unlock_message"></set>
        <set name="info_message">^3 Bolt Rifle Only Server! ^1 Don't use sniper, pistol, machinegun, shotgun, martyr, second chance! ^2 Granades, betty, tank, airstrike and dogs are allowed!</set>
    </settings>
    <maps>
     
    </maps>   
    <weapons>
<!-- Pistols codwaw-->
        <weapon perm="1">357magnum_mp</weapon>
        <weapon perm="1">colt_mp</weapon>
        <weapon perm="1">walther_mp</weapon>
        <weapon perm="1">tokarev_mp</weapon>
        <weapon perm="1">syrette_mp</weapon>
        <weapon perm="1">nambu_mp</weapon>
        <!-- Rockets codwaw-->
        <weapon perm="1">bazooka_mp</weapon>
<weapon perm="1">panzershrek_mp</weapon>
<!-- Tubes codwaw-->
        <weapon perm="1">gl_gewehr43_mp</weapon>
        <weapon perm="1">gl_kar98k_mp</weapon>
        <weapon perm="1">gl_m1garand_mp</weapon>
        <weapon perm="1">gl_mosinrifle_mp</weapon>
        <weapon perm="1">gl_springfield_mp</weapon>
        <weapon perm="1">gl_type99rifle_mp</weapon>
<weapon perm="1">kar98k_gl_mp</weapon>
        <weapon perm="1">mosinrifle_gl_mp</weapon>
        <weapon perm="1">springfield_gl_mp</weapon>
        <weapon perm="1">type99rifle_gl_mp</weapon>
        <!-- Flamethrower codwaw-->
        <weapon perm="1">m2_flamethrower_mp</weapon>
<!-- Rifles codwaw-->
        <weapon perm="1">gewehr43_aperture_mp</weapon>
        <weapon perm="1">gewehr43_gl_mp</weapon>
        <weapon perm="1">gewehr43_mp</weapon>
        <weapon perm="1">gewehr43_silenced_mp</weapon>
        <weapon perm="1">gewehr43_telescopic_mp</weapon>
        <weapon perm="1">m1carbine_aperture_mp</weapon>
<weapon perm="1">m1carbine_bayonet_mp</weapon>
        <weapon perm="1">m1carbine_bigammo_mp</weapon>
        <weapon perm="1">m1carbine_flash_mp</weapon>
        <weapon perm="1">m1carbine_mp</weapon>
        <weapon perm="1">m1garand_bayonet_mp</weapon>
        <weapon perm="1">m1garand_flash_mp</weapon>
<weapon perm="1">m1garand_gl_mp</weapon>
        <weapon perm="1">m1garand_mp</weapon>
        <weapon perm="1">m1garand_scoped_mp</weapon>
        <weapon perm="1">stg44_aperture_mp</weapon>
        <weapon perm="1">stg44_flash_mp</weapon>
        <weapon perm="1">stg44_mp</weapon>
<weapon perm="1">stg44_telescopic_mp</weapon>
        <weapon perm="1">svt40_aperture_mp</weapon>
        <weapon perm="1">svt40_flash_mp</weapon>
        <weapon perm="1">svt40_mp</weapon>
        <weapon perm="1">svt40_telescopic_mp</weapon>
<!-- Snipers codwaw-->
        <weapon perm="1">kar98k_scoped_mp</weapon>
        <weapon perm="1">mosinrifle_scoped_mp</weapon>
        <weapon perm="1">springfield_scoped_mp</weapon>
        <weapon perm="1">type99rifle_scoped_mp</weapon>
        <weapon perm="1">ptrs41_mp</weapon>
<!-- Shotguns codwaw-->
        <weapon perm="1">doublebarreledshotgun_grip_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_sawoff_mp</weapon>
        <weapon perm="1">shotgun_bayonet_mp</weapon>
        <weapon perm="1">shotgun_grip_mp</weapon>
        <weapon perm="1">shotgun_mp</weapon>
<!-- Submachineguns codwaw-->
        <weapon perm="1">mp40_aperture_mp</weapon>
<weapon perm="1">mp40_bigammo_mp</weapon>
        <weapon perm="1">mp40_mp</weapon>
        <weapon perm="1">mp40_silenced_mp</weapon>
        <weapon perm="1">ppsh_aperture_mp</weapon>
        <weapon perm="1">ppsh_bigammo_mp</weapon>
        <weapon perm="1">ppsh_mp</weapon>
<weapon perm="1">thompson_aperture_mp</weapon>
        <weapon perm="1">thompson_bigammo_mp</weapon>
        <weapon perm="1">thompson_mp</weapon>
        <weapon perm="1">thompson_silenced_mp</weapon>
        <weapon perm="1">type100smg_aperture_mp</weapon>
        <weapon perm="1">type100smg_bigammo_mp</weapon>
<weapon perm="1">type100smg_mp</weapon>
        <weapon perm="1">type100smg_silenced_mp</weapon>
<!-- Light machineguns-->
        <weapon perm="1">30cal_bipod_crouch_mp</weapon>
        <weapon perm="1">30cal_bipod_mp</weapon>
        <weapon perm="1">30cal_bipod_prone_mp</weapon>
        <weapon perm="1">30cal_bipod_stand_mp</weapon>
        <weapon perm="1">30cal_mp</weapon>
<weapon perm="1">bar_bipod_crouch_mp</weapon>
        <weapon perm="1">bar_bipod_mp</weapon>
        <weapon perm="1">bar_bipod_prone_mp</weapon>
        <weapon perm="1">bar_bipod_stand_mp</weapon>
        <weapon perm="1">bar_mp</weapon>
        <weapon perm="1">dp28_bipod_crouch_mp</weapon>
<weapon perm="1">dp28_bipod_mp</weapon>
        <weapon perm="1">dp28_bipod_prone_mp</weapon>
        <weapon perm="1">dp28_bipod_stand_mp</weapon>
        <weapon perm="1">dp28_mp</weapon>
        <weapon perm="1">fg42_bipod_crouch_mp</weapon>
        <weapon perm="1">fg42_bipod_mp</weapon>
<weapon perm="1">fg42_bipod_prone_mp</weapon>
        <weapon perm="1">fg42_bipod_stand_mp</weapon>
        <weapon perm="1">fg42_mp</weapon>
        <weapon perm="1">fg42_telescopic_mp</weapon>
<weapon perm="1">mg42_bipod_crouch_mp</weapon>
        <weapon perm="1">mg42_bipod_mp</weapon>
<weapon perm="1">mg42_bipod_prone_mp</weapon>
        <weapon perm="1">mg42_bipod_stand_mp</weapon>
        <weapon perm="1">mg42_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_crouch_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_prone_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_stand_mp</weapon>
<weapon perm="1">type99lmg_bayonet_mp</weapon>
        <weapon perm="1">type99lmg_bipod_mp</weapon>
<weapon perm="1">type99lmg_mp</weapon>
<!-- Martyr, Second Chance codwaw-->
        <weapon perm="1">frag_grenade_short_mp</weapon>
<weapon perm="1">kamikaze_gunner_mp</weapon>
<weapon perm="1">kamikaze_mp</weapon>


             
        <!-- Nades -->   
        <!-- <weapon perm="0">frag_grenade_mp</weapon>--!>
        <!-- Airstike -->       
        <!--<weapon perm="0">artillery_mp</weapon>--!>
        <!-- Heli -->       
        <!-- <weapon perm="0">helicopter_mp</weapon>        -->   
       
    </weapons>
</configuration>

I checked this row, but i can't find any error here. Maybe i wrong. This is the row 129:

   <!-- <weapon perm="0">frag_grenade_mp</weapon>--!>

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #115 on: March 11, 2009, 10:17:00 PM »
it's --> not --!>

<!-- is right though

Offline McLoad

  • Jr. Member
  • **
  • Posts: 17
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #116 on: March 11, 2009, 10:19:27 PM »
i delete these rows (with the rem), and try to restart.

Offline McLoad

  • Jr. Member
  • **
  • Posts: 17
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #117 on: March 11, 2009, 10:20:49 PM »
Thanks! (What a mistake, i am blind)

Offline McLoad

  • Jr. Member
  • **
  • Posts: 17
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #118 on: March 11, 2009, 11:46:25 PM »
I get the same error message in he b3 log.
Now in the xml file i haven't 129 rows, only 126.

This is my xml:

Code: [Select]
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule12</set>
        <set name="unlock_message"></set>
        <set name="info_message">^3 Bolt Rifle Only Server! ^1 Don't use sniper, pistol, machinegun, shotgun, martyr, second chance! ^2 Granades, betty, tank, airstrike and dogs are allowed!</set>
    </settings>
    <maps>
     
    </maps>   
    <weapons>
<!-- Pistols codwaw-->
        <weapon perm="1">357magnum_mp</weapon>
        <weapon perm="1">colt_mp</weapon>
        <weapon perm="1">walther_mp</weapon>
        <weapon perm="1">tokarev_mp</weapon>
        <weapon perm="1">syrette_mp</weapon>
        <weapon perm="1">nambu_mp</weapon>
        <!-- Rockets codwaw-->
        <weapon perm="1">bazooka_mp</weapon>
<weapon perm="1">panzershrek_mp</weapon>
<!-- Tubes codwaw-->
        <weapon perm="1">gl_gewehr43_mp</weapon>
        <weapon perm="1">gl_kar98k_mp</weapon>
        <weapon perm="1">gl_m1garand_mp</weapon>
        <weapon perm="1">gl_mosinrifle_mp</weapon>
        <weapon perm="1">gl_springfield_mp</weapon>
        <weapon perm="1">gl_type99rifle_mp</weapon>
<weapon perm="1">kar98k_gl_mp</weapon>
        <weapon perm="1">mosinrifle_gl_mp</weapon>
        <weapon perm="1">springfield_gl_mp</weapon>
        <weapon perm="1">type99rifle_gl_mp</weapon>
        <!-- Flamethrower codwaw-->
        <weapon perm="1">m2_flamethrower_mp</weapon>
<!-- Rifles codwaw-->
        <weapon perm="1">gewehr43_aperture_mp</weapon>
        <weapon perm="1">gewehr43_gl_mp</weapon>
        <weapon perm="1">gewehr43_mp</weapon>
        <weapon perm="1">gewehr43_silenced_mp</weapon>
        <weapon perm="1">gewehr43_telescopic_mp</weapon>
        <weapon perm="1">m1carbine_aperture_mp</weapon>
<weapon perm="1">m1carbine_bayonet_mp</weapon>
        <weapon perm="1">m1carbine_bigammo_mp</weapon>
        <weapon perm="1">m1carbine_flash_mp</weapon>
        <weapon perm="1">m1carbine_mp</weapon>
        <weapon perm="1">m1garand_bayonet_mp</weapon>
        <weapon perm="1">m1garand_flash_mp</weapon>
<weapon perm="1">m1garand_gl_mp</weapon>
        <weapon perm="1">m1garand_mp</weapon>
        <weapon perm="1">m1garand_scoped_mp</weapon>
        <weapon perm="1">stg44_aperture_mp</weapon>
        <weapon perm="1">stg44_flash_mp</weapon>
        <weapon perm="1">stg44_mp</weapon>
<weapon perm="1">stg44_telescopic_mp</weapon>
        <weapon perm="1">svt40_aperture_mp</weapon>
        <weapon perm="1">svt40_flash_mp</weapon>
        <weapon perm="1">svt40_mp</weapon>
        <weapon perm="1">svt40_telescopic_mp</weapon>
<!-- Snipers codwaw-->
        <weapon perm="1">kar98k_scoped_mp</weapon>
        <weapon perm="1">mosinrifle_scoped_mp</weapon>
        <weapon perm="1">springfield_scoped_mp</weapon>
        <weapon perm="1">type99rifle_scoped_mp</weapon>
        <weapon perm="1">ptrs41_mp</weapon>
<!-- Shotguns codwaw-->
        <weapon perm="1">doublebarreledshotgun_grip_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_mp</weapon>
        <weapon perm="1">doublebarreledshotgun_sawoff_mp</weapon>
        <weapon perm="1">shotgun_bayonet_mp</weapon>
        <weapon perm="1">shotgun_grip_mp</weapon>
        <weapon perm="1">shotgun_mp</weapon>
<!-- Submachineguns codwaw-->
        <weapon perm="1">mp40_aperture_mp</weapon>
<weapon perm="1">mp40_bigammo_mp</weapon>
        <weapon perm="1">mp40_mp</weapon>
        <weapon perm="1">mp40_silenced_mp</weapon>
        <weapon perm="1">ppsh_aperture_mp</weapon>
        <weapon perm="1">ppsh_bigammo_mp</weapon>
        <weapon perm="1">ppsh_mp</weapon>
<weapon perm="1">thompson_aperture_mp</weapon>
        <weapon perm="1">thompson_bigammo_mp</weapon>
        <weapon perm="1">thompson_mp</weapon>
        <weapon perm="1">thompson_silenced_mp</weapon>
        <weapon perm="1">type100smg_aperture_mp</weapon>
        <weapon perm="1">type100smg_bigammo_mp</weapon>
<weapon perm="1">type100smg_mp</weapon>
        <weapon perm="1">type100smg_silenced_mp</weapon>
<!-- Light machineguns-->
        <weapon perm="1">30cal_bipod_crouch_mp</weapon>
        <weapon perm="1">30cal_bipod_mp</weapon>
        <weapon perm="1">30cal_bipod_prone_mp</weapon>
        <weapon perm="1">30cal_bipod_stand_mp</weapon>
        <weapon perm="1">30cal_mp</weapon>
<weapon perm="1">bar_bipod_crouch_mp</weapon>
        <weapon perm="1">bar_bipod_mp</weapon>
        <weapon perm="1">bar_bipod_prone_mp</weapon>
        <weapon perm="1">bar_bipod_stand_mp</weapon>
        <weapon perm="1">bar_mp</weapon>
        <weapon perm="1">dp28_bipod_crouch_mp</weapon>
<weapon perm="1">dp28_bipod_mp</weapon>
        <weapon perm="1">dp28_bipod_prone_mp</weapon>
        <weapon perm="1">dp28_bipod_stand_mp</weapon>
        <weapon perm="1">dp28_mp</weapon>
        <weapon perm="1">fg42_bipod_crouch_mp</weapon>
        <weapon perm="1">fg42_bipod_mp</weapon>
<weapon perm="1">fg42_bipod_prone_mp</weapon>
        <weapon perm="1">fg42_bipod_stand_mp</weapon>
        <weapon perm="1">fg42_mp</weapon>
        <weapon perm="1">fg42_telescopic_mp</weapon>
<weapon perm="1">mg42_bipod_crouch_mp</weapon>
        <weapon perm="1">mg42_bipod_mp</weapon>
<weapon perm="1">mg42_bipod_prone_mp</weapon>
        <weapon perm="1">mg42_bipod_stand_mp</weapon>
        <weapon perm="1">mg42_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_crouch_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_prone_mp</weapon>
        <weapon perm="1">type99_lmg_bipod_stand_mp</weapon>
<weapon perm="1">type99lmg_bayonet_mp</weapon>
        <weapon perm="1">type99lmg_bipod_mp</weapon>
<weapon perm="1">type99lmg_mp</weapon>
<!-- Martyr, Second Chance codwaw-->
        <weapon perm="1">frag_grenade_short_mp</weapon>
<weapon perm="1">kamikaze_gunner_mp</weapon>
<weapon perm="1">kamikaze_mp</weapon>
    </weapons>
</configuration>

Any idea?

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #119 on: March 12, 2009, 06:51:14 PM »
Did you restart the Bot?

 


Rate this page +1 at Google Search