thankyou
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 36393 times)

Offline MrMind

  • Jr. Member
  • **
  • Posts: 39
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #60 on: November 10, 2011, 08:03:48 AM »
Hello!

As I see in the b3.log: "No module named countryfilter"

Code: [Select]
#
111109 21:36:58 BOT     'Loading Plugin #17 countryfilter [G:\\users\\b3avocadoo488\\extplugins\\conf\\countryfilter.xml]'
#
111109 21:36:58 INFO    'Could not load built in plugin countryfilter (No module named countryfilter)'
#
111109 21:36:58 INFO    'trying external plugin directory : G:\\users\\b3avocadoo488\\extplugins'
#
111109 21:36:58 BOT     'CountryfilterPlugin: Loading config G:\\users\\b3avocadoo488\\extplugins\\conf\\countryfilter.xml for CountryfilterPlugin'
#
111109 21:36:58 VERBOSE 'CountryfilterPlugin: Loading config'
#
111109 21:36:58 DEBUG   'CountryfilterPlugin: Ignored names: []'
#
111109 21:36:58 DEBUG   "CountryfilterPlugin: Ignored IP's: []"
#
111109 21:36:58 DEBUG   'CountryfilterPlugin: Ignored maxLevel: 1'
#
111109 21:36:58 DEBUG   'Register Event: Stop Process: CountryfilterPlugin'
#
111109 21:36:58 DEBUG   'Register Event: Program Exit: CountryfilterPlugin'
#
111109 21:36:58 BOT     'Plugin countryfilter (1.2.1 - guwashi / xlr8or) loaded'

I have no idea what's the problem because the paths are good, and here is the code what I inserted into b3.xml

Code: [Select]
<plugin config="@b3/extplugins/conf/countryfilter.xml" name="countryfilter"/>

Thanks for the help.

Offline Mariodu62

  • Sr. Member
  • ****
  • Posts: 466
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #61 on: November 10, 2011, 09:34:52 AM »
there is no problem in your log...

it's written plugincountryfilter is loaded

Offline MrMind

  • Jr. Member
  • **
  • Posts: 39
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #62 on: November 10, 2011, 09:39:46 AM »
there is no problem in your log...

it's written plugincountryfilter is loaded

Could you send me your country filter files (.xml, .py, and GeoIP.dat)? I would like to try with your files, bcos you said it works good for you on your server. Or someone could help me?

Thx in advance.
« Last Edit: November 10, 2011, 04:08:49 PM by MrMind »

Offline MrMind

  • Jr. Member
  • **
  • Posts: 39
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #63 on: November 11, 2011, 09:51:49 AM »
It works good. :) I writte a '@' character before the paths in xml and py files.
« Last Edit: November 11, 2011, 11:39:05 AM by MrMind »

Offline pa3ck

  • Full Member
  • ***
  • Posts: 50
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #64 on: December 31, 2011, 03:51:35 PM »
A quick question, didnt see a description. Is it working like the Geowelcome plugin? It shows where a player connecting from?
NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #65 on: January 02, 2012, 03:06:23 PM »
I think all it does is removes people who connect from country's not allowed.
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 Mariodu62

  • Sr. Member
  • ****
  • Posts: 466
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #66 on: January 03, 2012, 09:35:35 AM »
yes, it shows from wich country the player is comming.


Offline pa3ck

  • Full Member
  • ***
  • Posts: 50
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #67 on: January 04, 2012, 01:19:21 AM »
Quote
I think all it does is removes people who connect from country's not allowed.


So if i set for example germany, the germans wont be able to join?
NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #68 on: January 04, 2012, 03:01:10 PM »

So if i set for example germany, the germans wont be able to join?
Yes and no.
Yes, if you set the ip range from Germany in the config, anybody in that range that joins will be removed from the server. But it will not stop them from connecting to start with. It also might get some people who are close to Germany that are in that IP range.
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 -real-

  • Full Member
  • ***
  • Posts: 66
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #69 on: January 05, 2012, 04:19:20 PM »
hello. I have a problem with this plugin. I've written before about a similar issue, now I am writing again.
Description of problem: at one great moment player ua22 with ip 95.215.36.106 authenticated with ip 5.215.36.106 and  of course it does not allow to enter game.
But, it is half of the trouble.
Second half is that next connected players with ip 95.132.105.82 , 178.45.128.2 authenticated with ip 5.132.105.82 and 8.45.128.2
logs http://pastebin.com/rne89itp
« Last Edit: January 05, 2012, 04:22:16 PM by -real- »

Offline -real-

  • Full Member
  • ***
  • Posts: 66
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #70 on: January 11, 2012, 05:31:56 PM »
any ideas ?

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2617
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #71 on: January 11, 2012, 07:08:15 PM »
PB doesn't always seem to report the correct IP, not much that can be done about that.

Offline Ceaseless

  • Jr. Member
  • **
  • Posts: 36
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #72 on: January 27, 2012, 09:53:49 PM »
Can this plugin still ban by country or does that not work?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #73 on: January 30, 2012, 04:33:22 PM »
Can this plugin still ban by country or does that not work?
it should be able to.
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 blackmirrorbm

  • Newbie
  • *
  • Posts: 1
Re: CountryFilter [CoD|CoD:UO|CoD2|CoD4|UrT|WoP]
« Reply #74 on: January 30, 2012, 11:23:30 PM »
hey can i anyone give me the updated GEOIP.DAT file, dont say download it from the maxmind website coz the link is screwed up, its broken not working, some1 upload it to mediafire and give me the link.... Thanks in advance

 


Rate this page +1 at Google Search