thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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 [UrT4.1]  (Read 20864 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
weapon control plugin [UrT4.1]
« on: October 10, 2008, 12:53:00 AM »
Description :
This plugin is for Urban Terror 4.1 only (for UrT 4.2 see this plugin).
This plugin allows to define a set of weapon not allowed on your server.
This plugin will give a more precise control over the g_gear cvar as it can manage weapon one by one (and even items likes night vision googles).


Download



« Last Edit: December 29, 2012, 01:36:00 AM by Courgette »

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Ultimate weapon control plugin for Urban Terror
« Reply #1 on: October 10, 2008, 12:28:53 PM »
created a repository for you.

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: Ultimate weapon control plugin for Urban Terror
« Reply #2 on: October 15, 2008, 11:08:06 PM »
looks nice saw you already implemented the command in-game. Maybe make the action it will take also configurable like kick or warn or message? just a suggestion

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Ultimate weapon control plugin for Urban Terror
« Reply #3 on: October 15, 2008, 11:13:55 PM »
I won't put any more effort on that plugin (except on major bug fixes if some are reported) as I'm not using it on my servers.
Feel free to check the source code from the mercurial repo and send me a patch as described in http://www.bigbrotherbot.com/trac/wiki/SourceRepository/Patching

Offline rockerman95

  • Jr. Member
  • **
  • Posts: 40
Re: Ultimate weapon control plugin [urt4.1]
« Reply #4 on: October 19, 2008, 03:06:37 AM »
It seems to work, and excuse me if this option is available, but can you put in an option to set what level can use the command?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Ultimate weapon control plugin [urt4.1]
« Reply #5 on: October 19, 2008, 03:39:58 AM »
not sure to understand.. can you reformulate plz

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: Ultimate weapon control plugin [urt4.1]
« Reply #6 on: October 19, 2008, 09:18:17 AM »
From what I can see, he either
B)Wants !weaponcontrol level to be able to be modified.
« Last Edit: October 19, 2008, 03:25:52 PM by Bakes »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: weapon control plugin v0.2.1 [urt4.1]
« Reply #7 on: October 19, 2008, 03:27:06 PM »
oops, I forgot to update the config file... fixed in v0.2.1

Offline Plastikman

  • Full Member
  • ***
  • Posts: 53
    • XPServers
Re: weapon control plugin v0.2.1 [urt4.1]
« Reply #8 on: November 15, 2008, 11:54:51 PM »
guys if I may ask,  does this plugin not allow the weapon to be selected or does it just warn the user and kick him if hes using a weapon which is banned in the plugins config ?

Also I noticed there is no perk control.  Any way this plugin can restrict 3x nade and martydom perk ?

thanks

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: weapon control plugin v0.2.1 [urt4.1]
« Reply #9 on: November 16, 2008, 12:28:30 AM »
this is for Urban Terror only, not COD so there is no martyr and such

Offline Plastikman

  • Full Member
  • ***
  • Posts: 53
    • XPServers
Re: weapon control plugin v0.2.1 [urt4.1]
« Reply #10 on: November 17, 2008, 01:40:52 AM »
oh my bad,

is there a weapon control pugin for cod 4 ?

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: weapon control plugin v0.2.1 [urt4.1]
« Reply #11 on: November 17, 2008, 08:36:55 PM »
Unfortunately not, i was in the process of making one, but it would be rather stupid to basically say
if weapon is m4 warn
if weapon is g3 warn
if weapon is m4 reddot warn
if weapon is m16 acog warn
I was thinking of restarting development by doing something more like
if weapon is not m16 acog warn.
which would make it unigame.

Marty, there's already a plugin, i think. I'm fairly sure it's called antinoob.
3x grenades, that would be difficult, if not impossible, since the game doesn't distinguish between (in the logfile) 1 grenade 3 kills and 3 grenade 3 kills. So you could have someone warned, or spammed because of this.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: weapon control plugin v0.3.0 [urt4.1]
« Reply #12 on: March 04, 2009, 09:11:53 PM »
04/03/2009 - v0.3.0
 - Fix bug with the AK.
 - Add missing 'kevlar helmet'
 - Now broadcast message when a weapon/item is allowed/disallowed
 - Add 'admin guide'
 - Add doc in french

Offline Stonedninjai

  • Newbie
  • *
  • Posts: 7
Re: weapon control plugin v0.3.0 [urt4.1]
« Reply #13 on: March 22, 2010, 11:41:16 AM »
   Hello Courgette Im not sure if this post is still open or not, But anyway i Downloaded This plugin And It both works and doesnt work. I can Tell b3 To Ban Nvgs With the !wpctrl -nvg Cmd And Anyone with nvg Will Be forced into spectate And A message Will Follow. But The Second They Rejoin the game They can still Uses the banned items And or Weapons. Im Using Windows 7 b3 version "BigBrotherBot-1.2.2b-courgette-20100226-win32-standalone" Here's Some Code From the B3.log That looks weird to me.


100322 05:38:59   BOT       Loading Plugin #7 weaponcontrolurt [C:\Program Files\BigBrotherBot_1.2.2b-courgette-20100226\extplugins\conf\plugin_weaponcontrolurt.xml]
100322 05:38:59   INFO   Could not load built in plugin weaponcontrolurt (No module named weaponcontrolurt)
100322 05:38:59   INFO   trying external plugin directory : C:\Program Files\BigBrotherBot_1.2.2b-courgette-20100226\extplugins
100322 05:38:59   BOT       WeaponcontrolurtPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.2b-courgette-20100226\extplugins\conf\plugin_weaponcontrolurt.xml for WeaponcontrolurtPlugin
100322 05:38:59   DEBUG   AdminPlugin: Command "weaponcontrol (wpctrl)" registered with cmd_weaponcontrol for level (60, 100)
100322 05:38:59   DEBUG   WeaponcontrolurtPlugin: forbidden weapon codes : ['Z', 'S']
100322 05:38:59   DEBUG   Register Event: Stop Process: WeaponcontrolurtPlugin
100322 05:38:59   DEBUG   Register Event: Program Exit: WeaponcontrolurtPlugin
100322 05:38:59   BOT       Plugin weaponcontrolurt (0.3.0 - Courgette) loaded

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: weapon control plugin v0.3.0 [urt4.1]
« Reply #14 on: March 22, 2010, 12:30:49 PM »
Hi nothing looks wrong here :)

Instead provide a log showing :

  • you typing the command to forbid negev
  • ppl being forced to spec because they use negev
  • ppl joining a team with a negev

 


Rate this page +1 at Google Search

anything