In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Weapon Restrictions  (Read 1303 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« on: March 27, 2010, 03:49:44 AM »

Ok I have an issue restricting weapons. I have copied the config files that were posted for the anti noob to try and get my server Bolts only. But nothing works. I have no errors and we get warnings for the pistol and kicked for it, but nothing else. Does every weapon have to have for example "MOD_PISTOL_BULLET" to get it restricted. Simply adding 1 or 3 to the line doesnt work. I really need help with this. Thanks. Here is my Config.
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">10</set>
        <set name="warning_rule">rule11</set>
        <set name="banned_warning_rule">rule12</set>
        <set name="unlock_message">^3 %s seconds passed - ^3all weapons unlocked!!</set>
        <set name="info_message">^3 No Non-Bolt weapons allowed, Only Bolts, Nades, Knives</set>
        <set name="bannedonly_info_message">Please No Other Weapons Other Than Bolts,Nades,Knives!!</set>
    </settings>
    <maps>
       
    </maps>   
   
    <weapon_timed_warn>
          
    </weapon_timed_warn>
    <weapon_timed_kick>
         
    </weapon_timed_kick>
    <weapon_banned_kick>
       
    </weapon_banned_kick>
    <weapon_banned_warn>
         <weapon mod="MOD_PISTOL_BULLET"></weapon>
       <!-- Pistols codwaw-->
        <weapon mod="MOD_PISTOL_BULLET">357magnum_mp</weapon>
        <weapon mod="MOD_PISTOL_BULLET">colt_mp</weapon>
        <weapon mod="MOD_PISTOL_BULLET">walther_mp</weapon>
        <weapon mod="MOD_PISTOL_BULLET">tokarev_mp</weapon>
        <weapon mod="MOD_PISTOL_BULLET">syrette_mp</weapon>
        <weapon mod="MOD_PISTOL_BULLET">nambu_mp</weapon>
       <!-- Rockets codwaw-->
        <weapon mod="MOD_GRENADE_SPLASH">bazooka_mp</weapon>
       <weapon mod="MOD_GRENADE_SPLASH">panzershrek_mp</weapon>
        <!-- Tubes codwaw-->
        <weapon mod="MOD_GRENADE_SPLASH">gl_gewehr43_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">gl_kar98k_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">gl_m1garand_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">gl_mosinrifle_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">gl_springfield_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">gl_type99rifle_mp</weapon>
       <weapon mod="MOD_GRENADE_SPLASH">kar98k_gl_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">mosinrifle_gl_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">springfield_gl_mp</weapon>
        <weapon mod="MOD_GRENADE_SPLASH">type99rifle_gl_mp</weapon>
      
        <!-- Flamethrower codwaw-->
        <weapon mod="1">m2_flamethrower_mp</weapon>
      <!-- Martyr, Second Chance codwaw-->
        <weapon mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
       <weapon mod="1">kamikaze_gunner_mp</weapon>
       <weapon mod="1">kamikaze_mp</weapon>
      <!-- Rifles codwaw-->
        <weapon mod="1">gewehr43_aperture_mp</weapon>
        <weapon mod="1">gewehr43_gl_mp</weapon>
        <weapon mod="1">gewehr43_mp</weapon>
        <weapon mod="1">gewehr43_silenced_mp</weapon>
        <weapon mod="1">gewehr43_telescopic_mp</weapon>
        <weapon mod="1">m1carbine_aperture_mp</weapon>
      <weapon mod="1">m1carbine_bayonet_mp</weapon>
        <weapon mod="1">m1carbine_bigammo_mp</weapon>
        <weapon mod="1">m1carbine_flash_mp</weapon>
        <weapon mod="1">m1carbine_mp</weapon>
        <weapon mod="1">m1garand_bayonet_mp</weapon>
        <weapon mod="1">m1garand_flash_mp</weapon>
      <weapon mod="1">m1garand_gl_mp</weapon>
        <weapon mod="1">m1garand_mp</weapon>
        <weapon mod="1">m1garand_scoped_mp</weapon>
        <weapon mod="1">stg44_aperture_mp</weapon>
        <weapon mod="1">stg44_flash_mp</weapon>
        <weapon mod="1">stg44_mp</weapon>
      <weapon mod="1">stg44_telescopic_mp</weapon>
        <weapon mod="1">svt40_aperture_mp</weapon>
        <weapon mod="1">svt40_flash_mp</weapon>
        <weapon mod="1">svt40_mp</weapon>
        <weapon mod="1">svt40_telescopic_mp</weapon>
      <!-- Snipers codwaw-->
        <weapon mod="1">kar98k_scoped_mp</weapon>
        <weapon mod="1">mosinrifle_scoped_mp</weapon>
        <weapon mod="1">springfield_scoped_mp</weapon>
        <weapon mod="1">type99rifle_scoped_mp</weapon>
        <weapon mod="1">ptrs41_mp</weapon>
      <!-- Shotguns codwaw-->
        <weapon mod="1">doublebarreledshotgun_grip_mp</weapon>
        <weapon mod="1">doublebarreledshotgun_mp</weapon>
        <weapon mod="1">doublebarreledshotgun_sawoff_mp</weapon>
        <weapon mod="1">shotgun_bayonet_mp</weapon>
        <weapon mod="1">shotgun_grip_mp</weapon>
        <weapon mod="1">shotgun_mp</weapon>
      <!-- Submachineguns codwaw-->
        <weapon mod="1">mp40_aperture_mp</weapon>
      <weapon mod="">mp40_bigammo_mp</weapon>
        <weapon mod="1">mp40_mp</weapon>
        <weapon mod="1">mp40_silenced_mp</weapon>
        <weapon mod="1">ppsh_aperture_mp</weapon>
        <weapon mod="1">ppsh_bigammo_mp</weapon>
        <weapon mod="1">ppsh_mp</weapon>
      <weapon mod="1">thompson_aperture_mp</weapon>
        <weapon mod="1">thompson_bigammo_mp</weapon>
        <weapon mod="1">thompson_mp</weapon>
        <weapon mod="1">thompson_silenced_mp</weapon>
        <weapon mod="1">type100smg_aperture_mp</weapon>
        <weapon mod="1">type100smg_bigammo_mp</weapon>
      <weapon mod="1">type100smg_mp</weapon>
        <weapon mod="1">type100smg_silenced_mp</weapon>
      <!-- Light machineguns-->
        <weapon mod="1">30cal_bipod_crouch_mp</weapon>
        <weapon mod="1">30cal_bipod_mp</weapon>
        <weapon mod="1">30cal_bipod_prone_mp</weapon>
        <weapon mod="1">30cal_bipod_stand_mp</weapon>
        <weapon mod="1">30cal_mp</weapon>
      <weapon mod="1">bar_bipod_crouch_mp</weapon>
        <weapon mod="1">bar_bipod_mp</weapon>
        <weapon mod="1">bar_bipod_prone_mp</weapon>
        <weapon mod="1">bar_bipod_stand_mp</weapon>
        <weapon mod="1">bar_mp</weapon>
        <weapon mod="1">dp28_bipod_crouch_mp</weapon>
      <weapon mod="1">dp28_bipod_mp</weapon>
        <weapon mod="1">dp28_bipod_prone_mp</weapon>
        <weapon mod="1">dp28_bipod_stand_mp</weapon>
        <weapon mod="1">dp28_mp</weapon>
        <weapon mod="1">fg42_bipod_crouch_mp</weapon>
        <weapon mod="1">fg42_bipod_mp</weapon>
      <weapon mod="1">fg42_bipod_prone_mp</weapon>
        <weapon mod="1">fg42_bipod_stand_mp</weapon>
        <weapon mod="1">fg42_mp</weapon>
        <weapon mod="1">fg42_telescopic_mp</weapon>
      <weapon mod="1">mg42_bipod_crouch_mp</weapon>
        <weapon mod="1">mg42_bipod_mp</weapon>
      <weapon mod="1">mg42_bipod_prone_mp</weapon>
        <weapon mod="1">mg42_bipod_stand_mp</weapon>
        <weapon mod="1">mg42_mp</weapon>
        <weapon mod="1">type99_lmg_bipod_crouch_mp</weapon>
        <weapon mod="1">type99_lmg_bipod_prone_mp</weapon>
        <weapon mod="1">type99_lmg_bipod_stand_mp</weapon>
      <weapon mod="1">type99lmg_bayonet_mp</weapon>
        <weapon mod="1">type99lmg_bipod_mp</weapon>
      <weapon mod="1">type99lmg_mp</weapon>
    </weapon_banned_warn>                                                                                                                </configuration>
Logged

Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« Reply #1 on: March 27, 2010, 01:59:18 PM »

Anyone that can help me would be rewarded with my COD4 server that is payed up until 3 months. I play CODWAW and retired from clan gaming. I want to set my CODWAW server up as bolts only community server. I have no errors in my Log file except /~status but I know how to fix that and Im sure it doesn't have anything to do with the restrictions issue. Just a little info on my problem, when I restricted the weapons, it warns and kicks for pistols, and other weapons. But some of the weapons that I have restricted doesn't seem to be restricted at all. I want to restrict permanently all the SMG's Light machine guns, and the snipers. Those are the ones Im having trouble restricting. I am running 1.07 of antinoob, and Im not sure the B3 version it say's "Unknown" when I type in the !b3 command Thanks Lee aka Sinner
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #2 on: March 27, 2010, 02:32:09 PM »

I am running 1.07 of antinoob, and Im not sure the B3 version it say's "Unknown" when I type in the !b3 command Thanks Lee aka Sinner

when you open the b3.log the first line should say the version
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #3 on: March 27, 2010, 02:38:04 PM »

Check this post, he says it's working for him (bolts only config).

http://www.bigbrotherbot.com/forums/releases/weapon-control-plugin-antinoob-v1-0-7/msg5638/#msg5638
Logged

Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« Reply #4 on: March 27, 2010, 04:46:05 PM »

Yes I tried that config and its giving me a ton of errors but, I might beable to work them out..But this is what my log says about my B3 version "www.BigBrotherBot.com (b3) v<unknown> [nt] (Daniel)" So im not sure whats going on there.
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #5 on: March 27, 2010, 05:02:50 PM »

Fresh install time ¿

If you stop the bot then are you able to restart it ?
Logged
Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« Reply #6 on: March 27, 2010, 08:59:58 PM »

Yes it starts and stops without any problems. Someone said that the weapon restriction codes are for example (MOD_PISTOL_BULLET, MOD_GRENADE_SPLASH), and those work, I just cant figure out the codes for the SMG's and other weapons. Oh and I noticed when I added the "<plugin name="antinoob" priority="9" config="@b3/extplugins/conf/plugin_antinoob.xml"></plugin> " in the b3.xml none of the other plugins listed in there had the "></plugin>" on the end. It was just "/>" at the end. Will that effect it? Does the "></plugin>" need to be "/>"?
« Last Edit: March 27, 2010, 09:09:07 PM by LeeCollins » Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #7 on: March 27, 2010, 10:36:18 PM »

it should look something like:
Code:
<plugins> <--- this starts it
        <plugin name="chatlogger" priority="1" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
        <plugin name="chat" priority="2" config="@b3/extplugins/conf/plugin_chat.xml"/>
        <plugin name="spamcontrol" priority="3" config="@b3/conf/plugin_spamcontrol.xml"/>
        <plugin name="admin" priority="4" config="@b3/conf/plugin_admin.xml"/>
        <plugin name="tk" priority="5" config="@b3/conf/plugin_tk.xml"/>
        <plugin name="stats" priority="6" config="@b3/conf/plugin_stats.xml"/>
        <plugin name="adv" priority="7" config="@b3/conf/plugin_adv.xml"/>
        <plugin name="status" priority="8" config="@b3/conf/plugin_status.xml"/>
        <plugin name="welcome" priority="9" config="@b3/conf/plugin_welcome.xml"/>
        <plugin name="publist" priority="10" config="@b3/conf/plugin_publist.xml"/>
        <plugin name="xlrstats" priority="11" config="@b3/extplugins/conf/xlrstats.xml"/>
        <plugin name="poweradminurt" priority="12" config="@b3/extplugins/conf/poweradminurt.xml"/>
        <plugin name="spree" priority="13" config="@b3/extplugins/conf/plugin_spree.xml"/>
        <plugin name="headshotsurt" priority="14" config="@b3/extplugins/conf/headshots.xml"/>
        <plugin name="ctime" priority="15" config="@b3/extplugins/conf/plugin_ctime.xml"/>
        <plugin name="knifer" priority="16" config="@b3/extplugins/conf/knifer.xml"/>
        <plugin name="pingkicker" priority="17" config="@b3/extplugins/conf/plugin_pingkicker.xml"/>
        <plugin name="banlist" priority="18" config="@b3/extplugins/conf/banlist.xml"/>
        <plugin name="forumlink" priority="19" config="@b3/extplugins/conf/forumlink.xml"/>
</plugins>  <--- this stops it

that extra
Code:
</plugins>
is stopping the others from loading, which should of gave you errors

I only played cod once on the 360, but im sure some one knows your answer
« Last Edit: March 27, 2010, 10:38:29 PM by ryry46d9 » Logged
Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« Reply #8 on: March 27, 2010, 11:12:34 PM »

Cool thanks I will remove it and post an update.
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #9 on: March 27, 2010, 11:19:25 PM »

Alright I'm off to bed but I'll pop in here in the morning.  To see if you made and progress. Also as a side note the
Code:
<--- this starts it & <--- this stops it
don't belong in that file .... just in case if some one stops by and reads that post and goes oh I don't have them arrows Smiley
Logged
Newbie
*
OS: Linux
Type: Renting Server with B3
Gameservers: COD5
Posts: 8
Offline Offline
« Reply #10 on: April 03, 2010, 09:26:33 PM »

Fixed.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal