Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Character

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 2, 2006
Messages
14
Reaction score
0
why this error?
Gemeos - Character - RaGEZONE Forums
 
Banned
Banned
Joined
Jan 13, 2007
Messages
1,898
Reaction score
65
put this into your spInsertChar

Code:
setANSI_NULLSON
setQUOTED_IDENTIFIERON
GO
ALTERPROCEDURE [dbo].[spInsertChar]
@nAID INT,
@nCharIndex INT,
@szName nvarchar(32),
@nSex INT,
@nHair INT,
@nFace INT,
@nCostume INT
AS
BEGIN
SETNOCOUNTON;
 DECLARE @cnt INT
SELECT @cnt=COUNT(*)
FROMCharacter
WHERE AID = @nAID DECLARE @cid INT
SELECT @cid=COUNT(*)
FROMCharacter
 INSERTINTOCharacter
VALUES(@nAID,@szName,@cnt,50,@nSex,@nCostume,@nFace,@nHair,NULL,0,100,0,0,0,0,0,0,0,0,0,0,0,0,@cnt,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,null,null)
END
 
Status
Not open for further replies.
Back
Top