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

Blocking Unicode Characters


Post New Thread Reply   
 
Thread Tools Display Modes
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 07-01-2018 , 19:07   Re: Blocking Unicode Characters
Reply With Quote #41

Quote:
Originally Posted by fysiks View Post
He said he couldn't ban these people without using the ban menu due to the fact that the names were non-ascii. That is why the discussion of banning came up.
That's weird, the menu items should still show up.

But still, whats this long of discussion about ?
-Can you ban players with shit names ? Yes
-Can you change their name if you want to ? Yes

That should be it
__________________
stuff
maqi is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 07-01-2018 , 19:39   Re: Blocking Unicode Characters
Reply With Quote #42

Let me give a question.How can I change his name or ban him with no using addban userid ... or amx_nick userid ....?


My Nickname : PurposeLess
Stupid's Nm: PürpöseLess

I cannot see "üö" characters in the consol so I cannot ban him.

In the console;

PrpseLess : Idiot. You cannot ban me.



+ Don't say use amx_banmenu or something like this. I blocked using it. I don't want to use menu.
By the way, i will try to use restrict name. But I need a plugin which blockes "all characters except normal characters. And also blockes changing name to our same nickname as example.

My nm: PurposeLess
Stupid's nm: .PurposeLess or PurposeLess. (or anything like this)
__________________
A plugin that is needed for every server.
PHP Code:
public client_connect(id)
{
    if(
get_user_iq(id) < 80)
    {
        
server_cmd("kick #%d 'You have kicked from the server because your IQ is not high enough'"get_user_userid(id));
    }

PurposeLessx is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-01-2018 , 19:42   Re: Blocking Unicode Characters
Reply With Quote #43

Quote:
Originally Posted by maqi View Post
That's weird, the menu items should still show up.
He didn't say that they didn't show up, at least I didn't interpret his statement to mean that. It sounded like, to me, that he just didn't want to use the menu. So, at that point, I figured that was why he was requesting this so I explained how to ban/kick them without having to worry about the characters in the name.

If he simply just wants to exclude those characters from being used, that's fine. It sound more like an XY problem once he mentioned not being able to ban them from the console.
__________________
fysiks is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 07-01-2018 , 19:45   Re: Blocking Unicode Characters
Reply With Quote #44

Yes you can ban them, get their userid or steamid and ban them........

As for the plugin, we already told you how to easily make it, if you wan't to change their names, you can also use any other name restriction plugin and there are plenty.
__________________
stuff
maqi is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 07-01-2018 , 19:46   Re: Blocking Unicode Characters
Reply With Quote #45

Quote:
Originally Posted by maqi View Post
Yes you can ban them, get their userid or steamid and ban them........

As for the plugin, we already told you how to easily make it, if you wan't to change their names, you can also use any other name restriction plugin and there are plenty.
I will look at this plugin in the morning. It is 02.46 now. I am gonna sleep. I will be back after it.
Thanks all you for helping.
__________________
A plugin that is needed for every server.
PHP Code:
public client_connect(id)
{
    if(
get_user_iq(id) < 80)
    {
        
server_cmd("kick #%d 'You have kicked from the server because your IQ is not high enough'"get_user_userid(id));
    }

PurposeLessx is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-01-2018 , 19:53   Re: Blocking Unicode Characters
Reply With Quote #46

Quote:
Originally Posted by PurposeLessx View Post
Let me give a question.How can I change his name or ban him with no using addban userid ... or amx_nick userid ....?

You can


My Nickname : PurposeLess
Stupid's Nm: PürpöseLess

I cannot see "üö" characters in the consol so I cannot ban him.

In the console;

PrpseLess : Idiot. You cannot ban me.

+ Don't say use amx_banmenu or something like this. I blocked using it. I don't want to use menu.
You can use most default commands as I explained in my previous post. No quotation marks required, just do: amx_ban #123

Also know that there is always a situation, regardless of what plugins you have to prevent names, it is still possible that the only method you can use to ban someone is to use the method I described (with the exception of the ban menu which you don't use nor do I, I never use the ban menu).

Quote:
Originally Posted by PurposeLessx View Post
And also blockes changing name to our same nickname as example.

My nm: PurposeLess
Stupid's nm: .PurposeLess or PurposeLess. (or anything like this)
That is an entirely different request and is going to be nearly impossible to accomplish in a reliable and practical manner.
__________________

Last edited by fysiks; 07-01-2018 at 19:58.
fysiks 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:09.


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