PDA

View Full Version : DBScript correct work! please i need!


maniatico
27.04.2006, 03:32
I need the DBScript that works somebody correctly that facilitates these DBScript to me working correctly!



lin2comm_new
lin2db_AuthDBSchema
lin2db_update
lin2log_20040416
lin2report_20040416
lin2world_20040609_all
petition

please!!..

Truffe
27.04.2006, 10:56
Well...They work for everyone...So you're obviously doing something wrong.

zdark
27.04.2006, 17:23
where its petition.sql? in pack

gurkanhu
27.04.2006, 17:29
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

toolpunk
27.04.2006, 20:14
where its petition.sql? in pack
petition server isn't working since...
uh...
didn't live back then :lol:
now seriously, it worked for prelude only.
no petition server -> no need for the sql file (it would be a waste of bandwith...)

maniatico
28.04.2006, 05:11
Well...They work for everyone...So you're obviously doing something wrong.

I am not making anything bad I did everything what the guide but without good results says, I cannot enter with the client the server first let enter until seeing the list to me of server and soon costupid me to disconnect of the server

sorry for my bad english speah only spanish, but I understand english reading it

maniatico
28.04.2006, 05:11
Well...They work for everyone...So you're obviously doing something wrong.

I am not making anything bad I did everything what the guide but without good results says, I cannot enter with the client the server first let enter until seeing the list to me of server and soon costupid me to disconnect of the server

sorry for my bad english speah only spanish, but I understand english reading it

maniatico
28.04.2006, 05:25
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

something this badly with this script gives error me

Servidor: mensaje 170, nivel 15, estado 1, línea 2
Línea 2: sintaxis incorrecta cerca de 'error'.

help me please!!!

maniatico
28.04.2006, 05:25
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

something this badly with this script gives error me

Servidor: mensaje 170, nivel 15, estado 1, línea 2
Línea 2: sintaxis incorrecta cerca de 'error'.

help me please!!!

gurkanhu
28.04.2006, 05:35
use this.
petition error dont important.

gurkanhu
28.04.2006, 05:35
use this.
petition error dont important.

maniatico
28.04.2006, 05:40
so that it serves the file within the DBScript folder with the name lin2user.sql?

maniatico
28.04.2006, 05:40
so that it serves the file within the DBScript folder with the name lin2user.sql?

gurkanhu
28.04.2006, 05:45
you dont need lin2user and petition ok :)

gurkanhu
28.04.2006, 05:45
you dont need lin2user and petition ok :)

maniatico
28.04.2006, 05:52
you dont need lin2user and petition ok :)

ok thanks!

maniatico
28.04.2006, 05:52
you dont need lin2user and petition ok :)

ok thanks!

maniatico
28.04.2006, 06:50
that it is east error that leaves to me in l2server.exe and CacheD.exe

PCQD failed 800007d5 whats this?

maniatico
28.04.2006, 06:50
that it is east error that leaves to me in l2server.exe and CacheD.exe

PCQD failed 800007d5 whats this?

zdark
29.04.2006, 06:46
good gurkanhu :P

zdark
29.04.2006, 06:46
good gurkanhu :P