2
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 168729 times)

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #75 on: February 18, 2009, 05:24:01 PM »
Hi!

Ok, thanks for this!  :)

But on further question, do you have the version 1.0.3 of your plugin archived? Because with that version the message was displayed correctly only on shipment.


Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #77 on: February 19, 2009, 03:12:45 AM »
Is anyone having luck with this?

Still not working at all for me. No warning, no nothing.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #78 on: February 19, 2009, 02:11:07 PM »
O_O
... have you changed anything? Could you send me the logs again? Please include XML config file.

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #79 on: February 19, 2009, 06:40:44 PM »
O_O
... have you changed anything? Could you send me the logs again? Please include XML config file.

Sent. I had to revert back to 1.0.3 before the addition of:
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.

and that is working as it did before.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #80 on: February 19, 2009, 10:53:57 PM »

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #81 on: February 20, 2009, 12:50:49 AM »
Thanks so much. Looks like it's working as planned. I'll report back.

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #82 on: February 20, 2009, 01:39:51 AM »
Mine is working great, with this one exception:

Quote
090219 19:36:39   DEBUG   AntinoobPlugin: New Map: mp_vacant
090219 19:36:39   DEBUG   AntinoobPlugin: ^1NO ^3airstikes^7, ^3helis^7, or ^3RPGs ^7in the first^1 20 ^7seconds!
090219 19:36:39   DEBUG   AntinoobPlugin: ^3 Please, No nades, airstrike, tubes !!!
090219 19:36:39   VERBOSE   RCON sending (xxx.xxx.xxx.xxx) say   ^1NO ^3airstikes^7, ^3helis^7, or ^3RPGs ^7in the first^1 20 ^7seconds!
090219 19:36:41   VERBOSE   RCON sending (xxx.xxx.xxx.xxx) say   ^3 Please, No nades, airstrike, tubes !!!

For some reason, two info messages are displayed at the start of every round?  The xml is edited properly and everything else is working fine.
« Last Edit: February 20, 2009, 01:47:35 AM by Lolzumad »

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #83 on: February 20, 2009, 08:49:46 AM »
No, that's a b3 error, meaning that it couldn't get a good connection the first time round.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #84 on: February 20, 2009, 09:25:40 AM »
Well.. that's interesting. I saw similar issue at your b3.log. Status.py plugin writes XML several times (about 7-10) almost all the time. Is it set to write it each 3 seconds or it's not expected.

Anyway, have you changed penaltytype to 3 at all the defined weapons? I'm asking because normally plugin does not showing this message "^1NO ^3airstikes^7, ^3helis^7, or ^3RPGs ^7in the first^1 20 ^7seconds!" (timed restriction message) when only banned (map long restriction) weapons are defined.

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #85 on: February 20, 2009, 02:17:19 PM »
Quote
<configuration plugin="antinoob">
    <settings name="settings">
        <set name="warn_duration">20</set>
        <set name="warning_rule">rule2</set>
        <set name="banned_warning_rule">rule1</set>
        <set name="unlock_message">%s ^3seconds passed ^7- ^2you can now use ^2AS^7/^2Heli^7/^2RPG^7!</set>
        <set name="info_message">^1NO ^3airstikes^7, ^3helis^7, or ^3RPGs ^7in the first^1 %s ^7seconds!</set>
        <set name="bannedonly_info_message">^1NO ^3noob tubes^7, ^3last stand^7 or ^3marty ^1allowed^7!</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 -->   
        <!-- Airstike -->
        <weapon penalty="2" mod="">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="0" mod="">rpg_mp</weapon>
        <!-- Mounted Machine Gun -->
    </weapons>
</configuration>

We have a few weapons that aren't map long restrictions that we would like to keep that way.  And it isn't just the first round of a map, it does this every round and it's probably a bit confusing to our player base.  I just happened to grab an instance of this happening in the b3.log when it was a map's first round...
« Last Edit: February 20, 2009, 03:12:39 PM by Lolzumad »

Offline Daxer

  • Jr. Member
  • **
  • Posts: 41
    • ClanGT.ORG
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #86 on: February 21, 2009, 12:04:54 AM »
Code: [Select]
<weapon penalty="3" mod="MOD_GRENADE_SPLASH"></weapon>
Hrmm I think using this code will kick anyone that kills a player  even with a frag nade, not just tubes. At least the initial testing on my server that's what i saw. I added the

Code: [Select]
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_g3_mp</weapon>
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_g36c_mp</weapon>
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_m4_mp</weapon>
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_m14_mp</weapon>
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_m16_mp</weapon>
<weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_mp</weapon>
code to the !tubes section and

Code: [Select]
<weapon penalty="0" mod="MOD_GRENADE_SPLASH"></weapon>

to the !nades section andchanged penalty to 0 to warn AFTER the time period, like normal nade rules. This seems to have resolved everything for now ...

I'll continue to test.

Dax
« Last Edit: February 21, 2009, 12:07:57 AM by Daxer »

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #87 on: February 21, 2009, 09:19:21 AM »
seeing that, maybe an option to disable the plugin for weapons, so you could add frag nades as an exception etc?

Offline FatBastard

  • Jr. Member
  • **
  • Posts: 30
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #88 on: February 22, 2009, 09:36:40 AM »
Safe to say this will not work with COD WAW?

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.4
« Reply #89 on: February 22, 2009, 10:03:36 AM »
it will (hopefully) work fine, but you will need to check your logfiles for the MODs, and change as appropriate.

For example, banning g3_mp on codwaw will do nothing.

 


Rate this page +1 at Google Search