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: Duel plugin  (Read 15960 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Duel plugin
« on: August 28, 2010, 06:14:46 PM »
Description:

Allows you to challenge your friends in a duel.
Type "!duel joe" to challenge your friend Joe. If he accepts your challenge, each kill made between the two of you will be counted.
You can make multiple challenges in the same round and continue your challenge on multiple rounds (as long as each of you stay on the server)

Commands :
 !duel <name> : challenge a player or accept a challenge
 !duelcancel : cancel a challenge you started
 !duelreset : reset scores to 0 to a challenge you started

Changelog :
28/08/2010 - 1.0
 - first release. Manages multiple challenges simultaniously


Download



« Last Edit: November 21, 2012, 11:37:10 PM by Courgette »

Offline adam

  • Jr. Member
  • **
  • Posts: 26
Re: Duel plugin
« Reply #1 on: August 30, 2010, 12:13:57 AM »
Hello
Work fine in cod uo
funny plug  ;D
*restart after round.

Thanks
« Last Edit: August 30, 2010, 12:18:41 AM by adam »

Offline foxinabox

  • Sr. Member
  • ****
  • Posts: 157
    • Clan ATRS (Atreides)
Re: Duel plugin
« Reply #2 on: September 14, 2010, 05:47:17 AM »
Hey,
I have this plugin installed. It works....10% of the time so far. I've tested it on !register'd people, and people i have made senioradmin, and it doesn't always work. Whenever they type !duel, they get invalid permissions or something like that, then they eventually get kicked. Once they have registered, i've had them exit the server, and come back in..still not working. Also, i've restarted B3, and no luck.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Duel plugin
« Reply #3 on: September 14, 2010, 09:08:21 AM »
can you provide your b3.log for such situations ?


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Duel plugin
« Reply #5 on: September 14, 2010, 06:53:30 PM »
from what I see of your log, it is the wideban plugin that kick/ban.
Your kick/ban issue is not related to the duel plugin.

To confirm this, disable the wideban plugin and try to use the duel plugin.
« Last Edit: September 14, 2010, 11:48:54 PM by Courgette »

Offline grosbedo

  • Former Dev. (senate)
  • Sr. Member
  • *****
  • Posts: 258
Re: Duel plugin
« Reply #6 on: September 14, 2010, 11:35:28 PM »
http://pastebin.com/81gkxw3t - my b3 log (looking at it now, it semms i have a few conflicts..which i hope i can fix)

As Courgette said, it comes from my Wideban plugin. Weirdly, it seems that your users have a 'None' string for their pbid, instead of a None object.

Please try the new release at:

http://www.bigbrotherbot.net/forums/releases/wideban/

And please post any further requests to this thread.

Alternatively, since your game engine seems to never use pbid, you can turn it off in your wideban.xml to fix your problem :

Code: xml [Select]
<set name="banbypbid">no</set>

Offline BetterDeadThanZed

  • Beta Testers
  • Hero Member
  • *
  • Posts: 681
    • Killin Zeds
Re: Duel plugin
« Reply #7 on: October 24, 2010, 02:42:37 PM »
How do you add this to your b3.xml? There's no config file. I would normally put this:

      <plugin name="duel" config="@b3/extplugins/conf/plugin_duel.xml"/>

or something similar.


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Duel plugin
« Reply #9 on: October 24, 2010, 04:22:07 PM »
no config file is required for this plugin


Offline BetterDeadThanZed

  • Beta Testers
  • Hero Member
  • *
  • Posts: 681
    • Killin Zeds
Re: Duel plugin
« Reply #11 on: October 24, 2010, 04:40:14 PM »
Tried this with MOH and the command responded. Gotta test it with other players on the server. Should be a lot of fun.

Offline foxinabox

  • Sr. Member
  • ****
  • Posts: 157
    • Clan ATRS (Atreides)
Re: Duel plugin
« Reply #12 on: October 24, 2010, 04:51:25 PM »
It does work with MoH, the only issue that can be an unavoidable pain in the ass, is that if you issue the !duel command, and then the person dies, they may not see the challenge. So you may need to issue it a couple times. Other than that, it works flawlessly. Another thing I hope EA/DICE fixes is the amount of time a message stays up...2 seconds is a pain.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Duel plugin
« Reply #13 on: October 24, 2010, 05:13:08 PM »
agreed. Or even better, having a console like we have in Quake3 games that slides down from top where we can see chat history


 


Rate this page +1 at Google Search

anything