[HOW TO] Fix Name Hack

03/03/2014 14:29 KalySuky#1
Hey guys
First of all, thanks to Shaco for Name Hack Release.
But, I have problem..
I wanted to know, I have to insert it in the end :
DECLARE @Ret int
SET @CharName = LTRIM(RTRIM(@CharName))
SET @Ret = 0
DECLARE @charcheck AS INT

SET @NameCnt = (SELECT ISNULL(COUNT(*),0) FROM Chars WHERE CharName=@CharName AND Del=0)
SET @charcheck = PATINDEX('%[^a-zA-Z0-9]%',@CharName)
IF @charcheck > 0
RETURN -1

[Only registered and activated users can see links. Click Here To Register...] what is the problem ? I click to Execute and I have error Message ..
Any idea ?
Thanks.
Sorry For my bad English
03/03/2014 17:36 nubness#2
You clearly didn't read Shaco's explanation. Your procedure returns before this code is executed, you need to paste it a bit higher, that's your part to figure.
03/04/2014 19:28 Autrux#3
#moved