Raised This Month: $51 Target: $400
 12% 

Country kicker


Post New Thread Reply   
 
Thread Tools Display Modes
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 03-28-2005 , 18:12  
Reply With Quote #11

A-3 offcourse
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
sonsen
New Member
Join Date: Mar 2005
Old 03-29-2005 , 00:40  
Reply With Quote #12

thx!
sonsen is offline
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 04-02-2005 , 13:46  
Reply With Quote #13

Is there a possibilty to show the whole country-name ? Or is it only 3 letters ever ?
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 04-02-2005 , 14:40  
Reply With Quote #14

isnt it easier with only 3 letters?
Proach is offline
Send a message via ICQ to Proach
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 04-02-2005 , 18:20  
Reply With Quote #15

Hmmm....No...Because today i have 2 probs...

A user has connected who is domiciled at SVN....hmmm....and we all work on the riddle, where he's coming from....

Sure....We can look at the list of Country-Codes, but this is very circumstantial....

The 2. prob is, that AOL-Users are shown as USA-Users everytime.....I thing, i must edit the code to unmask this users as lamers...
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 04-02-2005 , 20:50  
Reply With Quote #16

isn't this racisme
__________________
- Bye bye!
nightscreem is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 04-03-2005 , 03:19  
Reply With Quote #17

Quote:
Originally Posted by [WbOF
LuZiFeR]Hmmm....No...Because today i have 2 probs...

A user has connected who is domiciled at SVN....hmmm....and we all work on the riddle, where he's coming from....

Sure....We can look at the list of Country-Codes, but this is very circumstantial....

The 2. prob is, that AOL-Users are shown as USA-Users everytime.....I thing, i must edit the code to unmask this users as lamers...
well for your first problem.. if you only want to let in people from one country
then all you need is the right code for that country right?
so you won't need to know any other lang codes
Proach is offline
Send a message via ICQ to Proach
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 04-03-2005 , 06:05  
Reply With Quote #18

Sure....If i use it like it is...

But i use it a little bit drifferent

I show, where the players are coming from and don't kick them...

Maybe i ask this question in another Thread, because it is not a problem of country_kicker only a question that has to do with the geoip...
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 04-11-2005 , 12:39  
Reply With Quote #19

A little Info for german Users:

German AOL-Users are shown as connecting from USA....

I've put the IPs (172.xxx.xxx.xxx) from them to the function for Local-IPs:

Code:
stock IsLocalIp(IP[32])
{
	new tIP[32]
	
	copy(tIP,3,IP)
	if(equal(tIP,"10.") || equal(tIP,"127") || equal(tIP,"172"))
		return 1
	copy(tIP,7,IP)
	if(equal(tIP,"192.168"))
		return 1

	return 0
}
It's only a solution for my needs, because they won't be checked, but maybe someone needs it too.....

Better way would be to check and handle them like germans...
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR
macleote
Junior Member
Join Date: May 2005
Old 05-09-2005 , 18:24  
Reply With Quote #20

Quote:
Originally Posted by [WbOF
LuZiFeR]A little Info for german Users:

German AOL-Users are shown as connecting from USA....

I've put the IPs (172.xxx.xxx.xxx) from them to the function for Local-IPs:

Code:
stock IsLocalIp(IP[32])
{
	new tIP[32]
	
	copy(tIP,3,IP)
	if(equal(tIP,"10.") || equal(tIP,"127") || equal(tIP,"172"))
		return 1
	copy(tIP,7,IP)
	if(equal(tIP,"192.168"))
		return 1

	return 0
}
It's only a solution for my needs, because they won't be checked, but maybe someone needs it too.....

Better way would be to check and handle them like germans...
It is the same for french but your tips doesnt work for me :/
macleote 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 13:20.


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