Raised This Month: $490 Target: $400
 122% 

Country Track


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
aake
New Member
Join Date: Mar 2006
Old 02-25-2007 , 12:25   Country Track
Reply With Quote #1

This plugin is ment to show to player other players country
and set up AMX language to match the country.



installing the plugin:
1. Copy counrty_track.amxx file to plugins folder
2. Add line country_track.amxx to plugins.ini file
3. Activate geoip module by changing lines from modules.ini file:

;geoip_amxx_i386.so
;geoip_amxx.dll
;geoip_amxx_amd64.so

To look like this:

geoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so

4. Restart Server and the plugin should be working now.


Commands:
-"say /track" //Show players country info in motd-window
-"say_team /track" //Show players country info in motd-window
-"amx_track" //Show players country info in console

Cvars:
-"amx_autolang" //change AMX language automaticaly by player country 1=yes 0=no (Default=1)
-"amx_saytrack" //Is "say /track" and "say_team /track" commands available 1=yes 0=no (Default=1)
-"amx_track_con_mess" //Show message to player ("say /track" show all players country) when player joins to the server 1=yes 0=no (Default=0)



Package includes newest geoip database available at the time this plugin was made (database updated 5.2.2007) wich regonizes much more IPs than geoip database that were included in Amx mod X v1.76c if you want to use this updated database then copy geoip.dat file to data folder.

you can inspect geoip.dat database included in this package by reading GeoIPCountryWhois.csv file

If you want, You can search for Updated geoip database at
http://www.maxmind.com/download/geoip/database/
Attached Thumbnails
Click image for larger version

Name:	country_track.jpg
Views:	5071
Size:	35.2 KB
ID:	14180   Click image for larger version

Name:	country_trac22k.jpg
Views:	6697
Size:	34.3 KB
ID:	14181  
Attached Files
File Type: sma Get Plugin or Get Source (country_track.sma - 2964 views - 6.0 KB)
File Type: zip country_track.zip (1.25 MB, 1974 views)

Last edited by aake; 02-27-2007 at 14:32.
aake is offline
Send a message via MSN to aake
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 02-25-2007 , 13:14   Re: Country Track
Reply With Quote #2

how is this exacly better then http://forums.alliedmods.net/showthread.php?p=135812
?
__________________
Voi is offline
Skissors
Senior Member
Join Date: Jan 2007
Location: Due East of my backyard
Old 02-25-2007 , 17:42   Re: Country Track
Reply With Quote #3

I believe there is aplugin which auto attatches a 3 letter abreviation in brackets (ex. [USA]) which in my opinion is cooler and more useful
__________________
-Karma if you read this post
current karma i lost track but its less than -70
please leave your name, I wont be offended.

IM BACK
Skissors is offline
Vanquishe[rR]
BANNED
Join Date: Feb 2010
Location: Australia, Victoria, Mel
Old 02-26-2010 , 02:14   Re: Country Track
Reply With Quote #4

I don't have

Quote:
geoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so
in my modules.ini, however in the engine, fakemeta section i have a geoip
Is that the same?
Vanquishe[rR] is offline
Send a message via MSN to Vanquishe[rR]
culdasac[KK]
Member
Join Date: Sep 2010
Old 12-15-2010 , 23:57   Re: Country Track
Reply With Quote #5

This plugin ---> https://forums.alliedmods.net/showthread.php?t=63507 <--- also shows the players STEAM ID and region WITH a sound called on connect and disconnect. There are also CVARS to make this ^^^ plugin exactly as yours.
__________________
culdasac[KK] is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-26-2017 , 11:57   Re: Country Track
Reply With Quote #6

Why this plugin dont work anymore?
I use latest geoip.
Krtola is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-26-2017 , 14:12   Re: Country Track
Reply With Quote #7

"Doesn't work" doesn't tell us anything. Explain which part doesn't work, check your console for errors, tell us what AMXX version you're using, etc.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-26-2017 , 16:22   Re: Country Track
Reply With Quote #8

GHW_connect work fine.
About this one-when I say /track in motd where should wryte country name there is "unknown".
amxx 1.8.2
Krtola is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-26-2017 , 17:04   Re: Country Track
Reply With Quote #9

That doesn't mean that the plugin doesn't work. It can't locate your IP's country and the reasons for this can be quite a few.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-26-2017 , 17:33   Re: Country Track
Reply With Quote #10

Unable to locate the IP of any players not just my.
Krtola 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 20:30.


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