AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Country kicker (https://forums.alliedmods.net/showthread.php?t=11412)

Depresie 09-23-2016 07:56

Re: Country kicker
 
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

sigerman 09-23-2016 09:18

Re: Country kicker
 
Quote:

Originally Posted by Depresie (Post 2456243)
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

wickedd 09-23-2016 20:40

Re: Country kicker
 
Quote:

Originally Posted by sigerman (Post 2456091)
With 1.8.2 won't compile your code

Probably because of MAX_PLAYERS.
Quote:

Originally Posted by sigerman (Post 2456091)
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 (Post 2456091)
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.

sigerman 10-06-2016 15:19

Re: Country kicker
 
Quote:

Originally Posted by wickedd (Post 2456413)
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

BansheeCPT 03-03-2017 13:58

Re: Country kicker
 
dont be a racist pls . D.

wickedd 03-03-2017 18:09

Re: Country kicker
 
Quote:

Originally Posted by BansheeCPT (Post 2500481)
dont be a racist pls . D.

Who are you talking about?

western 03-08-2017 17:47

Re: Country kicker
 
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

wickedd 03-08-2017 18:40

Re: Country kicker
 
Change
PHP Code:

geoip_code3 

:arrow:

PHP Code:

geoip_code3_ex 


western 03-08-2017 18:55

Re: Country kicker
 
Quote:

Originally Posted by wickedd (Post 2501938)
Change
PHP Code:

geoip_code3 

:arrow:

PHP Code:

geoip_code3_ex 


Great, thanks

csykosoma 09-21-2017 03:00

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


All times are GMT -4. The time now is 06:01.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.