Allow - and _ in characters name

06/22/2013 02:01 danatael#1
Hi all :)

such as i'm asking in the title, i would like allow this symbols (- and _) in the characters names on my server. How can i make this?

Thanks for replies,
Dana
06/29/2013 09:57 nubness#2
They are allowed by default.
06/30/2013 23:13 danatael#3
Ok but this is not the case on my server, I probably changed it inadvertently. Someone can help me? Only a-z A-Z 0-9 symbols are allowed actualy. I want add _ - and .

Thank you,
Dana
07/01/2013 01:09 shakalaka_boom#4
Quote:
Originally Posted by danatael View Post
Ok but this is not the case on my server, I probably changed it inadvertently. Someone can help me? Only a-z A-Z 0-9 symbols are allowed actualy. I want add _ - and .

Thank you,
Dana
As far as I know the character checking is only in game.exe.
or you change the procedure usp_Create_Char_R
07/01/2013 02:46 danatael#5
I have found.
Its in usp_Create_Char_r at the line with PATINDEX. Juste a few documentations on internet and i have change the line:
Quote:
SET @charcheck = PATINDEX('%[^a-zA-Z0-9]%',@CharName)
to
Quote:
SET @charcheck = PATINDEX('%[^a-zA-Z0-9._-]%',@CharName)
Not even need restart server :p