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 ]

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by Anubis (Moderator: Anubis)Weapon Control Plugin - Antinoob v1.0.7
Pages: 1 ... 4 5 [6] 7 8 ... 28   Go Down
  Print  
Author Topic: Weapon Control Plugin - Antinoob v1.0.7  (Read 61865 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #75 on: February 18, 2009, 08:24:01 AM »

Hi!

Ok, thanks for this!  Smiley

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

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #76 on: February 18, 2009, 10:21:13 AM »

sure:
1.0.3:
http://anoobis.republika.pl/b3/antinoob/1.0.3/antinoob.zip

1.0.4:
http://anoobis.republika.pl/b3/antinoob/1.0.4/antinoob.zip

1.0.5:
http://anoobis.republika.pl/b3/antinoob/1.0.5/antinoob.zip

choose your version Wink
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #77 on: February 18, 2009, 06:12:45 PM »

Is anyone having luck with this?

Still not working at all for me. No warning, no nothing.
Logged
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #78 on: February 19, 2009, 05:11:07 AM »

O_O
... have you changed anything? Could you send me the logs again? Please include XML config file.
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #79 on: February 19, 2009, 09:40:44 AM »

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.
Logged
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #80 on: February 19, 2009, 01:53:57 PM »

Hi,
OK... I've checked the logs, and:
1)         <set name="warn_duration">10</set>
It means that TIMED weapons will be 'locked' for 10 seconds

2) <weapon penalty="2" ..... >
Well. 2 is timed, insta-kicks so it won't kick warn ppl for using those weapons after 10 seconds! You should use "3" instead of "2"

CTRl+C/CTRL+V from logs:

Code:
090218 12:35:24 DEBUG AntinoobPlugin: New Map: mp_farm
090218 12:35:24 DEBUG AntinoobPlugin: ^3 No nades, airstrike, tubes ^5for 10 seconds of the round!!!
090218 12:35:24 VERBOSE RCON sending (xxx.xxx.xxx.xxx) say ^0(^2b3^0)^7: ^3 No nades, airstrike, tubes ^5for 10 seconds of the round!!!
090218 12:35:35 DEBUG AntinoobPlugin: ^3 10 seconds passed - ^3all weapons unlocked!!!
090218 12:35:35 VERBOSE RCON sending (xxx.xxx.xxx.xxx) say ^0(^2b3^0)^7: ^3 10 seconds passed - ^3all weapons unlocked!!!

As you can see it only locks weapons for 10 seconds (at 11th second of the round it displays the 'unlock' message)

So.. please change it to the value "3", restart B3 and check how it's working now.

ps.

Since this version you don't need to have a list of tubes, you can use only this:
Code:
<weapon penalty="3" mod="MOD_GRENADE_SPLASH"></weapon>

instead of this:
Code:
        <weapon penalty="2" mod="MOD_GRENADE_SPLASH">gl_ak47_mp</weapon>
        <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>

Smiley
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #81 on: February 19, 2009, 03:50:49 PM »

Thanks so much. Looks like it's working as planned. I'll report back.
Logged
Full Member
***
Posts: 50
Offline Offline
« Reply #82 on: February 19, 2009, 04:39:51 PM »

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 19, 2009, 04:47:35 PM by Lolzumad » Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #83 on: February 19, 2009, 11:49:46 PM »

No, that's a b3 error, meaning that it couldn't get a good connection the first time round.
Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #84 on: February 20, 2009, 12: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.
Logged

Full Member
***
Posts: 50
Offline Offline
« Reply #85 on: February 20, 2009, 05:17:19 AM »

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, 06:12:39 AM by Lolzumad » Logged
Jr. Member
**
Posts: 41
Offline Offline
WWW
« Reply #86 on: February 20, 2009, 03:04:54 PM »

Code:
<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:
<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:
<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 20, 2009, 03:07:57 PM by Daxer » Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #87 on: February 21, 2009, 12:19:21 AM »

seeing that, maybe an option to disable the plugin for weapons, so you could add frag nades as an exception etc?
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #88 on: February 22, 2009, 12:36:40 AM »

Safe to say this will not work with COD WAW?
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #89 on: February 22, 2009, 01: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.
Logged

Tags: martydom 
Pages: 1 ... 4 5 [6] 7 8 ... 28   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal