
Originally Posted by
valcro

What if because an Unique event or whatever the PJ level up to 110 in minutes?
But idk, im just telling you that if you use the SP I told you before, you wont have that problem, or you can go with an [IF( !JID) insert ELSE update ] but at least, as a release, tell the people that this thing will only work under your desired circunstances.
Usually that could be done trough the registration page in a php script, to add the Silk data I mean but.. anyway:
shard > stored procedures > _AddNewChar
Find a place you like...
Code:
DECLARE @JiD INT; SELECT @JiD = UserJID FROM _User with(nolock) WHERE CharID = @NewCharID
IF (NOT EXISTS(SELECT JID FROM SRO_VT_ACCOUNT.dbo.sk_silk with(nolock) where JID = @JiD))
BEGIN
INSERT INTO SRO_VT_ACCOUNT.dbo.sk_silk(JID,silk_own,silk_gift,silk_point) VALUES @JiD,0,0,0)
END