How to add Silk from the beginning ?

05/30/2014 12:30 BlackSelection##1
i wanna know how to add silk when you create a char ?

i mean that if you create a char it should be instandly silk on it.

i think table addnewchar... but where there ?
05/31/2014 00:35 xClock#2
Better if you'd like to use when user is creating account :)
06/01/2014 05:23 Royalblade*#3
Quote:
Originally Posted by xClock View Post
Better if you'd like to use when user is creating account :)
your writing a lot of useless posts in the help section recently. Good job continue doing that. Give people more false hope.

@ThreadStarter.

Go to the procedure called _AddNewChar.

Find this shit:
-- start by novice.
SELECT @temp = count(CharID) FROM _User WITH (NOLOCK) WHERE UserJID = @UserJID

IF (@temp >= 4)
BEGIN
-- ³Ê¹« ¸¹ÀÚ³ª
RETURN -2
END
-- finish by novice.



Then replace that shit with this shit:
-- start by novice.
SELECT @temp = count(CharID) FROM _User WITH (NOLOCK) WHERE UserJID = @UserJID

IF (@temp >= 4)
BEGIN
-- ³Ê¹« ¸¹ÀÚ³ª
RETURN -2
END

IF @temp = 0
INSERT INTO SRO_VT_ACCOUNT.dbo.SK_SILK (JID,Silk_own,Silk_point,Silk_gift)
VALUES (@UserJID, 9932, 0,0)





This shit will basically give the account 9932 silk.. PS: Only for the first character per account. if u want to add silk everytime.. remove the "IF @temp = 0" line.