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 ... 15 16 [17] 18 19 ... 28   Go Down
  Print  
Author Topic: Weapon Control Plugin - Antinoob v1.0.7  (Read 55838 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: cod4
Posts: 9
Offline Offline
« Reply #240 on: June 17, 2010, 05:52:28 PM »

This plugin just stopped working for some reason, not sure why. Only thing I have done is added a couple new plugins (follow pluging and nickreg plugin) no settings or lines have changed in any of the antinoob stuff. The plugin does load when b3 starts, but i did find this in the log:

Quote
100617 20:07:09   ERROR   handler AntinoobPlugin could not handle event Game Round Start: TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' [('b3\\parser.pyo', 750, 'handleEvents', None), ('b3\\plugin.pyo', 157, 'parseEvent', None), ('C:\\UserFiles\\mdodge\\GameServers\\TC80204522360365301464556\\b3\\extplugins\\antinoob.py', 357, 'onEvent', None)]

Any ideas? Thanks
Logged

Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: cod4
Posts: 9
Offline Offline
« Reply #241 on: June 20, 2010, 06:48:23 AM »

I fixed the problem I mentioned above however when someone uses (and kills) the disallowed weapon, the system doesnt warn them. Nothing shows in the logs either. It was working fine but then just stopped. Plugin does load successfully when b3 starts, I even get the weapons unlocked message. But it wont warn for the weapon. Here is my config:

Quote
<configuration plugin="antinoob">
   <settings name="settings">
      <set name="warn_duration">1</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, airstrike, tubes or heli ^5first %s seconds of the round!!!</set>
      <set name="bannedonly_info_message">^3 please, no marty/last stand, gl's or rpg's !!!</set>
   </settings>
<!--   <maps>
      <map name="mp_citystreets">15</map>
   </maps> -->
   
   <weapon_timed_warn>
      <weapon mod="mod_grenade_splash"></weapon>
   </weapon_timed_warn>
<!--
   <weapon_timed_kick>
   </weapon_timed_kick>
   <weapon_banned_kick>
   </weapon_banned_kick> -->
   <weapon_banned_warn>
      <weapon mod="" perm="1">frag_grenade_short_mp</weapon>
      <weapon mod="mod_grenade_splash" perm="1">frag_grenade_short_mp</weapon>
   </weapon_banned_warn>
</configuration>

Thanks
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: COD4, BF3
Posts: 105
Offline Offline
WWW
« Reply #242 on: June 23, 2010, 09:54:07 AM »

I want to make sure I understand. Where the %s are needs to be replaced with the seconds?
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 #243 on: June 23, 2010, 02:27:23 PM »

I want to make sure I understand. Where the %s are needs to be replaced with the seconds?

No, %s is where the value for seconds is substituted in automatically by the game. It's so that you can have a different value on (say) overgrown to shipment.
Logged

Newbie
*
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 1
Offline Offline
« Reply #244 on: August 24, 2010, 10:22:18 AM »

I'm looking for the CoD:5 WaW version of this plug in so if anyone can point me in the right direction I'd appreciate it. Smiley
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #245 on: August 24, 2010, 10:54:18 PM »

I'm looking for the CoD:5 WaW version of this plug

It already works on codwaw too.
Logged

Beta Testers
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 3 CoD4, 1 MoH, 1 BC2, and 2 BO
Posts: 158
Offline Offline
WWW
« Reply #246 on: September 14, 2010, 08:47:41 PM »

Wondering if there is a command to warn a player for breaking an individual weapon rule, instead of a standard rule. Such as..if someone tubes, they get warned for using tubes...and if someone martys..they get warned for marty. Looking for a line similar to this that might work:

<badword name="" lang="en">
         <penalty type="tempban" reasonkeyword="Racial" duration="10d"/>
         <regexp></regexp>
      </badword>

I do not want the line to kick however...just warn.

http://pastebin.com/UR7KuU2C    <--- my antinoob setup
« Last Edit: September 14, 2010, 08:49:47 PM by foxinabox » Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD7
Posts: 61
Offline Offline
« Reply #247 on: September 15, 2010, 05:18:45 PM »

Hey guys, first of all, this plugin is awesome but I don't know why, when I put the files at the right place and add the plugin location in my b3.xml, b3 won't start.  I type !rules and nothing is happening.  Like if b3 wasn't installed.  Can you help me out?  Thanks in advance Wink

Best regards, Drummer.
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #248 on: September 16, 2010, 12:47:03 AM »

@foxinabox: what you want to do is not possible with the current state of the plugin. You can set only one warning for all restrictions.

@Drummer611: Please check b3.log to see what went wrong. If you can't figure it out, feel free to send your b3.log here or paste it on pastebin.com.
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD7
Posts: 61
Offline Offline
« Reply #249 on: September 16, 2010, 07:57:46 AM »

Ok hum, here is my b3.log: http://pastebin.com/uZHWybEK.  From what i read, it's because it can't find my status.xml file, am I right?  I don't understand why it won't work, I pasted the plugin line said in the readme.txt file in my b3.xml and uplodaded the antinoob.py in extplugin(Right next to the xlrstats) and the antinoob.xml in conf...
« Last Edit: September 16, 2010, 08:14:45 AM by Drummer611 » Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #250 on: September 18, 2010, 01:00:03 PM »

According to your log B3 is responding to your commands. Did you fix it?

There is one error. You should open plugin_status.xml in conf folder and enter a full path instead of ~status.xml. Something like this.

Code: php
C:\some\where\status.xml
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD7
Posts: 61
Offline Offline
« Reply #251 on: September 18, 2010, 09:17:05 PM »

Ok, I changed the line you told me, I don't get any errors on my log(Here's the link anywayshttp://pastebin.com/BMLFMrY7)  But it's still won't work.  B3 is working but when I kill somebody with a tube, it does nothing :S  You can contact me on xfire: drummer611

EDIT: It's working now, hum but it's warning "World" for the grenade launchers, martyrdom, etc.  And I don't want to have a x seconds no nades, rpg, etc. spamming message at the beginning of each rounds, can you help me with that?  Thanks.
« Last Edit: September 19, 2010, 11:26:20 AM by Drummer611 » Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #252 on: September 19, 2010, 02:03:57 PM »

It doesn't warn you because you're an admin. That's normal behaviour. Which version of the plugin are you using?
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD7
Posts: 61
Offline Offline
« Reply #253 on: September 19, 2010, 03:07:34 PM »

The one of the link. 1.0.8 I guess.  And by the way, it's warning me now when I'm killing somebody with a banned weapon(I don't care, I can clear the warning anyways)
« Last Edit: September 19, 2010, 04:28:36 PM by Drummer611 » Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #254 on: September 19, 2010, 11:13:57 PM »

And I don't want to have a x seconds no nades, rpg, etc. spamming message at the beginning of each rounds

Not sure but, can you try setting the warn_duration to 1 or 0?
Logged

Tags: martydom 
Pages: 1 ... 15 16 [17] 18 19 ... 28   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal