In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)Cannot kick and ban
Pages: [1]   Go Down
  Print  
Author Topic: Cannot kick and ban  (Read 429 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 55
Offline Offline
WWW
« on: November 27, 2010, 02:03:56 PM »

I'm using the newest version of b3 from courgette's github repository. If I want to kick or ban someone (and ci also) I get an error:

Code:
handler AdminPlugin could not handle event Say: TypeErro
r: not enough arguments for format string [('/home/urt/b3bot/b3/parser.py', 921,
 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/urt/b3bot/b3/plugin.py', 15
7, 'parseEvent', 'self.onEvent(event)'), ('/home/urt/b3bot/b3/plugin.py', 175, '
onEvent', 'self.handle(event)'), ('/home/urt/b3bot/b3/plugins/admin.py', 214, 'h
andle', 'self.OnSay(event)'), ('/home/urt/b3bot/b3/plugins/admin.py', 358, 'OnSa
y', 'results = command.execute(data, event.client)'), ('/home/urt/b3bot/b3/plugi
ns/admin.py', 1956, 'execute', 'self.func(data, client, copy.copy(self))'), ('/h
ome/urt/b3bot/b3/plugins/admin.py', 1146, 'cmd_kick', 'sclient.kick(reason, keyw
ord, client)'), ('/home/urt/b3bot/b3/clients.py', 474, 'kick', 'self.console.kic
k(self, reason, admin, silent)'), ('/home/urt/b3bot/b3/parsers/q3a/abstractParse
r.py', 443, 'kick', "reason = self.getMessage('kicked_by', self.getMessageVariab
les(client=client, reason=reason, admin=admin))"), ('/home/urt/b3bot/b3/parser.p
y', 703, 'getMessage', 'return msg % args[0]')]

Any ideas?
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: November 27, 2010, 04:38:05 PM »

have you updated your conf files as well ?
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 55
Offline Offline
WWW
« Reply #2 on: November 28, 2010, 06:55:32 AM »

Wich config file? I tried your plugin_admin.xml, but I got the same error.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: November 28, 2010, 07:43:34 AM »

in b3.xml you should have someting like
Code:
<set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 55
Offline Offline
WWW
« Reply #4 on: November 28, 2010, 01:57:53 PM »

I replaced the old section "messages". Now it works Smiley. Thank you!
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal