Hi,
the !map command only works once after B3 was restarted the second time this error is logged:
110305 12:27:49 CONSOLE ['player.onChat', 'Defraggler', '/!map oasis', 'all']
110305 12:27:49 VERBOSE Queueing event Say !map oasis
110305 12:27:49 VERBOSE Parsing Event: Say: AdminPlugin
110305 12:27:49 DEBUG AdminPlugin: OnSay handle 5:"!map oasis"
110305 12:27:49 DEBUG AdminPlugin: Handle command !map oasis
110305 12:27:49 VERBOSE RCON (1/1) ('admin.supportedMaps', '')
110305 12:27:49 ERROR handler AdminPlugin could not handle event Say: FrostbiteCommandFailedError: ['InvalidPlayList'] [('/home/bbbserv/b3vanilla/b3/parser.py', 874, 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/bbbserv/b3vanilla/b3/plugin.py', 157, 'parseEvent', 'self.onEvent(event)'), ('/home/bbbserv/b3vanilla/b3/plugin.py', 175, 'onEvent', 'self.handle(event)'), ('/home/bbbserv/b3vanilla/b3/plugins/admin.py', 210, 'handle', 'self.OnSay(event)'), ('/home/bbbserv/b3vanilla/b3/plugins/admin.py', 350, 'OnSay', 'results = command.execute(data, event.client)'), ('/home/bbbserv/b3vanilla/b3/plugins/admin.py', 1946, 'execute', 'self.func(data, client, copy.copy(self))'), ('/home/bbbserv/b3vanilla/b3/plugins/admin.py', 609, 'cmd_map', 'self.console.changeMap(data)'), ('/home/bbbserv/b3vanilla/b3/parsers/frostbite/abstractParser.py', 918, 'changeMap', 'supportedMaps = self.getSupportedMaps()'), ('/home/bbbserv/b3vanilla/b3/parsers/frostbite/abstractParser.py', 426, 'getSupportedMaps', "supportedMaps = self.write(('admin.supportedMaps', self.game.gameType))"), ('/home/bbbserv/b3vanilla/b3/parsers/frostbite/abstractParser.py', 285, 'write', 'res = self.output.write(msg, maxRetries=maxRetries, needConfirmation=needConfirmation)'), ('/home/bbbserv/b3vanilla/b3/parsers/frostbite/rcon.py', 86, 'write', 'raise FrostbiteCommandFailedError(response)')]
110305 12:27:49 VERBOSE Parsing Event: Say: SpamcontrolPlugin
110305 12:27:49 DEBUG getCommand: ('admin.say', 'b3 [pm] There was an error processing your command', 'player', 'Defraggler')
110305 12:27:49 VERBOSE RCON (1/1) ('admin.say', 'b3 [pm] There was an error processing your command', 'player', 'Defraggler')
110305 12:27:49 VERBOSE Parsing Event: Say: ChatloggerPlugin
110305 12:27:49 DEBUG ChatloggerPlugin: ALL, 3, Defraggler, !map oasis
110305 12:27:49 DEBUG ChatloggerPlugin: query: INSERT INTO chatlog (msg_time, msg_type, client_id, client_name, client_team, msg) VALUES (1299324469, "ALL", 3, "Defraggler", 3, "!map oasis")
110305 12:27:49 DEBUG ChatloggerPlugin: rowcount: 1, id:12379
110305 12:27:49 CONSOLE ['player.onChat', 'Server', 'b3 [pm] There was an error processing your command', 'player', 'Defraggler']
After i restarted before it worked fine:
110305 12:21:58 CONSOLE ['player.onChat', 'Defraggler', '/!map valparaiso', 'all']
110305 12:21:58 VERBOSE Queueing event Say !map valparaiso
110305 12:21:58 VERBOSE Parsing Event: Say: AdminPlugin
110305 12:21:58 DEBUG AdminPlugin: OnSay handle 5:"!map valparaiso"
110305 12:21:58 DEBUG AdminPlugin: Handle command !map valparaiso
110305 12:21:58 VERBOSE RCON (1/1) ('admin.supportedMaps', 'RUSH')
110305 12:21:58 VERBOSE RCON (1/1) ('admin.supportedMaps', 'RUSH')
110305 12:21:58 VERBOSE RCON (1/1) ('mapList.list',)
110305 12:21:58 DEBUG getCommand: ('admin.say', 'b3 Changing map to Levels/MP_002', 'all')
110305 12:21:58 VERBOSE RCON (1/1) ('admin.say', 'b3 Changing map to Levels/MP_002', 'all')
110305 12:21:58 CONSOLE ['player.onChat', 'Server', 'b3 Changing map to Levels/MP_002', 'all']
OS: Ubuntu
Python 2.6
B3 v. 1.4.1