documentation
download & extend
community & support
B3 hosting
May 24, 2012, 01:02:41 AM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
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 Forum
Add-Ons
Plugins Discussion
Plugins by Anubis
(Moderator:
Anubis
)Weapon Control Plugin - Antinoob v1.0.7
Pages:
1
...
8
9
[
10
]
11
12
...
28
Go Down
« previous
next »
Print
Author
Topic: Weapon Control Plugin - Antinoob v1.0.7 (Read 61865 times)
Anubis
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 228
Offline
Re: Weapon Control Plugin - Antinoob v1.0.4
«
Reply #135 on:
March 25, 2009, 03:46:06 PM »
OK... I've prepared new plugin version. I hope it will be easier to configure restrictions. We have 4 sections to specify restrictions:
Code:
<weapon_timed_warn>
<weapon mod="MOD_GRENADE_SPLASH"></weapon>
</weapon_timed_warn>
<weapon_timed_kick>
<weapon mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
</weapon_timed_kick>
<weapon_banned_kick>
<weapon mod="MOD_PISTOL_BULLET">ak47_mp</weapon>
</weapon_banned_kick>
<weapon_banned_warn>
<weapon mod="MOD_FALLING"></weapon>
<weapon mod="">gl_g36c_mp</weapon>
</weapon_banned_warn>
as you see can still use mod or weapon name as separate definitions:
Code:
<weapon mod="MOD_FALLING"></weapon>
<weapon mod="">gl_g36c_mp</weapon>
or merge them together:
Code:
<weapon mod="MOD_GRENADE_SPLASH">frag_grenade_short_mp</weapon>
I'm posting it here after just only few tests so please test it and post your feedback in this thread. Thx!
>>> Download <<<
ps. in case of problems please attach your b3 log!
Logged
http://g4g.pl/
Anubis
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 228
Offline
Re: Weapon Control Plugin - Antinoob v1.0.4
«
Reply #136 on:
March 27, 2009, 02:29:26 AM »
Small bugfix....
>>> Download <<<
however it seems it's working fine for me
Logged
http://g4g.pl/
Bakes
B3 Contrib/Support
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline
Support Specialty:
B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
Re: Weapon Control Plugin - Antinoob v1.0.4
«
Reply #137 on:
March 27, 2009, 02:43:56 AM »
if it works correctly, can you edit the first post, so that people don't download the wrong version?
I'll test it for you, if you want, later today.
Logged
[
Openbanter
|
Scrim (cod4)
|
BanTweeter
|
FTPyTail
|
ForumLink
]
Anubis
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 228
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #138 on:
March 27, 2009, 04:06:07 PM »
Sure, done. Plugin updated as well
>>> Download <<<
few internal improvements added.
Logged
http://g4g.pl/
intrebulon
Full Member
Posts: 84
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #139 on:
April 10, 2009, 09:28:22 AM »
there's a problem with this version, it detects violations setup in the .XML but doesn't actually warn. my XML isn't currently setup properly for our ruleset but that's besides the point, regardless of what i set it up for, it never actually warns anyone for anything.
Code:
D;32charguid;12;allies;=KOF=BillyBong!;32charguid;13;axis;(US*T)Ru$tYFa!l;concussion_grenade_mp;1;MOD_GRENADE_SPLASH;none
090410 12:18:36
VERBOSE
Queueing event Client Damage (1.0, 'concussion_grenade_mp', 'none', 'MOD_GRENADE_SPLASH')
090410 12:18:37
VERBOSE
Parsing Event: Client Kill: AntinoobPlugin
090410 12:18:37
DEBUG
AntinoobPlugin: none / MOD_EXPLOSIVE - in warnduration: 10
090410 12:18:37
VERBOSE
Parsing Event: Client Damage: StatsPlugin
090410 12:18:37
VERBOSE
Parsing Event: Client Damage: AntinoobPlugin
090410 12:18:37
DEBUG
AntinoobPlugin: concussion_grenade_mp / MOD_GRENADE_SPLASH - in warnduration: 10
090410 12:18:37
DEBUG
AntinoobPlugin: Temporary Restricted MOD for weapon: concussion_grenade_mp Mod: MOD_GRENADE_SPLASH - Round time: 10
090410 12:18:37
DEBUG
AntinoobPlugin: [TMP]WarnClient: (US*T)Ru$tYFa!l WarnRule: rule2
090410 12:18:37
DEBUG
AntinoobPlugin: Unknown error while _weaponstimedwarn list processing
here's my .XML.
Code:
<configuration plugin="antinoob">
<settings name="settings">
<set name="warn_duration">10</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, airstrikes, or other explosives^5for %s seconds of the round!!!</set>
<set name="bannedonly_info_message">^3 Grenade launchers and RPG's are never allowed on this server!!!</set>
</settings>
<maps>
<map name="mp_citystreets">20</map>
<map name="mp_backlot">20</map>
<map name="mp_bloc">20</map>
<map name="mp_bog">20</map>
<map name="mp_cargoship">20</map>
<map name="mp_citystreets">20</map>
<map name="mp_convoy">20</map>
<map name="mp_countdown">20</map>
<map name="mp_crash">20</map>
<map name="mp_crossfire">20</map>
<map name="mp_farm">20</map>
<map name="mp_overgrown">20</map>
<map name="mp_pipeline">20</map>
<map name="mp_shipment">20</map>
<map name="mp_showdown">20</map>
<map name="mp_strike">20</map>
<map name="mp_vacant">20</map>
<map name="mp_crash_snow">20</map>
<map name="mp_carentan">20</map>
<map name="mp_creek">20</map>
<map name="mp_broadcast">20</map>
<map name="mp_killhouse">20</map>
</maps>
<weapon_timed_warn>
<weapon mod="MOD_GRENADE_SPLASH"></weapon>
</weapon_timed_warn>
<weapon_timed_kick>
<weapon mod="">frag_grenade_short_mp</weapon>
</weapon_timed_kick>
<weapon_banned_kick>
<weapon mod="MOD_PISTOL_BULLET">ak47_mp</weapon>
</weapon_banned_kick>
<weapon_banned_warn>
<weapon mod="MOD_FALLING"></weapon>
<weapon mod="">gl_g36c_mp</weapon>
<weapon mod="">gl_ak47_mp</weapon>
<weapon mod="">gl_g3_mp</weapon>
<weapon mod="">gl_m4_mp</weapon>
<weapon mod="">gl_m14_mp</weapon>
<weapon mod="">gl_m16_mp</weapon>
<weapon mod="">gl_mp</weapon>
</weapon_banned_warn>
</configuration>
Logged
toetag
Newbie
Posts: 7
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #140 on:
April 10, 2009, 03:24:54 PM »
ok, can some one tell me where the hell to look for the kick duration please. i have looked at all the settings and everything seams to say kick for 2 mins... but when the rule is broken (nades in first 15 seconds) the offender still gets kicked for 6 mins, if he then does it again, he is kicked for 12 mins! i want it to be 2 mins then 4.
HELP PLEASE
Thanx
Logged
intrebulon
Full Member
Posts: 84
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #141 on:
April 10, 2009, 06:41:59 PM »
Quote from: toetag on April 10, 2009, 03:24:54 PM
ok, can some one tell me where the hell to look for the kick duration please. i have looked at all the settings and everything seams to say kick for 2 mins... but when the rule is broken (nades in first 15 seconds) the offender still gets kicked for 6 mins, if he then does it again, he is kicked for 12 mins! i want it to be 2 mins then 4.
HELP PLEASE
Thanx
what you need to do is find (in plugin_admin.xml) the line where the weighting is set for the RULE that specifies "no nades etc in first 15 seconds" and set it to 30m from 90m.
you can not set a finite value for kick or tempban durations, ALL kick/tempban length are determined dynamically depending on what you set as the weighting (as a period of time) for that rule.
these are the lines in plugin_admin.xml that you are looking for:
Code:
<settings name="warn_reasons">
<set name="generic">1h, ^7</set>
<set name="default">1h, ^7behave yourself</set>
<set name="rule1">3d, /spam#rule1</set>
<set name="rule2">3d, /spam#rule2</set>
<set name="rule3">1d, /spam#rule3</set>
<set name="rule4">1d, /spam#rule4</set>
<set name="rule5">1h, /spam#rule5</set>
<set name="rule6">1d, /spam#rule6</set>
<set name="rule7">1d, /spam#rule7</set>
<set name="rule8">3d, /spam#rule8</set>
<set name="rule9">3h, /spam#rule9</set>
<set name="rule10">3d, /spam#rule10</set>
whatever rule you have set as your no nades for 15 seconds rule needs the time adjusted from whatever it is, to 30m or 0.5h. the times specified for these rules are divided by 15 to determine kick duration.
for instance in my config above, rule 1 has a weighting of 3d, which is 3 days. this means a warning issued to a player with this rule will stay active for 3 days. if your b3 is setup to kick after 3 warnings, they will get kicked for 9 days/15, or 14.4 hours after 3 warnings.
that's 3 warnings x a 3day penalty / 15 to find kick length.
3warnings x 72h / 15 = 14.4 hour tempban.
all kick lengths are determined in this manner, it is 100% dynamic and depends greatly on outstanding warnings, which you can see in echelon.
Logged
toetag
Newbie
Posts: 7
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #142 on:
April 11, 2009, 03:00:01 PM »
AAHHHH Fantastic!!! all sorted, your a start !
Logged
intrebulon
Full Member
Posts: 84
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #143 on:
April 11, 2009, 08:22:58 PM »
does ANYONE have antinoob v1.0.6 running properly?
if not, does anyone have ANY version of antinoob that includes the timer based stuff running properly?
i'm just a little confused on the status of this plugin anubis, you say you have it working on a server somewhere but i can't for the life of me get it to work. it detects infractions that i've setup, but errors out sometime after the kicking/warning debug line "DEBUG: player.kick blah blah blah"
clan's crying for it, and i've been telling them a few more days for about a month and a half now heh.
obviously i would prefer using this plugin over hard-coding rulesets for each individual server.
«
Last Edit: April 11, 2009, 08:26:13 PM by intrebulon
»
Logged
Viper
Jr. Member
Posts: 35
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #144 on:
April 12, 2009, 09:46:33 PM »
Is it possible to have each one go to a separate warning? As currently I have:
Rule 2: Martyrdom
Rule 3: Last Stand
Rule 4: NoobTube
Thanks!
-Josh
Logged
Anubis
Moderator
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 228
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #145 on:
April 15, 2009, 01:29:50 PM »
Quote from: Viper on April 12, 2009, 09:46:33 PM
Is it possible to have each one go to a separate warning? As currently I have:
Rule 2: Martyrdom
Rule 3: Last Stand
Rule 4: NoobTube
Thanks!
-Josh
good point
However I've started to implement this already while this forum been under maintenance mode.
Logged
http://g4g.pl/
Viper
Jr. Member
Posts: 35
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #146 on:
April 15, 2009, 04:06:46 PM »
Ahh, well I meant i can't do it lol, is it possible to get your version so I can implement on my servers?
Regards,
Josh
Logged
intrebulon
Full Member
Posts: 84
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #147 on:
April 15, 2009, 06:27:06 PM »
i hard-coded my rules, which allows for diff messages. renders the config XML obsolete though...
Logged
Fisch.666
Jr. Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
CoD4, CoD5
Posts: 26
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #148 on:
April 16, 2009, 05:42:36 AM »
Hi!
Mhhh, strange. After updating to 1.0.6 this plugin won't work anymore and i get this error in my b3.log:
Quote
090416 15:37:19 ERROR handler AntinoobPlugin could not handle event Game Round Start: TypeError: object of type 'bool' has no len() [('/b3/b3/parser.py', 521, 'handleEvents', 'hfunc.parseEvent(event)'), ('/b3/b3/plugin.py', 129, 'parseEvent', 'self.onEvent(event)'), ('b3/extplugins/antinoob.py', 351, 'onEvent', 'if len(self._weaponstimedwarn) > 0 or len(self._weaponstimedkick > 0):')]
Any ideas how to fix this? Thanks in advance for an reply.
Logged
Viper
Jr. Member
Posts: 35
Offline
Re: Weapon Control Plugin - Antinoob v1.0.6
«
Reply #149 on:
April 19, 2009, 09:50:23 PM »
So 1.0.6 is not working then?
Logged
Tags:
martydom
Pages:
1
...
8
9
[
10
]
11
12
...
28
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal