This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Country kicker


Post New Thread Reply   
 
Thread Tools Display Modes
ss2miraitrunks
Senior Member
Join Date: Dec 2005
Old 08-07-2007 , 16:27   Re: Country kicker
Reply With Quote #61

Nice plugin very useful!!!
__________________


ss2miraitrunks is offline
Omen_
New Member
Join Date: Sep 2007
Old 09-09-2007 , 04:32   Re: Country kicker
Reply With Quote #62

hi u all say that this plugin works for you but it doesnt for me ... i am from lithuania so i wrote sv_country_name "LTU" and also "sv_country 1" in my server.cfg but when i connect i get a message "only ppl from NOR,DEN are allowed"...from where the hell did NOR,DEN came in the message i have no idea
WHAT THE HELL IS WRONG WITH IT!?... pls can anyone help me...

Last edited by Omen_; 09-09-2007 at 04:55.
Omen_ is offline
Simon10362
Junior Member
Join Date: Aug 2007
Location: Estonia
Old 09-16-2007 , 17:11   Re: Country kicker
Reply With Quote #63

Quote:
Originally Posted by Omen_ View Post
hi u all say that this plugin works for you but it doesnt for me ... i am from lithuania so i wrote sv_country_name "LTU" and also "sv_country 1" in my server.cfg but when i connect i get a message "only ppl from NOR,DEN are allowed"...from where the hell did NOR,DEN came in the message i have no idea
WHAT THE HELL IS WRONG WITH IT!?... pls can anyone help me...
Ehem, did you execute the server.cfg file, or restart the server.
If not the change wont even take effect if the following cvar wouldnt be set,
and you only changed the map not restart the server.
CVAR: mapchangecfgfile "server.cfg"
__________________
WHO AM I??
Simon10362 is offline
Send a message via MSN to Simon10362
Collins.cl
New Member
Join Date: Oct 2007
Old 10-02-2007 , 18:42   Re: Country kicker
Reply With Quote #64

Quote:
Originally Posted by Simon10362 View Post
Ehem, did you execute the server.cfg file, or restart the server.
If not the change wont even take effect if the following cvar wouldnt be set,
and you only changed the map not restart the server.
CVAR: mapchangecfgfile "server.cfg"

Hello, I have the same problem as Omen_, I'm from Chile (CHL). I have set at server.cfg:
sv_country 1
sv_country_name CHL

and restarted the server.

If I ask thru rcon (HLSW) for sv_country I get
"sv_country" is "1"
and for sv_country_name:
"sv_country_name" is "CHL"

but when I connect it kick me with "only ppl from NOR,DEN are allowed" ... I have enabled the module geoip also.

Anyway some people from Chile (CHL) and Venezuela (VEN) have logged in.

Any idea? thanks
Collins.cl is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 10-02-2007 , 19:36   Re: Country kicker
Reply With Quote #65

geoip database could be outdated.
if not check the cvar values via rcon?
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Collins.cl
New Member
Join Date: Oct 2007
Old 10-03-2007 , 01:32   Re: Country kicker
Reply With Quote #66

Quote:
Originally Posted by EKS View Post
geoip database could be outdated.
if not check the cvar values via rcon?
I have checked the cvars:
rcon sv_country
"sv_country" is "1"

rcon sv_country_name
"sv_country_name" is "CHL"
Collins.cl is offline
D3pr3x
Member
Join Date: Oct 2007
Location: Curico, Chile
Old 10-26-2007 , 18:30   Re: Country kicker
Reply With Quote #67

I bring the plugins in multilingual


[es] by D3pr3x
Attached Files
File Type: rar country_kicker.rar (5.9 KB, 522 views)
__________________
[IMG]http://img357.**************/img357/9676/firmaiv4.gif[/IMG]
[IMG]http://img508.**************/img508/1592/userbarscl3.gif[/IMG]
[IMG]http://img140.**************/img140/5306/nadieyq0.jpg[/IMG]

D3pr3x is offline
waka-boy
Member
Join Date: May 2007
Location: Panama
Old 10-30-2007 , 15:35   Re: Country kicker
Reply With Quote #68

I edit the code and change the sv_country_name "PAN" and sv_country 1, Why? allowed people from venezuela connect to my server

the puglin work 90%, players from venezuela and others country not kick :S

I think need update the code
waka-boy is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 11-07-2007 , 00:12   Re: Country kicker
Reply With Quote #69

Identifying all AOL users as "US" is a "feature" rather than a bug:

http://www.maxmind.com/app/geoip_country

The makers of GeoIP want you to pay $50 up front and $12/mo. to get a correct identification.

The original reason I posted though is because I'm seeing quite a few lines like this in my logs:

[country_kicker.amxx] xxx.xxx.xxx.xxx made a error when passed though geoip

However when I take the IP's and run them through the online demo at MaxMind they are identified just fine.

Are these IP's part of the 3% that the free GeoIP can't identify or does this indicate that GeoIP.dat needs to be updated?

Last edited by Phorce_Phed; 11-07-2007 at 00:16. Reason: Additional info added
Phorce_Phed is offline
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 06-18-2008 , 16:13   Re: Country kicker
Reply With Quote #70

Very good plugin, i currently use it but i would like 2 features, if it's possible:
-a list of ip's that are allways allowed that supports single ip's and range, for example configs/goodips.ini
-a list of ip's that are allways blocked that supports single ip's and range, for example configs/badips.ini

thank you

Quote:
Originally Posted by Phorce_Phed View Post
Are these IP's part of the 3% that the free GeoIP can't identify or does this indicate that GeoIP.dat needs to be updated?
yea, you need to manually update geoip.dat from http://www.maxmind.com/download/geoi...e/GeoIP.dat.gz
they update the database on the 1st day of each month

Last edited by ehha; 12-22-2008 at 07:23.
ehha 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 10:37.


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