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!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
Pages: [1] 2 3   Go Down
  Print  
Author Topic: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]  (Read 7048 times)
[ www.xlrstats.com ]
Project leader
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1568
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« on: September 19, 2006, 12:45:17 PM »

Latest: http://github.com/xlr8or/b3-plugin-countryfilter/zipball/master
« Last Edit: August 10, 2010, 09:21:36 AM by xlr8or » Logged


Serving: CoD2 | CoD5 | UrT4.1
 
B3 Contrib/Support
****
Posts: 170
Offline Offline
« Reply #1 on: May 06, 2007, 01: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? Sad


Need the !cfcountry command if possible.



Thankyou!  Cool
Logged
[ www.xlrstats.com ]
Project leader
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1568
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: May 07, 2007, 01:58:35 AM »

Version 1.1.2 available (see top post for download link)
Logged


Serving: CoD2 | CoD5 | UrT4.1
B3 Contrib/Support
****
Posts: 170
Offline Offline
« Reply #3 on: May 07, 2007, 05:08:59 AM »

Cheers!

Is there anyway this could be incorperated into Echelon?

Logged
[ www.xlrstats.com ]
Project leader
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1568
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: May 07, 2007, 09:38:03 AM »

I'm sure there is already some piece of php code available for the GeoIp database... Maybe a future echelon will have it included.
Logged


Serving: CoD2 | CoD5 | UrT4.1
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #5 on: July 02, 2009, 02:26:04 PM »

Hi!

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

Code:
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.
Logged
[ www.xlrstats.com ]
Project leader
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1568
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #6 on: July 03, 2009, 07:49:40 AM »

You also need to update the xml file, its in the same package on my mercurial repo.
Logged


Serving: CoD2 | CoD5 | UrT4.1
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #7 on: July 04, 2009, 02:48:08 AM »

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.  Sad
Logged
[ www.xlrstats.com ]
Project leader
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1568
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #8 on: July 04, 2009, 10:25:31 AM »

Okay, I think I found the little bugger... can you test the latest in my mercurial repo?
Logged


Serving: CoD2 | CoD5 | UrT4.1
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5
Posts: 26
Offline Offline
WWW
« Reply #9 on: July 06, 2009, 01:37:58 AM »

Hi!

Thanks for this update, works now without a problem.  Smiley
Logged
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: CoD2
Posts: 40
Offline Offline
WWW
« Reply #10 on: August 01, 2009, 11:37:10 AM »

Does this spam the message to all players? Or only to the indiviual player who connected?
Logged
Jr. Member
**
Posts: 10
Offline Offline
« Reply #11 on: August 01, 2009, 07:56:34 PM »

This work for cod4 ?
I put it in and country player comes from don't show just "country --"
Logged
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: CoD2
Posts: 40
Offline Offline
WWW
« Reply #12 on: August 02, 2009, 04:15:17 AM »

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
Logged
Jr. Member
**
Posts: 10
Offline Offline
« Reply #13 on: August 02, 2009, 08:16:13 AM »

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.
Logged
Jr. Member
**
Posts: 10
Offline Offline
« Reply #14 on: August 02, 2009, 08:50:53 AM »

Got it..... but some people will not give country so i take it that the geoip.dat needs to be updated
Logged
Tags:
Pages: [1] 2 3   Go Up
  Print  
 
Jump to: