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 Discussion (Moderator: MordyT)AntiNoob with Black Ops.. !!PLEASE HELP!!
Pages: [1] 2   Go Down
  Print  
Author Topic: AntiNoob with Black Ops.. !!PLEASE HELP!!  (Read 2132 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: Cod7
Posts: 2
Offline Offline
« on: February 18, 2011, 01:58:57 AM »

I really need some help here getting the AntiNoob plugin working. Our main rule is NO Nades for first 30 seconds. Now this includes Tubes, rpg's and RCx's. But first and foremost I would just like it to kick for use of grenades in the first 30secs. Here is my b3.xml plugin section and my antinoob.xml

 


   -->
      <plugin name="antinoob" priority="9" config="@b3/extplugins/conf/plugin_antinoob.xml"></plugin>
      <plugin name="admin" config="@conf/plugin_admin.xml" />
      <plugin name="censor" config="@conf/plugin_censor.xml" />
      <plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml" />
      <plugin name="tk" config="@conf/plugin_tk.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 only needed if admin says so -->
      <plugin name="welcome" config="@conf/plugin_welcome.xml" />
   <!--   <plugin name="punkbuster" config="@conf/plugin_punkbuster.xml" /> There is no PB in Black Ops -->


 configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">30</set>
        <set name="warning_rule">rule9</set>
        <set name="banned_warning_rule">rule9</set>
        <set name="unlock_message">^3 %s seconds passed - ^3You may use Explosives!!!</set>
        <set name="info_message">^3 No nades, tubes, or explosives ^5for %s seconds of the round!!!</set>
        <set name="bannedonly_info_message">^3 Please, No nades or Explosives for 30 seconds!!!</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_banned_warn>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_m16_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_enfield_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_m14_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_famas_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_galil_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_aug_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_fnfal_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_ak47_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_commando_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">gl_ak74u_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">china_lake_mp</weapon>
   </weapon_banned_warn>     
        <!-- Nades -->
      <weapon_banned_warn>
      <weapon perm="2" mod="MOD_GRENADE">sticky_grenade_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">sticky_grenade_mp</weapon>
      <weapon perm="2" mod="MOD_IMPACT">sticky_grenade_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE">frag_grenade_mp</weapon>
      <weapon perm="2" mod="MOD_GRENADE_SPLASH">frag_grenade_mp</weapon>
      <weapon perm="2" mod="MOD_IMPACT">frag_grenade_mp</weapon>
      </weapon_banned_warn>
        <!-- Airstike -->       
        <!-- Heli -->           
        <!-- Martyr -->
        <!-- Bullets w/Launcher -->
        <!-- Pistols -->
        <!-- Rockets -->
        <weapon penalty="2" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
    </weapons>
</configuration>
Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: February 18, 2011, 06:27:28 AM »

Hey Jacko,
First thing is priority is no longer. You can remove that from the anti-n00b section in the b3.xml.
Second thing is order matters. Nothing should come before plugin_admin. The anti-n00b line should be the last line, (right after the disabled pb plugin).

I don't know about the rest, but that is the first 2 things.
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
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #2 on: February 18, 2011, 06:49:38 AM »

Here is my Antinoob config. It works for the most part. Download the lastest version and use that config file. Mine does not have the different call outs:

<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 -->

I have one error. The plugin keeps warning WORLD for some reason and I can not figure out why. I actually tried to removed these lines from the config below... but then it does not start right at all:

      <weapon mod="MOD_GRENADE_SPLASH"></weapon>
      <weapon mod="MOD_FALLING"></weapon>

How can I stop it from warning WORLD???



Quote
<configuration plugin="antinoob">
   <settings name="settings">
      <set name="warn_duration">20</set>
      <set name="warning_rule">rule3</set>
      <set name="banned_warning_rule">rule3</set>
      <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
      <set name="info_message">^3 No Explosives, Airstrike, Tubes or Heli ^5first %s seconds of the round!!!</set>
      <set name="bannedonly_info_message">^3 Please, DO NOT use Second Chance or Dual Wield weapons!!! </set>
   </settings>
<!--   <maps>
   </maps> -->
   
   <weapon_timed_warn>
      <weapon mod="MOD_GRENADE_SPLASH"></weapon>
      <weapon mod="MOD_FALLING"></weapon>
      <weapon mod="">frag_grenade_mp</weapon>
      <weapon mod="">concussion_grenade_mp</weapon>
      <weapon mod="">flash_grenade_mp</weapon>
      <weapon mod="">sticky_grenade_mp</weapon>
      <weapon mod="">tabun_gas_mp</weapon>
      <weapon mod="">rcbomb_mp</weapon>
      <weapon mod="">crossbow_explosive_mp</weapon>      
      <weapon mod="">gl_ak47_mp</weapon>
      <weapon mod="">ak47_gl_mp</weapon>
      <weapon mod="">gl_ak74u_mp</weapon>
      <weapon mod="">ak74u_gl_mp</weapon>      
      <weapon mod="">gl_aug_mp</weapon>
      <weapon mod="">aug_gl_mp</weapon>      
      <weapon mod="">gl_commando_mp</weapon>
      <weapon mod="">commando_gl_mp</weapon>      
      <weapon mod="">gl_enfield_mp</weapon>
      <weapon mod="">enfield_gl_mp</weapon>      
      <weapon mod="">gl_galil_mp</weapon>
      <weapon mod="">galil_gl_mp</weapon>      
      <weapon mod="">gl_famas_mp</weapon>
      <weapon mod="">famas_gl_mp</weapon>      
      <weapon mod="">gl_fnfal_mp</weapon>
      <weapon mod="">fnfal_gl_mp</weapon>      
      <weapon mod="">gl_m14_mp</weapon>
      <weapon mod="">m14_gl_mp</weapon>      
      <weapon mod="">gl_m16_mp</weapon>
      <weapon mod="">m16_gl_mp</weapon>      
      <weapon mod="">rpg_mp</weapon>      
   </weapon_timed_warn>
<!--
   <weapon_timed_kick>
   </weapon_timed_kick>
   <weapon_banned_kick>
   </weapon_banned_kick> -->
   <weapon_banned_warn>
      <weapon mod="MOD_FALLING"></weapon>
      <weapon mod="">cz75dw_mp</weapon>
      <weapon mod="">hs10dw_mp</weapon>
      <weapon mod="">kiparisdw_mp</weapon>
      <weapon mod="">m1911dw_mp</weapon>
      <weapon mod="">mac11dw_mp</weapon>
      <weapon mod="">makarovdw_mp</weapon>
      <weapon mod="">pm63dw_mp</weapon>
      <weapon mod="">pythondw_mp</weapon>
      <weapon mod="">skorpiondw_mp</weapon>      
   </weapon_banned_warn>
</configuration>


Thanks,
Ski
« Last Edit: February 19, 2011, 08:01:01 AM by Ski » Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #3 on: February 19, 2011, 08:00:17 AM »

Does anyone know why I have to have the line in the antinoob.xml config file for this plugin to work with Black Ops?

      <weapon mod="MOD_FALLING"></weapon>


Thanks,
Ski
Logged
Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1
Offline Offline
« Reply #4 on: February 21, 2011, 05:44:45 AM »

Hey all. I'm still fairly new at programming B3 but ive done pretty good just with going with what I've been reading on these forums. However, I'm having issues getting this plugin to work. I'm still trying to understand how this plugin reads info on the logs and decides how to react to what log entries, Basically, All I'm needing is it to warn players for using grenade launchers at anytime. They can have it on their weapon, just not use it in our server. Based on some of the configs I found in here here's what I have so far.

<configuration plugin="antinoob">
<settings name="settings">
 <set name="warn_duration">0</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 Grenade Launchers or Second Chance allowed!!!</set>
 <set name="bannedonly_info_message">^3 No Grenade Launchers or Second Chance allowed!!!</set>
 </settings>


 <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_banned_warn>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_m16_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_enfield_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_m14_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_famas_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_galil_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_aug_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_fnfal_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_ak47_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_commando_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">gl_ak74u_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
 <weapon perm="1" mod="MOD_GRENADE">china_lake_mp</weapon>
 </weapon_banned_warn>
<!-- Nades
 -->
<!-- Airstike
 -->
<!-- Heli
 -->
<!-- Martyr
 -->
<!-- Bullets w/Launcher
 -->
<!-- Pistols
 -->
<!-- Rockets
 -->
<!-- Mounted Machine Gun
 -->
 </weapons>
 </configuration>

However, It isnt warning for anything. Granted I'm a superadmin and I'd heard it won't warn admins, but I had some users try it as well, but no warning. Anything I'm not doing right?
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #5 on: February 21, 2011, 06:19:43 AM »

It's possible that same configurations are missing there.

try to find out using the games_mp.log which weapon will not be kicked. Unset an admin for that, that was the way I checked my configuration Wink
Logged
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: Cod7
Posts: 2
Offline Offline
« Reply #6 on: February 25, 2011, 01:24:30 AM »

Alrighty I must be missing something. When I make the .xml file look the way it is supposed to, nothing happens. When I Place all the weapons in 2 catagories Warn and Kick then it will warn people but glitches real bad. It even warns for smoke and stun nades. I have no idea why. They are nowhere in my antinoob.xml. Could it have something to do with the mod_grenade_splash in the beginning? But the plugin will not load without it.

Is there anyone who has this running in BLACK Ops and has it functional? If so can I see your config please? And what version are you running?
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #7 on: February 25, 2011, 04:35:04 AM »

mine is running with black ops and antinoob.

I had some trouble too, but i fixed by doing dirty things in the source code ^^

first my xml:
Code:
<configuration plugin="antinoob">
<settings name="settings">
<set name="warn_duration">0</set>
<set name="warning_rule">rule1</set>
<set name="banned_warning_rule">rule1</set>
<set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
<set name="info_message">^3 No nades ^5first %s seconds of the round!!!</set>
<set name="bannedonly_info_message">^1Don't use grenade launchers! ^5Wurstpeter^1 will punish it!</set>
</settings>
<weapon_banned_warn>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_m16_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_enfield_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_m14_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_famas_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_galil_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_aug_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_fnfal_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_ak47_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_commando_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">gl_ak74u_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
<weapon perm="1" mod="MOD_GRENADE">china_lake_mp</weapon>
</weapon_banned_warn>
 </configuration> 
As long as I only use it for noobtube ban at every time i changed something in the antinoob.py
It was:
Code:
if self.console.game.roundTime() <= self._warnduration:
that means the weapons will only be checked in the warnduration and it seems like every check has to prof it. The attribute "perm" doesn't exist in the antinoob.py I installed.


Be carefull with source code changes!
And what I did (shame on me, some dirty and lazy changes)
Code:
if self.console.game.roundTime() >= self._warnduration:
That means, every event will be checked all time and the warnduration must be set to zero, otherwise it wouldnt check the wirst warnduration seconds.
It's better to remove the if condition or to add the "perm" weapon attribute.
Logged
Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: Cod7
Posts: 1
Offline Offline
« Reply #8 on: March 01, 2011, 03:25:44 PM »

Could anyone help me out with an config file that warns a player 1 time, then kicks them for using all tubes, grenade launchers, stuns, nova, and claymores?
Logged
Full Member
***
OS: Windows
Type: Gameserver Rental Co.
Gameservers: cod7
Posts: 66
Offline Offline
« Reply #9 on: March 09, 2011, 11:57:15 AM »

Hi guys.. can anybody help me pls... antinoob 1.0.7 dont work by me ?

in logs i can see the antinoob was loading fine, but whe a banned weapon a player use i can see in logs:

110309 20:45:37   ERROR   handler AntinoobPlugin could not handle event Client Damage: TypeError: int() argument must be a string or a number, not 'NoneType' [('C:\\xampp\\htdocs\\bot\\b3\\parser.py', 933, 'handleEvents', 'hfunc.parseEvent(event)'), ('C:\\xampp\\htdocs\\bot\\b3\\plugin.py', 157, 'parseEvent', 'self.onEvent(event)'), ('C:\\xampp\\htdocs\\bot\\b3\\extplugins\\antinoob.py', 168, 'onEvent', 'result = self.checkWeapon(weaponname, mod)'), ('C:\\xampp\\htdocs\\bot\\b3\\extplugins\\antinoob.py', 155, 'checkWeapon', 'return int(bannedweaponInfo._penaltytype)')]

here is my antinoob.xml:

<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">0</set>
        <set name="warning_rule">rule10</set>
        <set name="banned_warning_rule">rule10</set>
        <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
        <set name="info_message">^1Don't use grenade launchers and second chance/Last stand!</set>
        <set name="bannedonly_info_message">^1Don't use grenade launchers and second chance/Last stand!!</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 perm="2" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_m16_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_enfield_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_m14_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_famas_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_galil_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_aug_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_fnfal_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_ak47_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_commando_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">gl_ak74u_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
        <weapon perm="2" mod="MOD_GRENADE">china_lake_mp</weapon>
        <!-- Nades -->   
        <!-- Airstike -->       
        <!-- Heli -->       
       
        <!-- Martyr -->
        <weapon mod="MOD_FALLING"></weapon>
        <!-- Bullets w/Launcher -->
       
        <!-- Pistols -->
       
        <!-- Rockets -->
        <weapon penalty="2" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
       
    </weapons>
</configuration>


Please Help !!! Thx
Logged

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #10 on: March 09, 2011, 12:25:47 PM »

Not sure about this, but your xml has

  <weapons>

and

  </weapons>

The examples that people say work have

 <weapon_banned_warn>

and

 </weapon_banned_warn>
Logged
Full Member
***
OS: Windows
Type: Gameserver Rental Co.
Gameservers: cod7
Posts: 66
Offline Offline
« Reply #11 on: March 11, 2011, 03:58:31 AM »

hi guys...  Grin

Now i have 1.0.8 with these config file and antinoob starts correctly but dont want to work.....


<configuration plugin="antinoob">
   <settings name="settings">
      <set name="warn_duration">5</set>
      <set name="warning_rule">rule10</set>
      <set name="banned_warning_rule">rule10</set>
      <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!!</set>
      <set name="info_message">^3 No nades, airstrike, tubes or heli ^5first %s seconds of the round!!!</set>
      <set name="bannedonly_info_message">^3 Please, No marty/last stand, GL's or RPG's !!!</set>
   </settings>
<!--   <maps>
      <map name="mp_citystreets">15</map>
   </maps> -->
   
   <weapon_timed_warn>
      <weapon mod="MOD_GRENADE_SPLASH"></weapon>
   </weapon_timed_warn>
<!--
   <weapon_timed_kick>
   </weapon_timed_kick>
   <weapon_banned_kick>
   </weapon_banned_kick> -->
   <weapon_banned_warn>
      <weapon mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_m16_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_enfield_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_m14_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_famas_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_galil_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_aug_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_fnfal_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_ak47_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_commando_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
    <weapon mod="MOD_GRENADE">gl_ak74u_mp</weapon>
    <weapon mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
    <weapon mod="MOD_GRENADE">china_lake_mp</weapon>
    <weapon mod="MOD_FALLING"></weapon>
   </weapon_banned_warn>
</configuration>


What is my mistake Huh

Can anybody post a working (cod7) antinoob.xml Huh
Logged

Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #12 on: March 14, 2011, 12:54:14 AM »

This config warns and kicks for all GL based weps, during the entire map. (cod7) I run it on our
servers and works like a charm without any world-chatspam Smiley


Quote
<configuration plugin="antinoob">
   <settings name="settings">
      <set name="warn_duration">0</set>
      <set name="warning_rule">rule9</set>
      <set name="banned_warning_rule">rule9</set>
      <set name="unlock_message"></set>
      <set name="info_message">^0[^7Say ^1NO ^7to ^1T^7(n)^1ubes^7!!^0]</set>
      <set name="bannedonly_info_message">^0[^7All types of ^1T^7(n)^1ubes ^7are NOT allowed^0]</set>
   </settings>
   <weapon_banned_warn>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_m16_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_enfield_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_enfield_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_m14_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_famas_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_famas_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_galil_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_galil_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_aug_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_aug_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_fnfal_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_fnfal_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_ak47_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_commando_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_commando_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">gl_ak74u_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">gl_ak74u_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE_SPLASH">china_lake_mp</weapon>
      <weapon perm="1" mod="MOD_GRENADE">china_lake_mp</weapon>
   </weapon_banned_warn>
</configuration>
 


(Warns & Kick set in plugin_admin.xml)

Quote


<!-- alert_kick_num : if a player reach this number of active warnings he will be notified by with message then tempbanned -->
<set name="alert_kick_num">3</set>

<!-- alert_kick_num : if a player reach this number of active warnings he will be tempbanned right away -->
<set name="instant_kick_num">5</set>

<!-- tempban_num : when the number of warnings goes over this limit, the player is tempban for tempban_duration -->
<set name="tempban_num">6</set>

<!-- tempban_duration : for how long to tempban a players whose number of warning exceeded tempban_num -->
<set name="tempban_duration">15min</set>

<!-- max_duration : when the bot decides to tempban (warning exceeding alert_kick_num) the ban duration is computed from the duration of each of the active warnings but will never exceed max_duration -->
<set name="max_duration">1d</set>
Logged


Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« Reply #13 on: March 30, 2011, 12:31:23 AM »

Here is mine, working correctly:

Code:
<configuration plugin="antinoob">
<settings name="settings">
<set name="warn_duration">5</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 nades, airstrike, tubes or heli ^5first %s seconds of the round!!!</set>
<set name="bannedonly_info_message">^3 Please Grenade Launcher's or RPG's</set>
</settings>
<weapon_timed_warn>
</weapon_timed_warn>
<!--
<weapon_timed_kick>
</weapon_timed_kick>
<weapon_banned_kick>
</weapon_banned_kick> -->
<weapon_banned_warn>
<weapon mod="">china_lake_mp</weapon>
<weapon mod="">gl_ak47_mp</weapon>
<weapon mod="">ak47_gl_mp</weapon>
<weapon mod="">gl_ak74u_mp</weapon>
<weapon mod="">ak74u_gl_mp</weapon>
<weapon mod="">aug_gl_mp</weapon>
<weapon mod="">gl_aug_mp</weapon>
<weapon mod="">gl_commando_mp</weapon>
<weapon mod="">commando_gl_mp</weapon>
<weapon mod="">enfield_gl_mp</weapon>
<weapon mod="">gl_enfield_mp</weapon>
<weapon mod="">gl_famas_mp</weapon>
<weapon mod="">famas_gl_mp</weapon>
<weapon mod="">fnfal_gl_mp</weapon>
<weapon mod="">gl_fnfal_mp</weapon>
<weapon mod="">galil_gl_mp</weapon>
<weapon mod="">gl_galil_mp</weapon>
<weapon mod="">m14_gl_mp</weapon>
<weapon mod="">gl_m14_mp</weapon>
<weapon mod="">m16_gl_mp</weapon>
<weapon mod="">gl_m16_mp</weapon>
<weapon mod="">m72_law_mp</weapon>
<weapon mod="">rpg_mp</weapon>
</weapon_banned_warn>
</configuration>

Not sure what

mod="MOD_GRENADE"

and

mod="MOD_GRENADE_Splash"

means but it works 100%, we already have a number of temp banned players
Logged
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CoD 7, BF3
Posts: 37
Offline Offline
« Reply #14 on: June 12, 2011, 01:46:27 PM »

What must i do that Antinoob kick for Last Stand/ Second Chance
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal