|
Originally Posted by gurkanhu
only little fix for lin2world
CREATE PROCEDURE [dbo].[lin_SaveCharacter]
(
@pledge_id INT,
@class INT,
@world INT,
@xloc INT,
@yloc INT,
@zloc INT,
@IsInVehicle INT,
@HP FLOAT,
@MP FLOAT,
@max_HP FLOAT,
@max_MP FLOAT,
@SP INT,
@Exp INT,
@Lev INT,
@align INT,
@PK INT,
@duel INT,
@pkpardon INT,
@ST_underware INT,
@ST_right_ear INT,
@ST_left_ear INT,
@ST_neck INT,
@ST_right_finger INT,
@ST_left_finger INT,
@ST_head INT,
@ST_right_hand INT,
@ST_left_hand INT,
@ST_gloves INT,
@ST_chest INT,
@ST_legs INT,
@ST_feet INT,
@ST_back INT,
@ST_both_hand INT,
@Face_Index INT,
@Hair_Shape_Index INT,
@Hair_Color_Index INT,
@char_id INT
)
AS
SET NOCOUNT ON
UPDATE
user_data
set
class= @class,
world= @world,
xloc= @xloc,
yloc= @yloc,
zloc= @zloc,
IsInVehicle= @IsInVehicle,
HP= @HP,
MP= @MP,
max_HP= @max_HP,
max_MP= @max_MP,
SP= @SP,
Exp= @Exp,
Lev= @Lev,
align= @align,
PK= @PK,
duel= @duel,
pkpardon= @pkpardon,
ST_underware= @ST_underware,
ST_right_ear= @ST_right_ear,
ST_left_ear= @ST_left_ear,
ST_neck= @ST_neck,
ST_right_finger= @ST_right_finger,
ST_left_finger= @ST_left_finger,
ST_head= @ST_head,
ST_right_hand= @ST_right_hand,
ST_left_hand= @ST_left_hand,
ST_gloves= @ST_gloves,
ST_chest= @ST_chest,
ST_legs= @ST_legs,
ST_feet= @ST_feet,
ST_back= @ST_back,
ST_both_hand= @ST_both_hand,
face_index= @Face_Index,
hair_shape_index= @Hair_Shape_Index,
hair_color_index= @Hair_Color_Index
WHERE
char_id= @char_id
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
i got error only this one and i fixed. and you dont need petition.
This is default lin2world.sql and i got error.
Face_index= @Face_Index,
Hair_shape_index= @Hair_Shape_Index,
Hair_color_index= @Hair_Color_Index
|