View Single Post
Old 02.04.2007, 17:18   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by HF View Post
What checking this store procedure? I dont understund
With that SP you cant create chars with less than 3 letters.... and you cant use numbers in the name (thats the only part of the SP i dont like)... and cant create chars with names like... "XXXMageXXX" or... "MysticXXX" or any three identical letters together (lllKinglll, etc).. but the invalid characters code... fix the charname injection packet with hlapex too... i dont know if amped fix that, i think doesnt. In the past with Hlapex you can create chars with name not visible with the client, resulting in .. you cant whisp that player... and i not sure but possible crash others clients when trying to target it.

To modify the invalid characters check to allow numbers only make something like this

Search:
SELECT @r = 1 WHERE @char_name LIKE '%[^a-z]%'

Replace with:
SELECT @r = 1 WHERE @char_name LIKE '%[^a-z0-9]%'
FidoW is offline