updated to version 1.4.2b
all is well. but stopped working censor.
issues in the log which is a mistake. I ask you to help solve the problem since the plugin is very good and needed. Log, or rather the portion of the log with the specific error, see below.
.....
110111 14:05:05 CONSOLE ['player.onChat', 'sergoportugal', 'antosha tebe pizda!!!!!!!!!!!!!!', 'all']
110111 14:05:05 VERBOSE Queueing event Say antosha tebe pizda!!!!!!!!!!!!!!
110111 14:05:05 VERBOSE Parsing Event: Say: CensorPlugin
110111 14:05:05 ERROR CensorPlugin: Censor plugin error: not enough arguments for format string - [('/bot/b3/plugins/censor.py', 173, 'onEvent', "self.penalizeClient(w.penalty, event.client, '%s => %s' % (event.data, cleaned))"), ('/bot/b3/plugins/censor.py', 191, 'penalizeClient', 'self._adminPlugin.penalizeClient(penalty.type, client, penalty.reason, penalty.keyword, penalty.duration, None, data)'), ('/bot/b3/plugins/admin.py', 1540, 'penalizeClient', 'client.tempban(reason, keyword, duration, admin, False, data)'), ('/bot/b3/clients.py', 523, 'tempban', 'self.console.tempban(self, reason, duration, admin, silent)'), ('/bot/b3/parsers/frostbite/abstractParser.py', 821, 'tempban', "fullreason = self.getMessage('temp_banned', self.getMessageVariables(client=client, reason=reason, banduration=b3.functions.minutesStr(duration)))"), ('/bot/b3/parser.py', 703, 'getMessage', 'return msg % args[0]')]
110111 14:05:05 VERBOSE Parsing Event: Say: AdminPlugin
110111 14:05:05 DEBUG AdminPlugin: OnSay handle 5:"antosha tebe pizda!!!!!!!!!!!!!!"
........
in the old version of the word immediately
pizda banned.
the problem is likely to parser
admin wanted to kick a player but he got nothing. here is what the log
........
CONSOLE ['player.onChat', 'rMasterx', '!kick softbox2 for mat', 'all']
110111 16:28:21 VERBOSE Queueing event Say !kick softbox2 for mat
110111 16:28:21 VERBOSE Parsing Event: Say: CensorPlugin
110111 16:28:21 VERBOSE Parsing Event: Say: AdminPlugin
110111 16:28:21 DEBUG AdminPlugin: OnSay handle 5:"!kick softbox2 for mat"
110111 16:28:21 DEBUG AdminPlugin: Handle command !kick softbox2 for mat
110111 16:28:21 DEBUG kick reason: [for mat]
110111 16:28:21 DEBUG getCommand: ('admin.say', '(=[:BiG:]=): [pm] There was an error processing your command', 'player', 'rMasterx')
110111 16:28:21 VERBOSE RCON (1/1) ('admin.say', '(=[:BiG:]=): [pm] There was an error processing your command', 'player', 'rMasterx')
110111 16:28:21 ERROR handler AdminPlugin could not handle event Say: TypeError: not enough arguments for format string [('/bot/b3/parser.py', 921, 'handleEvents', 'hfunc.parseEvent(event)'), ('/bot/b3/plugin.py', 157, 'parseEvent', 'self.onEvent(event)'), ('/bot/b3/plugin.py', 175, 'onEvent', 'self.handle(event)'), ('/bot/b3/plugins/admin.py', 218, 'handle', 'self.OnSay(event)'), ('/bot/b3/plugins/admin.py', 362, 'OnSay', 'results = command.execute(data, event.client)'), ('/bot/b3/plugins/admin.py', 2001, 'execute', 'self.func(data, client, copy.copy(self))'), ('/bot/b3/plugins/admin.py', 1191, 'cmd_kick', 'sclient.kick(reason, keyword, client)'), ('/bot/b3/clients.py', 474, 'kick', 'self.console.kick(self, reason, admin, silent)'), ('/bot/b3/parsers/frostbite/abstractParser.py', 796, 'kick', "fullreason = self.getMessage('kicked_by', self.getMessageVariables(client=client, reason=reason, admin=admin))"), ('/bot/b3/parser.py', 703, 'getMessage', 'return msg % args[0]')]
110111 16:28:21 VERBOSE Parsing Event: Say: ChatloggerPlugin
110111 16:28:21 DEBUG ChatloggerPlugin: ALL, 58, [=:BiG:=] rMasterx, !kick softbox2 for mat
.......