Hey there!
#1

I'm having some issues with case sensitivity. People can join my server, for example:


I have my name as:

Callum_Getty

Someone can join with:

callum_getty
cAlLuM_GeTtY

Etc..

Is there a way to stop this, since it's making it so whoever joins like that, gets my admin rank and things.

Thanks!
Reply
#2

Make an account system with password?
Reply
#3

Well I noticed this in my code, no idea if it will do a thing for you... But may help you solve the problem.

pawn Код:
#define UpperToLower(%1) for ( new ToLowerChar; ToLowerChar < strlen( %1 ); ToLowerChar ++ ) if ( %1[ ToLowerChar ]> 64 && %1[ ToLowerChar ] < 91 ) %1[ ToLowerChar ] += 32
I do however, know that one of my scripts has a code to fix that.. If I can find it, I'll reply here.
Reply
#4

Quote:
Originally Posted by rhds
Посмотреть сообщение
Make an account system with password?
I have that. But if you read it, I stated - They can join and register new names with capital letters, and mixed case letters.

Quote:
Originally Posted by Swyft™
Посмотреть сообщение
Well I noticed this in my code, no idea if it will do a thing for you... But may help you solve the problem.

pawn Код:
#define UpperToLower(%1) for ( new ToLowerChar; ToLowerChar < strlen( %1 ); ToLowerChar ++ ) if ( %1[ ToLowerChar ]> 64 && %1[ ToLowerChar ] < 91 ) %1[ ToLowerChar ] += 32
I do however, know that one of my scripts has a code to fix that.. If I can find it, I'll reply here.
Wouldn't do nothing for me, but thanks.

If you find it, it would be perfect! (:
Reply
#5

Oooh, I just remembered.....

Calgon has a thing in his Vortex Roleplay 2 script, that makes it so any players with a NON-RP Name so like

For example:
CaLgOn_Fiu

or even calgon_fiu

It will rename the player to NONRPNAME[playerid] and it will tell the player to change his name... So I'd check into Vortex Roleplay 2 GM for that.
Reply
#6

Thanks for that Swyft, I'll look into it to get a better idea on how to code it more better.
Reply
#7

No problemo :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)