Country Nick Plugin
6 Attachment(s)
The plugin is maintained here https://forums.alliedmods.net/showth...19#post2737619
This plugin adds the country flag in his/her nickname and announces the player country when he/she connects to the server. This is NOT a country filter plugin. Example : Chat message : nickname from USA joined the game nickname becomes [US]nickname in the scoreboard if the country is unknown, [--]nickname Changelog :
Setup : Put countrynick.smx in plugins and countrynick.phrases.txt in translations. The archive translations.zip contains pl and de languages at the moment. Misc : I couldn't found a plugin that adds the flag to the nickname so I made it. It was done for my L4D server but It should work on any other game. I advice you to update from time to time your GEOIP database to keep the current country <=> IP up to date. The database can be downloaded here http://geolite.maxmind.com/download/...y/GeoIP.dat.gz |
Re: Country Nick Plugin
Plugin failed to compile.
|
Re: Country Nick Plugin
As I said, need 1.1. These forums do not have the 1.1 compiler nor the Soucemod website. Edit : added pre compiled version for Sourcemod 1.1.
|
Re: Country Nick Plugin
This is actually a pretty good plugin. We now use this as an alternative to CAnnounce. Good job with this
|
Re: Country Nick Plugin
Quote:
2. Adding translation support is very easy, consider doing it. If you need code examples just ask. |
Re: Country Nick Plugin
Thanks for the tip. 1.1 released.
|
Re: Country Nick Plugin
1 Attachment(s)
Polish translation, utf-8
|
Re: Country Nick Plugin
1 Attachment(s)
german translation, utf-8
|
Re: Country Nick Plugin
Thanks everyone for the translation files but I think they don't follow the new Sourcemod 1.1 guideline for distributing language files ...
Quote:
But I will take care of the modification :) so don't bother. Added an archive containing the translation files following the new 1.1 guideline. Can any sourcemod dev confirm this is what we should do ? |
Re: Country Nick Plugin
Thanks for the hint. I've updated the file in my first post. The old way works too, but the new way is easier for updating the language files.
|
Re: Country Nick Plugin
Update : plugin not working anymore on win32 servers with L4D. SetInfoClient crashes srcds.exe.
|
Re: Country Nick Plugin
The plugin should work again on Windows L4D servers with the latest 1.2 snapshot.
|
Re: Country Nick Plugin
Hmm, the server seems to crash with your new update. I had to remove the plugin for the team being.
|
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
Pluggin works well so far now. I tested it again. Hopefully you'll continue to work on this pluggin.
|
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
when you mentioned in the release notes you said you made flags next to their names. I was expecting pictures of actual flags haha instead of just [US] Big Myke for example.
|
Re: Country Nick Plugin
After that I finally got to test it. I decided to remove it. I don't like that there's too much messages going on when someone connects. it says that Player had changed his name to [US]<playername> everytime. thats just too much useless bloat. The pluggin works great though. Good job.
|
Re: Country Nick Plugin
Thank you for this Plugin,
but what do I have to change if I want it like that way: <name><country> ? Like: Gamer[UK] |
Re: Country Nick Plugin
plugin says, that it is loaded and running, but I don't get messages on server.
Any idea? Thanks Toxic |
Re: Country Nick Plugin
Quote:
Quote:
|
Re: Country Nick Plugin
Hello,
Quote:
|
Re: Country Nick Plugin
Where did you get that error ? (sm log ? compile time ?)
|
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
Fixed. 1.1.1 out. Thanks (weird, I didn't notice that warning :oops:).
|
Re: Country Nick Plugin
thanks
|
Re: Country Nick Plugin
i got the error msg
Quote:
Quote:
|
Re: Country Nick Plugin
Quote:
Quote:
|
Re: Country Nick Plugin
Can't reproduce this bug with the same SM snapshot. Have you done a clean install ? (delete sourcemod dir and reinstall everything ?).
Connected as "will(fr)" Appeared as "[--]will (fr)" Changed name to "fzg" Appeared as "[--]fzg" Code:
Server waking up from hibernation |
Re: Country Nick Plugin
i delete the folders:addon、cfg/sourcemod
then intall sourcemod and metamod in latest 、 clean version and your plugin only. But the issue still exist. Do the function block from my firewall? |
Re: Country Nick Plugin
This plugin does not use an external tool to get the country. It uses the integrated GEOIP database in Sourcemod so your firewall should not interfere with the plugin.
|
Re: Country Nick Plugin
I found the problem maybe due to not clean l4d data.
Let me double check |
Re: Country Nick Plugin
i fount that this issue happen only on the server was created by Hlds tool.
|
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
yes,but server was created by steam tool the plugin is ok
|
Re: Country Nick Plugin
L 02/25/2009 - 23:06:19: SourceMod error session started
L 02/25/2009 - 23:06:19: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090225.log") L 02/25/2009 - 23:06:19: [SM] Native "SetClientInfo" reported: IServer interface not supported, file a bug report. L 02/25/2009 - 23:06:19: [SM] Displaying call stack trace for plugin "countrynick.smx": L 02/25/2009 - 23:06:19: [SM] [0] Line 57, /home/groups/alliedmodders/forums/files/4/4/4/4/2/35552.attach::OnClientPutInServer() L 02/25/2009 - 23:08:28: Error log file session closed. L 02/25/2009 - 23:09:31: SourceMod error session started L 02/25/2009 - 23:09:31: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090225.log") L 02/25/2009 - 23:09:31: [SM] Native "SetClientInfo" reported: IServer interface not supported, file a bug report. L 02/25/2009 - 23:09:31: [SM] Displaying call stack trace for plugin "countrynick.smx": L 02/25/2009 - 23:09:31: [SM] [0] Line 57, /home/groups/alliedmodders/forums/files/4/4/4/4/2/35552.attach::OnClientPutInServer() L 02/25/2009 - 23:12:07: Error log file session closed. L 02/25/2009 - 23:13:22: SourceMod error session started L 02/25/2009 - 23:13:22: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090225.log") L 02/25/2009 - 23:13:22: [SM] Native "SetClientInfo" reported: IServer interface not supported, file a bug report. L 02/25/2009 - 23:13:22: [SM] Displaying call stack trace for plugin "countrynick.smx": L 02/25/2009 - 23:13:22: [SM] [0] Line 57, countrynick.sp::OnClientPutInServer() |
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
would u pls add this bug to update this post?
thx |
Re: Country Nick Plugin
Quote:
|
Re: Country Nick Plugin
Hello,
I have a error in the console to my server dedicated : [IMG]http://img22.**************/img22/7545/pasdenom.th.jpg[/IMG] sm plugins list : Quote:
Quote:
Result after compilation : Quote:
|
All times are GMT -4. The time now is 08:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.