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!

Pages: 1 [2]   Go Down
  Print  
Author Topic: Duel plugin  (Read 3740 times) Bookmark and Share
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #15 on: February 17, 2011, 05:33:01 AM »

b3.log:
Quote
110217 21:26:34 CONSOLE 11:48 ClientDisconnect: 0
110217 21:26:34 VERBOSE Queueing event Client Disconnect 0
110217 21:26:34 VERBOSE Parsing Event: Client Disconnect: PoweradminurtPlugin
110217 21:26:34 VERBOSE Parsing Event: Client Disconnect: TkPlugin
110217 21:26:34 VERBOSE Parsing Event: Client Disconnect: CtimePlugin
110217 21:26:34 DEBUG   CtimePlugin: CTIME LEFT:
110217 21:26:34 DEBUG   CtimePlugin: CTIME LEFT: Player 0 var not set!
110217 21:26:34 VERBOSE Parsing Event: Client Disconnect: DuelPlugin
110217 21:26:34 DEBUG   DuelPlugin: client disconnecting : None
110217 21:26:34 ERROR   handler DuelPlugin could not handle event Client Disconnect: AttributeError: 'NoneType' object has no attribute 'var' [('/home/b34/b3/parser.py', 874, 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/b34/b3/plugin.py', 157, 'parseEvent', 'self.onEvent(event)'), ('/home/b34/b3/extplugins/duel.py', 63, 'onEvent', 'self.onDisconnect(event)'), ('/home/b34/b3/extplugins/duel.py', 75, 'onDisconnect', "duels = event.client.var(self, 'duelling', {}).value")]
110217 21:26:34 VERBOSE Parsing Event: Client Disconnect: ExtraadminPlugin
110217 21:26:34 VERBOSE ExtraadminPlugin: Deconnection : 0
b3.xml
Code:
<plugin name="duel"/>

« Last Edit: February 17, 2011, 05:35:09 AM by ryry46d9 » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #16 on: February 17, 2011, 05:36:33 AM »

This is a known issue which (to my knowledge) does not prevent this plugin to function as expected. If you see any issue related to this, please describe it precisely so I can reproduce your situation
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #17 on: February 17, 2011, 11:02:23 PM »

The plug-in work's.
A few users enjoy it.
I just hate seeing "ERROR" in the log files  Tongue and thought I would post it.
In case you had a fix.
 
Logged
Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: Homefront
Posts: 22
Offline Offline
« Reply #18 on: July 16, 2011, 05:24:29 AM »

Sorry for necromancing this thread. Not sure if it's against the rules but I figured I'd let you know that I installed this on my Homefront server and didn't have any one to test it with at the time but the bot recognized the command and looks like it will work. I can see this being alot of fun on our server.

Having tested I can confirm it works perfectly as described.
« Last Edit: July 16, 2011, 09:16:10 AM by lolasaurous » Logged
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: cod7
Posts: 10
Offline Offline
« Reply #19 on: August 07, 2011, 02:27:59 AM »

Awesome plugin mate, not the most serious plugin out there but its alot of fun. Whereabouts can I change it so you just type !d instead (Lots of people misspelling duel....dual)?
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #20 on: August 07, 2011, 02:23:03 PM »

I modded the .py - do you want to test?
backup, replace duel.py, delete the duel.pyo and see if it works?)
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: cod7
Posts: 10
Offline Offline
« Reply #21 on: August 07, 2011, 11:27:29 PM »

Works great! Thanks very much....Tried to edit it my self last night but every time I typed the writing would change colour....I am still so nub at this Sad
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #22 on: August 08, 2011, 04:33:10 AM »

NP. I was considering making a .xml file for the plugin so it would be easy to set a aliases and levels for it, but it is not my plugin to do so.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #23 on: August 08, 2011, 06:23:00 AM »

feel free to fork the project on github and submit pull requests  Wink
Any help is welcome
Logged

Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #24 on: August 08, 2011, 07:21:27 AM »

Thanks. I will set that up now...
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: cod7
Posts: 10
Offline Offline
« Reply #25 on: August 15, 2011, 12:27:08 PM »

One thing we have noticed....When a player duels, then leaves the server the duel keeps going.....And then when you try to cancel the duel it say that it cannot find the player.
Logged
Tags:
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal