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: Metabans plugin  (Read 30296 times)

Offline Prez

  • Beta Testers
  • Full Member
  • *
  • Posts: 118
    • cgs-clan.com
Re: Metabans plugin
« Reply #30 on: July 19, 2011, 11:13:07 PM »
Hi Courgette, my sightings tab is staying empty recently though server is busy.
Can't find no errors in the logs related to metabans plugin. Anyone else having this?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Metabans plugin
« Reply #31 on: July 19, 2011, 11:16:05 PM »
restart the bot
join your server
then post your full b3.log

Offline Prez

  • Beta Testers
  • Full Member
  • *
  • Posts: 118
    • cgs-clan.com
Re: Metabans plugin
« Reply #32 on: July 19, 2011, 11:24:33 PM »
Sightings tab is filled up again after bot restart. Weird.

Offline Spyderspartan

  • Jr. Member
  • **
  • Posts: 10
Re: Metabans plugin
« Reply #33 on: November 03, 2011, 10:47:44 PM »
I'm getting "error processing command" while in game while trying to sync.

I checked the B3 logs and found these errors and also noticed that I saw the maintenance page at metabans.com yesterday. Anyone else having this problem currently?
Code: [Select]
111103 17:31:42	INFO	"received : '<html><head></head><body><h1>Maintenance Mode</h1><h2>Serious looking page is very serious.</h2></body></html>'"

111103 17:31:42 ERROR 'STDERR \'Exception in thread Thread-3:\\nTraceback (most recent call last):\\n  File "C:\\\\Python27\\\\lib\\\\threading.py", line 552, in __bootstrap_inner\\n    self.run()\\n  File "C:\\\\Python27\\\\lib\\\\threading.py", line 505, in run\\n    self.__target(*self.__args, **self.__kwargs)\\n  File "c:\\\\GameServers\\\\bf3Dev2\\\\b3\\\\extplugins\\\\metabans\\\\plugin.py", line 168, in onClientAuth\\n    response = self._metabans.sight(client)\\n  File "c:\\\\GameServers\\\\bf3Dev2\\\\b3\\\\extplugins\\\\metabans\\\\metabanproxy.py", line 76, in sight\\n    self.group_name)\\n  File "c:\\\\GameServers\\\\bf3Dev2\\\\b3\\\\extplugins\\\\metabans\\\\pymetabans.py", line 140, in mb_sight_player\\n    return self._query(query_parameters)\\n  File "c:\\\\GameServers\\\\bf3Dev2\\\\b3\\\\extplugins\\\\metabans\\\\pymetabans.py", line 197, in _query\\n    responses = json.loads(http_body)[\\\'responses\\\']\\n  File "C:\\\\Python27\\\\lib\\\\json\\\\__init__.py", line 326, in loads\\n    return _default_decoder.decode(s)\\n  File "C:\\\\Python27\\\\lib\\\\json\\\\decoder.py", line 366, in decode\\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\\n  File "C:\\\\Python27\\\\lib\\\\json\\\\decoder.py", line 384, in raw_decode\\n    raise ValueError("No JSON object could be decoded")\\nValueError: No JSON object could be decoded\\n\\n\''


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Metabans plugin
« Reply #34 on: November 03, 2011, 10:49:13 PM »
This is what happens when the metabans.com website is down

Offline Spyderspartan

  • Jr. Member
  • **
  • Posts: 10
Re: Metabans plugin
« Reply #35 on: November 03, 2011, 11:01:28 PM »
Hey thanks for the fast reply. I thought that, but was confused because the site is up at my house, just not on our B3 server. Metabans must have changed providers or something I'm assuming. Dns hasn't updated on our B3 server yet :( I guess I'll just add it statically until it updates.

Offline SanKen

  • Sr. Member
  • ****
  • Posts: 212
    • ProGaming - Only Multigaming is the most important
Re: Metabans plugin
« Reply #36 on: December 20, 2011, 03:53:36 AM »
@courgette, "an unknown error has occured during the registration process"
Could you tell them ... on this error
You have account there, so you can in some way
http://www.google.com/moderator/#11/e=8a955&u=CAIQhrWX45Wkw6X8AQ
Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Metabans plugin
« Reply #37 on: December 20, 2011, 04:32:03 AM »
I tweeted metabans, but courgette has other methods...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Metabans plugin
« Reply #38 on: December 20, 2011, 01:03:34 PM »
I've sent an email to Phogue.

Offline SanKen

  • Sr. Member
  • ****
  • Posts: 212
    • ProGaming - Only Multigaming is the most important
Re: Metabans plugin
« Reply #39 on: December 20, 2011, 03:45:25 PM »
Thank you.
Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.

Offline xPlozion

  • Jr. Member
  • **
  • Posts: 12
    • =}ESAW{=
Re: Metabans plugin
« Reply #40 on: February 01, 2012, 07:27:32 AM »
I'm having difficulty getting metabans working.  The readme says to put this line in the config xml file: <plugin name="metabans" config="@b3/extplugins/conf/plugin_metabans.xml" />, but there is no metabans.py, just plugin.py.  Granted, I suck at python, but I've spent over an hour trying to figure out how to fix what's broken...

Code: [Select]
120201 01:17:36 BOT     'Loading Plugin #8 plugin [/home/b3/b3/extplugins/conf/plugin_metabans.xml]'
120201 01:17:36 INFO    'Could not load built in plugin plugin (No module named plugin)'
120201 01:17:36 INFO    'trying external plugin directory : /home/b3/b3/extplugins'
120201 01:17:36 CRITICAL        'Error loading plugin: No module named metabanproxy'
Traceback (most recent call last):
  File "/home/b3/b3/parser.py", line 621, in loadPlugins
    pluginModule = self.pluginImport(plugins[s]['name'], plugins[s]['path'])
  File "/home/b3/b3/parser.py", line 734, in pluginImport
    return imp.load_module(name, fp, pathname, description)
  File "/home/b3/b3/extplugins/plugin.py", line 29, in <module>
    from metabanproxy import MetabansProxy
ImportError: No module named metabanproxy

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Metabans plugin
« Reply #41 on: February 01, 2012, 09:32:02 AM »
yes and the readme also says to "copy the metabans folder into b3/extplugins"

Offline xPlozion

  • Jr. Member
  • **
  • Posts: 12
    • =}ESAW{=
Re: Metabans plugin
« Reply #42 on: February 02, 2012, 03:06:33 AM »
wooow, i misread that as copy the contents into extplugins...  :-\

ty

Offline BetterDeadThanZed

  • Beta Testers
  • Hero Member
  • *
  • Posts: 681
    • Killin Zeds
Re: Metabans plugin
« Reply #43 on: September 17, 2012, 05:17:34 PM »
I am trying to use this with MW3 (IW5M) but I get this error:

Code: [Select]
120917 08:09:54	ERROR	'Error loading plugin metabans'
Traceback (most recent call last):
  File "C:\servers\iw5m\dlc_b3\b3\parser.py", line 636, in loadPlugins
    self._plugins[plugin_name] = getattr(pluginModule, '%sPlugin' % plugin_name.title())(self, plugin_conf)
  File "C:\servers\iw5m\dlc_b3\b3\plugin.py", line 56, in __init__
    self.loadConfig(config)
  File "C:\servers\iw5m\dlc_b3\b3\plugin.py", line 115, in loadConfig
    self.onLoadConfig()
  File "C:\servers\iw5m\dlc_b3\b3\extplugins\metabans\plugin.py", line 52, in onLoadConfig
    self._metabans = MetabansProxy(self.console.gameName, user_agent=USER_AGENT)
  File "C:\servers\iw5m\dlc_b3\b3\extplugins\metabans\metabanproxy.py", line 28, in __init__
    self._game_name = self._getMetabansGameName(game_name)
  File "C:\servers\iw5m\dlc_b3\b3\extplugins\metabans\metabanproxy.py", line 66, in _getMetabansGameName
    raise UnsupportedGameError, "unsupported game %s" % B3_game_name
UnsupportedGameError: unsupported game cod8

Is there a way to make this work with MW3?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Metabans plugin
« Reply #44 on: September 17, 2012, 05:32:50 PM »
cod8 is not supported by metabans.com, so this plugin can't either

 


Rate this page +1 at Google Search

anything