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 2 [3] 4 5 ... 28   Go Down
  Print  
Author Topic: Weapon Control Plugin - Antinoob v1.0.7  (Read 55771 times) Bookmark and Share
Full Member
***
Posts: 50
Offline Offline
« Reply #30 on: February 02, 2009, 06:07:42 AM »

Bakes - can you take a look at our py a few posts up and see if i put the "self._adminPlugin.kickClient(event.client, self._warningrule , None, False)" line in the wrong place?

When I have both lines in there it warns but doesn't kick.  When I use just the "kick" version, it does nothing. 

Any ideas?

« Last Edit: February 02, 2009, 04:02:42 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 #31 on: February 02, 2009, 11:00:13 PM »

sry, you want

self._adminPlugin.client.kick
Logged

Full Member
***
Posts: 50
Offline Offline
« Reply #32 on: February 03, 2009, 05:15:43 AM »

Just so I'm on the same page...

Quote
for bannedweaponInfo in self._bannedweapons:
                if(bannedweaponInfo._weaponName == weaponname):
                    #self.debug('[WARN] - Banned Weapon: ' + str(weaponname))
                    self._adminPlugin.client.kick(event.client, self._warningrule , None, False)
                    self._adminPlugin.warnClient(event.client, self._warningrule , None, False)
                    return

Is that the correct syntax and placement?
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 #33 on: February 03, 2009, 08:00:32 AM »

Not entirely sure, but I think so.

try it, see what happens Smiley
Logged

Full Member
***
Posts: 84
Offline Offline
WWW
« Reply #34 on: February 03, 2009, 01:26:11 PM »

Anyone notice issues with the knife?

It's not so bad because so far the only occurrences are when someone knives while possessing a banned weapon. When knifing, while possessing an acceptable weapon, there is no kick/warn.

this is the prolem i'm having.  we run bolts only and pistols are banned.  killing with a knife when your pistol out results in a warning for pistols.

this is what my questions were getting at in the other weapon control plugin thread.
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 #35 on: February 03, 2009, 01:29:29 PM »

yeah, anubis should be working on it, he said he would Cheesy

it's due to weapon replacements, with the weapon shown, then the attack, such as MOD_RIFLE_BULLET or MOD_MELEE for knife.
Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #36 on: February 03, 2009, 02:50:33 PM »

Yes... yes... just give me some time. I'm currently busy with some private stuff... however I should be ready soon.

regards
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 #37 on: February 03, 2009, 02:57:38 PM »

lol, I'm not pressuring you just yet!
(i don't use this plugin)
Logged

Full Member
***
Posts: 50
Offline Offline
« Reply #38 on: February 03, 2009, 03:38:43 PM »

Bad news Bakes, it doesn't work...
Logged
Full Member
***
Posts: 84
Offline Offline
WWW
« Reply #39 on: February 04, 2009, 03:01:57 PM »

yeah, anubis should be working on it, he said he would Cheesy

it's due to weapon replacements, with the weapon shown, then the attack, such as MOD_RIFLE_BULLET or MOD_MELEE for knife.

yeah, i just need to know how to perform the check for mod_melee before my pieced-together, home-brewed version of this goes through all it's weapon checks so it can toss knife kills out before warning/kicking.

we want instant kicks and i just can't set it up that way if people are gonna be getting insta-kicked for knifing with a banned weapon out.

bakes i added you to xfire about 2 weeks ago, you  never got back to me Smiley
Logged
Full Member
***
Posts: 50
Offline Offline
« Reply #40 on: February 05, 2009, 10:15:55 AM »

Intrebulon,

I sent you a PM asking a question regarding this plugin!
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 #41 on: February 05, 2009, 10:17:20 AM »

yeah, i see ya. Could be that you aren't online when i'm online?
Logged

Full Member
***
Posts: 50
Offline Offline
« Reply #42 on: February 05, 2009, 11:37:01 AM »

Bakes,

Any other ideas on how to get this to work?

If it makes it easy, just making this instant kick would be good.  When someone uses a "banned weapon", we want them to be kicked.  We've found that if you let them, they will just rack up warnings until they get auto-kicked.

If you could figure out how to edit the .py to make it so whenever someone uses a banned weapon on our server they get kicked, it would be great!
Logged
Full Member
***
Posts: 84
Offline Offline
WWW
« Reply #43 on: February 06, 2009, 06:55:13 AM »

@ Lolzumad, reply sent.

@ Bakes, i sent you a message on xfire, you promptly responded by joining an NG server. Smiley  i think my xfire is messed up anyhow, i can receive files but not send...
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 #44 on: February 06, 2009, 07:00:50 AM »

honestly, my xfire has no log of you ever messaging me. So I'm not sure what's happened.
Logged

Tags: martydom 
Pages: 1 2 [3] 4 5 ... 28   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal