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

Country kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-23-2016 , 07:56   Re: Country kicker
Reply With Quote #101

I just told you above... google country ip range, ban the range of the country
For example all IPs from a country starts with this 81.32.x.x

Just ban 81.32.0.0
__________________
Depresie is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 09-23-2016 , 09:18   Re: Country kicker
Reply With Quote #102

Quote:
Originally Posted by Depresie View Post
I just told you above... google country ip range, ban the range of the country
For example all IPs from a country starts with this 81.32.x.x

Just ban 81.32.0.0
Ok. I know that can be done. I was expecting to have also the same functions of this modificaton.
Thanks anyway

Last edited by sigerman; 09-23-2016 at 09:21.
sigerman is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 09-23-2016 , 20:40   Re: Country kicker
Reply With Quote #103

Quote:
Originally Posted by sigerman View Post
With 1.8.2 won't compile your code
Probably because of MAX_PLAYERS.
Quote:
Originally Posted by sigerman View Post
I also discovered that this plugin (country kicker) works fine with arkshine module, the crash I saw was caused by the combination between Deathrun mod = https://forums.alliedmods.net/showthread.php?t=78197 (the fake bot was causing the crash), country kicker and arkshine module. Without the fake bot both modifications work just fine. I'm sorry for giving you a wrong idea.
I don't see why it would crash.
Quote:
Originally Posted by sigerman View Post
Any ideas of how to solve the problem will be welcomed
Try it with Amxx 1.8.3, then let me know if it still crash.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 10-06-2016 , 15:19   Re: Country kicker
Reply With Quote #104

Quote:
Originally Posted by wickedd View Post
Probably because of MAX_PLAYERS.

I don't see why it would crash.

Try it with Amxx 1.8.3, then let me know if it still crash.
I solved the problem replacing default GeoIP.dat, with the one in this link: http://geolite.maxmind.com/download/...y/GeoIP.dat.gz
When this is done, the ubication is more accurate.

Regarding to the crashes, I still don't know what it was, I am still with 1.8.2 though.
In the following months I will try to find out. And I will post the solution here.

Sorry for not responding soon
sigerman is offline
BansheeCPT
Member
Join Date: Mar 2017
Old 03-03-2017 , 13:58   Re: Country kicker
Reply With Quote #105

dont be a racist pls . D.
BansheeCPT is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-03-2017 , 18:09   Re: Country kicker
Reply With Quote #106

Quote:
Originally Posted by BansheeCPT View Post
dont be a racist pls . D.
Who are you talking about?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
western
Junior Member
Join Date: Dec 2004
Old 03-08-2017 , 17:47   Re: Country kicker
Reply With Quote #107

When compiled on 1.8.3-5100, it issues warnings

country_kicker.sma(94) : warning 233: symbol "geoip_code3" is marked as deprecated: Use geoip_code3_ex() instead.
Header size: 532 bytes
Code size: 2784 bytes
Data size: 2044 bytes
Stack/heap size: 16384 bytes
Total requirements: 21744 bytes

1 Warning.
Done.
AMX Mod X Compiler 1.8.3-dev+5100
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team
__________________

western is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-08-2017 , 18:40   Re: Country kicker
Reply With Quote #108

Change
PHP Code:
geoip_code3 


PHP Code:
geoip_code3_ex 
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 03-08-2017 at 18:43.
wickedd is offline
western
Junior Member
Join Date: Dec 2004
Old 03-08-2017 , 18:55   Re: Country kicker
Reply With Quote #109

Quote:
Originally Posted by wickedd View Post
Change
PHP Code:
geoip_code3 


PHP Code:
geoip_code3_ex 
Great, thanks
__________________

western is offline
csykosoma
Member
Join Date: Dec 2011
Old 09-21-2017 , 03:00   Re: Country kicker
Reply With Quote #110

Can this plugin be made to kick by time zone using GeoIP+ (v1.3). For example only allow UTC 7 players.

Last edited by csykosoma; 09-21-2017 at 16:08.
csykosoma is offline
Reply


Thread Tools
Display Modes

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 06:34.


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