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: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP|BF3]  (Read 36806 times)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
« Last Edit: February 26, 2013, 02:15:42 PM by Courgette »

Hoody

  • Guest
Re: CountryFilter
« Reply #1 on: May 06, 2007, 11:44:05 AM »
Hey

I went to download.. but Latest = V1.1.0 Right??

Both on Trac Project and here, the only link available is Version V1.0.0

Could you upload your latest version please? :(


Need the !cfcountry command if possible.



Thankyou!  8)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: CountryFilter
« Reply #2 on: May 07, 2007, 11:58:35 AM »
Version 1.1.2 available (see top post for download link)

Hoody

  • Guest
Re: CountryFilter
« Reply #3 on: May 07, 2007, 03:08:59 PM »
Cheers!

Is there anyway this could be incorperated into Echelon?


Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: CountryFilter
« Reply #4 on: May 07, 2007, 07:38:03 PM »
I'm sure there is already some piece of php code available for the GeoIp database... Maybe a future echelon will have it included.

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #5 on: July 03, 2009, 12:26:04 AM »
Hi!

I get this error after updating the countryfilter plugin from 1.1.2 to 1.1.5:

Code: [Select]
090703 00:22:17	CRITICAL	Error loading plugin: No option 'names' in section: 'ignore'
Traceback (most recent call last):
  File "/b3/b3/parser.py", line 379, in loadPlugins
    self._plugins[p] = getattr(pluginModule, '%sPlugin' % p.title())(self, conf)
  File "/b3/b3/plugin.py", line 41, in __init__
    self.loadConfig(config)
  File "/b3/b3/plugin.py", line 85, in loadConfig
    return self.onLoadConfig()
  File "b3/extplugins/countryfilter.py", line 101, in onLoadConfig
    self.ignore_names = self.config.get('ignore', 'names').split(",")
  File "/b3/b3/config.py", line 94, in get
    raise ConfigParser.NoOptionError(setting, section)
NoOptionError: No option 'names' in section: 'ignore'

But i have updated the countryfilter.xml and there is an option "names" in the "ignore" section. Any hints how i can fix this? Thanks in advance for an reply.

*Edit*

Ok, i forgot to post that i'm using the latest b3 version 1.1.5b from the dev repo.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #6 on: July 03, 2009, 05:49:40 PM »
You also need to update the xml file, its in the same package on my mercurial repo.

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #7 on: July 04, 2009, 12:48:08 PM »
Hi!

First thanks for your reply

There must be a problem with this new countryfilter.xml, because i have updated it together with the countryfilter.py from the same package.  :(

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #8 on: July 04, 2009, 08:25:31 PM »
Okay, I think I found the little bugger... can you test the latest in my mercurial repo?

Offline Fisch.666

  • Jr. Member
  • **
  • Posts: 26
    • Prielwurmjaeger.de
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #9 on: July 06, 2009, 11:37:58 AM »
Hi!

Thanks for this update, works now without a problem.  :)

Offline christoph51

  • Jr. Member
  • **
  • Posts: 45
    • www.thehgh.com
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #10 on: August 01, 2009, 09:37:10 PM »
Does this spam the message to all players? Or only to the indiviual player who connected?

Offline Anixter

  • Jr. Member
  • **
  • Posts: 10
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #11 on: August 02, 2009, 05:56:34 AM »
This work for cod4 ?
I put it in and country player comes from don't show just "country --"

Offline christoph51

  • Jr. Member
  • **
  • Posts: 45
    • www.thehgh.com
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #12 on: August 02, 2009, 02:15:17 PM »
This work for cod4 ?
I put it in and country player comes from don't show just "country --"
Maybe forgot to set up GeoIP correctly

Offline Anixter

  • Jr. Member
  • **
  • Posts: 10
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #13 on: August 02, 2009, 06:16:13 PM »
Well i put it where it was to go.... fired it up and thats what i get.
Is B3 not getting the ip maybe?
Is their some other thing i need to do?....figured this would just work.

Offline Anixter

  • Jr. Member
  • **
  • Posts: 10
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #14 on: August 02, 2009, 06:50:53 PM »
Got it..... but some people will not give country so i take it that the geoip.dat needs to be updated

 


Rate this page +1 at Google Search