Well as some of you already know, Rotana created a way where you can only allow a certain set of characters when creating a new character (restricting alt codes basically).
Please refer to this if you do not already know: http://forum.ragezone.com/f497/tutorial-restrict-alt-codes-from-character-names-500260/
Some of you also know that it allows a wide range of characters including the character '^' (which allows color usage).
Yes, you're by default not able to use it originally, but there are many dlls out there that can bypass that and create colored name characters.
Rotana only provided the range of 48 through 122. A LOT of people have been asking 'how do i also restrict '^' from characters as well as only allowing 48-122?'
Well it's a simple and minor edit and i'm just showing the not-so-advanced people how to modify it to exclude a certain character.
In the fnCheckString part, instead of doing this:
Replace it with this:
That's all. I myself had trouble with this a LOOOOOOOOOOONG time ago but i tried again and it was simple.
Credits to rotana for the original restriction function
Please refer to this if you do not already know: http://forum.ragezone.com/f497/tutorial-restrict-alt-codes-from-character-names-500260/
Some of you also know that it allows a wide range of characters including the character '^' (which allows color usage).
Yes, you're by default not able to use it originally, but there are many dlls out there that can bypass that and create colored name characters.
Rotana only provided the range of 48 through 122. A LOT of people have been asking 'how do i also restrict '^' from characters as well as only allowing 48-122?'
Well it's a simple and minor edit and i'm just showing the not-so-advanced people how to modify it to exclude a certain character.
In the fnCheckString part, instead of doing this:
Code:
IF ASCII(SUBSTRING(@P_String, @V_Position, 1))
BETWEEN 48 AND 122
Replace it with this:
Code:
IF (ASCII(SUBSTRING(@P_String, @V_Position, 1)) >= 48 AND ASCII(SUBSTRING(@P_String, @V_Position, 1)) <= 122 AND ASCII(SUBSTRING(@P_String, @V_Position, 1)) != 94)
That's all. I myself had trouble with this a LOOOOOOOOOOONG time ago but i tried again and it was simple.
Credits to rotana for the original restriction function