Raised This Month: $32 Target: $400
 8% 

Country Filter 2nd Edition


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-20-2010 , 17:50   Re: Country Filter 2nd Edition
Reply With Quote #11

Quote:
cf_version 1.1.2
Make sure you had no other CountryFilter plugins on your server.


Quote:
sm plugins load country_filter_2nd_edition
L 12/20/2010 - 19:47:24: [SM] Warning(s) encountered in translation file "country_filter_2nd_edition.phrases.txt"
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 5.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 11.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 17.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 23.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 29.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 35.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 41.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 47.
L 12/20/2010 - 19:47:24: [SM] Ignoring translation to invalid language "#format" on line 53.
[SM] Loaded plugin country_filter_2nd_edition.smx successfully.
- Make sure you have installed translation file right place
...addons/sourcemod/translations/country_filter_2nd_edition.phrases.txt

And remove all others country_filter_2nd_edition.phrases.txt files from ...translations/subfolders
Bacardi is offline
geNesis177
Member
Join Date: Jun 2010
Old 12-22-2010 , 11:37   Re: Country Filter 2nd Edition
Reply With Quote #12

Quote:
// This file was auto-generated by SourceMod (v1.3.6)
// ConVars for plugin "country_filter_2nd_edition.smx"


// When enabled, allow admins flag 'a' bypass country filter
// Notice, when enabled this, it not reject players so quickly
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_adminimmunity "1"

// When enabled, allow players from LAN connect
// from these addresses
// 10.x.x.x
// 127.x.x.x
// 169.254.x.x
// 172.16.x.x - 172.31.x.x
// 192.168.x.x
// loopback
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_allowlan "0"

// When enabled, allow unidentified countries connect
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_allowunidentified "1"

// -
// Default: ""
cf_countries "RU UA LV EE KZ"

// -
// Default: "1"
cf_mode "1"

// Print connection announce by admin when 'cf_adminimmunity' and 'cf_printallowed' enabled
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_printadminannounce "0"

// When enabled, this print in chat to all allowed connections
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_printallowed "0"

// When enabled, this print in chat to all allowed LAN connections
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_printallowedlan "0"

// When enabled, this print in chat to all rejected connections
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_printrejected "0"

// When enabled, this print in chat to all rejected LAN connections
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
cf_printrejectedlan "0"

// -
// Default: "1.1.2"
cf_version "1.1.2"

geNesis177 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-22-2010 , 14:10   Re: Country Filter 2nd Edition
Reply With Quote #13

@geNesis177... Can you do these following things ?
  1. Go check your server SM plugins folder. ...addons/sourcemod/plugins/
    - Delete all others country_filter plugins

  2. Make sure you have installed translation file right place
    ...addons/sourcemod/translations/country_filter_2nd_edition.phrases.txt
    And delete all others country_filter_2nd_edition.phrases.txt files from ...translations/subfolders (look inside ru, fr, chi, cze etc. etc.)

  3. Go your server cfg folder. ...cfg/sourcemod/
    - Delete country_filter_2nd_edition.cfg

  4. Reboot server

  5. Go your server cfg folder. ...cfg/sourcemod/
    - Edit what ever you like in new config file country_filter_2nd_edition.cfg
    - But leave these cf_printallowed to 1 and cf_printrejected to 1

  6. Change map

If you get players from "unidentified country", update your GeoIP.dat
Update SourceMod GeoIP.dat


Nextime you post your problems here, list also your SM plugins list.
rcon sm plugins list
Bacardi is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 12-28-2010 , 16:09   Re: Country Filter 2nd Edition
Reply With Quote #14

Maybe a stupid question but I can't find a list that has all the country shortcut names

I mean,

Belgium = BE
Netherlands = NL
etc..
Groger is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-28-2010 , 16:50   Re: Country Filter 2nd Edition
Reply With Quote #15

Quote:
Originally Posted by Groger View Post
Maybe a stupid question but I can't find a list that has all the country shortcut names

I mean,

Belgium = BE
Netherlands = NL
etc..
In first post look under cvars Country Filter 2nd Edition CVARS

I posted now in here also
Quote:
cf_countries ""
- List of the countries, use two character country code: DE GB JP
- http://www.maxmind.com/app/iso3166
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-04-2011 , 06:36   Re: Country Filter 2nd Edition
Reply With Quote #16

Want to mention that, I tried today run latest GeoIP.dat
GeoIP.dat,gz 03-Jan-2011 10:16 603K
[GEOIP] GeoIP database info: GEO-106FREE 20110101 Build 1 Copyright (c) 2010 MaxMind Inc All Rights Reserved


It identified connections from Finland to United States
I upgrade geoip to previous version to fix,
[GEOIP] GeoIP database info: GEO-106FREE 20101201 Build 1 Copyright (c) 2010 MaxMind Inc All Rights Reserved

*edit
So remember save previous version when upgrade to new one, if this kind happen.

*second edit
I update again with this new GeoIP.dat version and now it show countries right. ;)

Last edited by Bacardi; 01-17-2011 at 06:08.
Bacardi is offline
PabloP
SourceMod Donor
Join Date: Feb 2010
Old 01-14-2011 , 06:33   Re: Country Filter 2nd Edition
Reply With Quote #17

How do i get the old version? I was just coming here to say this doesnt appear to work, as i have a lot of people connecting from all over the world, even though i have a short list of 3 allowed countries.
__________________
Beware, Im a dummy
PabloP is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 01-14-2011 , 15:31   Re: Country Filter 2nd Edition
Reply With Quote #18

Here: http://forums.alliedmods.net/showthread.php?p=586427

But I do not recommend it
This plugin works fine for me you probably did something wrong or something is conflicting (did you check your errors log?)
Groger is offline
PabloP
SourceMod Donor
Join Date: Feb 2010
Old 01-14-2011 , 15:57   Re: Country Filter 2nd Edition
Reply With Quote #19

ok yeah my fault, i had the translation file with a (2) on the end heh.
__________________
Beware, Im a dummy
PabloP is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 02-02-2011 , 03:46   Re: Country Filter 2nd Edition
Reply With Quote #20

can anyone confirm that the LAN blocking works for them because its not working on my servers. The country block seems to be ok but no lan
__________________
Happy Happy Joy Joy

sinblaster is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode