This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Unicode Name Filter (Updated 29 Dec 2014)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-30-2014 , 07:55   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #11

Here, this should work, I think: https://forums.alliedmods.net/showth...81#post2242081
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Viper_Vicki
AlliedModders Donor
Join Date: Sep 2005
Location: USA
Old 01-02-2015 , 20:36   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #12

thanks I am not sure how to use it where do I allow certain characters?
__________________
[VIPER]_Vicki

Viper_Vicki is offline
mikma
Junior Member
Join Date: Apr 2015
Old 04-12-2015 , 08:28   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #13

I am getting errors about missing command 'namelockid'.
mikma is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 04-14-2015 , 18:35   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #14

You should merge this with a regular regex name filter (with whitelist) since there are no other plugins that can filter unicode names.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 04-21-2015 , 23:10   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #15

Quote:
Originally Posted by mikma View Post
I am getting errors about missing command 'namelockid'.
Sorry, I'll try and update it soon. Keep watch of this plugin for update.

namelockid is a TF2 only feature.
__________________

Last edited by El Diablo War3Evo; 04-21-2015 at 23:11.
El Diablo War3Evo is offline
SirDigby
Junior Member
Join Date: Feb 2016
Old 02-24-2016 , 03:29   Re: Unicode Name Filter (Updated 29 Dec 2014)
Reply With Quote #16

There were two problems (and 1 other thing) I found in the code, but I went ahead and patched them

1. The timer didnt check for access to unf_skipfilter, so it would always filter your name anyway.
2. The CVars did not get their values correctly if the plugin late-loaded, as they'd only update the values if they changed.
3. The Event_PlayerSpawn forward(?) didn't have "Action:" at the start, but worked anyway. Added that and changed the returns to Plugin_Continue.

Fairly certain it works now.
Attached Files
File Type: sp Get Plugin or Get Source (UnicodeNameFilter.sp - 367 views - 15.1 KB)

Last edited by SirDigby; 03-06-2016 at 22:11. Reason: Added fixed code and cleaned comment.
SirDigby 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 23:17.


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