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

Country On Name


Post New Thread Reply   
 
Thread Tools Display Modes
samer_ben
BANNED
Join Date: Jun 2011
Old 08-03-2012 , 17:18   Re: Country On Name
Reply With Quote #31

ok can u make country on chat only

i don't want it in name!
samer_ben is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 08-04-2012 , 11:57   Re: Country On Name
Reply With Quote #32

Country Chat Tag
untested.
__________________
isotonic is offline
samer_ben
BANNED
Join Date: Jun 2011
Old 08-04-2012 , 17:30   Re: Country On Name
Reply With Quote #33

i want it like this tag like [UK] Abo Zanih: Hello
samer_ben is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 08-04-2012 , 19:22   Re: Country On Name
Reply With Quote #34

Your wishes don't belong to 'Country on Name' plugin. Post them in the 'Country Chat Tag' plugin thread or in Request section of forum.
__________________
isotonic is offline
S0m3Th1nG_AwFul
Member
Join Date: Sep 2011
Location: is not known.
Old 01-02-2014 , 06:10   Re: Country On Name
Reply With Quote #35

Quote:
Originally Posted by isotonic View Post
It would be great to add such feature:
If country cannot be determined by GeoIP plugin checks IP-address against well-know private IPs (172.16.0.0/16, 192.168.0.0/16, 10.0.0.0/8 ).
Not fully right...
PHP Code:
IANA-reserved private IPv4 network ranges
    
                                    Start            End                    No
of addresses
24
-bit block (/8 prefix1 x A)     10.0.0.0         10.255.255.255         16777216
20
-bit block (/12 prefix16 x B)   172.16.0.0       172.31.255.255         1048576
16
-bit block (/16 prefix256 x C)  192.168.0.0      192.168.255.255        65536 
Also, in that case, this part of actual code:
PHP Code:
new const g_privateAddress[ ][ ] = { "10.0""172.16""192.168""loopback" }; 
won't cover all possible private IP-addresses.

Last edited by S0m3Th1nG_AwFul; 01-02-2014 at 10:18.
S0m3Th1nG_AwFul is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 11-12-2015 , 06:12   Re: Country On Name
Reply With Quote #36

New version ;)
But it was created in summer of 2012...

Changes from the original are:
• fix: more complex algorithm for renaming to avoid duplicates that lead to big problems in CS 1.6
• new: admins are able to use self-defined country tag to effectively hide yourself. In other words plugin does NOT check country tag in the admin's nick to be equal his true country. It requires access flag 's' by default
• new: amx_default_country_code cvar to set default country tag for player if he's country could not be determined (usually he is a 'local' player (players with private IPs)). By default it is "??"
• new: support of custom tag for bots [BOT]. Disabled by default, to enable uncomment line //#define BOT_TAG.
• new: ability to reposition current country tag in player's nick if it is valid

Be sure to update GeoIP base to the latest version and restart the server if you don't want to see to many [??] ;)

--
Attached Files
File Type: sma Get Plugin or Get Source (country_on_name_modified.sma - 1096 views - 3.6 KB)
__________________

Last edited by isotonic; 11-12-2015 at 07:26.
isotonic is offline
smixi
Junior Member
Join Date: Aug 2016
Old 10-08-2016 , 20:05   Re: Country On Name
Reply With Quote #37

HI THERE
is't possible to remove tag country when i press TAB, and when someone kill others
i want it only on chat
ty in advance
great job by the way
smixi is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-09-2016 , 06:52   Re: Country On Name
Reply With Quote #38

Quote:
Originally Posted by smixi View Post
HI THERE
is't possible to remove tag country when i press TAB, and when someone kill others
i want it only on chat
ty in advance
great job by the way
Search for CountryChat
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-12-2017 , 10:44   Re: Country On Name
Reply With Quote #39

While this is one of my favorite plugins it unleashes ancient UTF reliable channel overflow exploit!

Values must be valid utf8 text
Values must be valid utf8 text
Values must be valid utf8 text
Values must be valid utf8 text
Values must be valid utf8 text


Since this post HLDS updates have resolved it.

Last edited by DJEarthQuake; 07-03-2019 at 16:32. Reason: per 2519997&postcount=27 URL was deleted after 05-12-17
DJEarthQuake is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 12-29-2018 , 02:51   Re: Country On Name
Reply With Quote #40

Any idea why it stopped working after I've updated my servers to 1.9? It shows [??] for all players
__________________


Last edited by Mordekay; 12-29-2018 at 02:52.
Mordekay is offline
Old 12-30-2018, 19:07
luciaus18
This message has been deleted by asherkin.
Old 12-31-2018, 03:04
Mordekay
This message has been deleted by asherkin.
Old 12-31-2018, 07:14
luciaus18
This message has been deleted by asherkin.
Old 12-31-2018, 08:36
Mordekay
This message has been deleted by asherkin.
Old 12-31-2018, 11:39
luciaus18
This message has been deleted by asherkin.
Old 12-31-2018, 15:00
Mordekay
This message has been deleted by asherkin.
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 17:49.


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