thankyou
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 164303 times)

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #30 on: February 02, 2009, 03:07:42 PM »
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 03, 2009, 01:02:42 AM by Lolzumad »

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #31 on: February 03, 2009, 08:00:13 AM »
sry, you want

self._adminPlugin.client.kick

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #32 on: February 03, 2009, 02:15:43 PM »
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?

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #33 on: February 03, 2009, 05:00:32 PM »
Not entirely sure, but I think so.

try it, see what happens :)

Offline intrebulon

  • Full Member
  • ***
  • Posts: 84
    • Knight Of Fury Clan
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #34 on: February 03, 2009, 10: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.

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #35 on: February 03, 2009, 10:29:29 PM »
yeah, anubis should be working on it, he said he would :D

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

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #36 on: February 03, 2009, 11: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

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #37 on: February 03, 2009, 11:57:38 PM »
lol, I'm not pressuring you just yet!
(i don't use this plugin)

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #38 on: February 04, 2009, 12:38:43 AM »
Bad news Bakes, it doesn't work...

Offline intrebulon

  • Full Member
  • ***
  • Posts: 84
    • Knight Of Fury Clan
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #39 on: February 05, 2009, 12:01:57 AM »
yeah, anubis should be working on it, he said he would :D

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 :)

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #40 on: February 05, 2009, 07:15:55 PM »
Intrebulon,

I sent you a PM asking a question regarding this plugin!

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #41 on: February 05, 2009, 07:17:20 PM »
yeah, i see ya. Could be that you aren't online when i'm online?

Offline Lolzumad

  • Full Member
  • ***
  • Posts: 50
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #42 on: February 05, 2009, 08:37:01 PM »
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!

Offline intrebulon

  • Full Member
  • ***
  • Posts: 84
    • Knight Of Fury Clan
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #43 on: February 06, 2009, 03:55:13 PM »
@ Lolzumad, reply sent.

@ Bakes, i sent you a message on xfire, you promptly responded by joining an NG server. :)  i think my xfire is messed up anyhow, i can receive files but not send...

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Weapon Control Plugin - Antinoob v1.0.3
« Reply #44 on: February 06, 2009, 04:00:50 PM »
honestly, my xfire has no log of you ever messaging me. So I'm not sure what's happened.

 


Rate this page +1 at Google Search

anything