| dinesat4 |
13.11.2006 08:37 |
Cached Quest Error. i'm boring with that ¬_¬
The CacheD console show this error:
http://xs109.xs.to/xs109/06461/error_quest.JPG.xs.jpg
WTF!?
The design of quest table are correct
http://xs109.xs.to/xs109/06461/questtable1.JPG.xs.jpg
(sql script to create the quest table):
Code:
CREATE TABLE [quest] (
[char_id] int NOT NULL,
[q1] int DEFAULT (0) NOT NULL,
[s1] int DEFAULT (0),
[q2] int DEFAULT (0) NOT NULL,
[s2] int DEFAULT (0) NOT NULL,
[q3] int DEFAULT (0) NOT NULL,
[s3] int DEFAULT (0) NOT NULL,
[q4] int DEFAULT (0) NOT NULL,
[s4] int DEFAULT (0) NOT NULL,
[q5] int DEFAULT (0) NOT NULL,
[s5] int DEFAULT (0) NOT NULL,
[q6] int DEFAULT (0) NOT NULL,
[s6] int DEFAULT (0) NOT NULL,
[q7] int DEFAULT (0) NOT NULL,
[s7] int DEFAULT (0) NOT NULL,
[q8] int DEFAULT (0) NOT NULL,
[s8] int DEFAULT (0) NOT NULL,
[q9] int DEFAULT (0) NOT NULL,
[s9] int DEFAULT (0) NOT NULL,
[q10] int DEFAULT (0) NOT NULL,
[s10] int DEFAULT (0) NOT NULL,
[q11] int DEFAULT (0) NOT NULL,
[s11] int DEFAULT (0) NOT NULL,
[q12] int DEFAULT (0) NOT NULL,
[s12] int DEFAULT (0) NOT NULL,
[q13] int DEFAULT (0) NOT NULL,
[s13] int DEFAULT (0) NOT NULL,
[q14] int DEFAULT (0) NOT NULL,
[s14] int DEFAULT (0) NOT NULL,
[q15] int DEFAULT (0) NOT NULL,
[s15] int DEFAULT (0) NOT NULL,
[q16] int DEFAULT (0) NOT NULL,
[s16] int DEFAULT (0) NOT NULL,
[j1] int DEFAULT (0) NOT NULL,
[j2] int DEFAULT (0) NOT NULL,
[j3] int DEFAULT (0) NOT NULL,
[j4] int DEFAULT (0) NOT NULL,
[j5] int DEFAULT (0) NOT NULL,
[j6] int DEFAULT (0) NOT NULL,
[j7] int DEFAULT (0) NOT NULL,
[j8] int DEFAULT (0) NOT NULL,
[j9] int DEFAULT (0) NOT NULL,
[j10] int DEFAULT (0) NOT NULL,
[j11] int DEFAULT (0) NOT NULL,
[j12] int DEFAULT (0) NOT NULL,
[j13] int DEFAULT (0) NOT NULL,
[j14] int DEFAULT (0) NOT NULL,
[j15] int DEFAULT (0) NOT NULL,
[j16] int DEFAULT (0) NOT NULL,
[s2_1] int DEFAULT (0),
[s2_2] int DEFAULT (0),
[s2_3] int DEFAULT (0),
[s2_4] int DEFAULT (0),
[s2_5] int DEFAULT (0),
[s2_6] int DEFAULT (0),
[s2_7] int DEFAULT (0),
[s2_8] int DEFAULT (0),
[s2_9] int DEFAULT (0),
[s2_10] int DEFAULT (0),
[s2_11] int DEFAULT (0),
[s2_12] int DEFAULT (0),
[s2_13] int DEFAULT (0),
[s2_14] int DEFAULT (0),
[s2_15] int DEFAULT (0),
[s2_16] int DEFAULT (0)
)
ON [PRIMARY]
GO
Store Procedure lin_LoadQuest:
Code:
/********************************************
lin_LoadQuest
INPUT
@char_id int
OUTPUT
return
made by
carrot
date
2002-06-09
********************************************/
ALTER PROCEDURE [DBO].[lin_LoadQuest]
(
@char_id int
)
AS
SET NOCOUNT ON
SELECT TOP 1 q1, s1, s2_1, j1,
q2, s2, s2_2, j2,
q3, s3, s2_3, j3,
q4, s4, s2_4, j4,
q5, s5, s2_5, j5,
q6, s6, s2_6, j6,
q7, s7, s2_7, j7,
q8, s8, s2_8, j8,
q9, s9, s2_9, j9,
q10, s10, s2_10, j10,
q11, s11, s2_11, j11,
q12, s12, s2_12, j12,
q13, s13, s2_13, j13,
q14, s14, s2_14, j14,
q15, s15, s2_15, j15,
q16, s16, s2_16, j16
FROM quest (nolock)
WHERE char_id = @char_id
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
Code:
********************************************/
CREATE PROCEDURE [DBO].[lin_SetQuest]
(
@q1 INT,
@s1 INT,
@s2_1 INT,
@j1 INT,
@q2 INT,
@s2 INT,
@s2_2 INT,
@j2 INT,
@q3 INT,
@s3 INT,
@s2_3 INT,
@j3 INT,
@q4 INT,
@s4 INT,
@s2_4 INT,
@j4 INT,
@q5 INT,
@s5 INT,
@s2_5 INT,
@j5 INT,
@q6 INT,
@s6 INT,
@s2_6 INT,
@j6 INT,
@q7 INT,
@s7 INT,
@s2_7 INT,
@j7 INT,
@q8 INT,
@s8 INT,
@s2_8 INT,
@j8 INT,
@q9 INT,
@s9 INT,
@s2_9 INT,
@j9 INT,
@q10 INT,
@s10 INT,
@s2_10 INT,
@j10 INT,
@q11 INT,
@s11 INT,
@s2_11 INT,
@j11 INT,
@q12 INT,
@s12 INT,
@s2_12 INT,
@j12 INT,
@q13 INT,
@s13 INT,
@s2_13 INT,
@j13 INT,
@q14 INT,
@s14 INT,
@s2_14 INT,
@j14 INT,
@q15 INT,
@s15 INT,
@s2_15 INT,
@j15 INT,
@q16 INT,
@s16 INT,
@s2_16 INT,
@j16 INT,
@char_id INT
)
AS
SET NOCOUNT ON
UPDATE quest
SET
q1=@q1, s1=@s1, s2_1=@s2_1, j1=@j1,
q2=@q2, s2=@s2, s2_2=@s2_2, j2=@j2,
q3=@q3, s3=@s3, s2_3=@s2_3, j3=@j3,
q4=@q4, s4=@s4, s2_4=@s2_4, j4=@j4,
q5=@q5, s5=@s5, s2_5=@s2_5, j5=@j5,
q6=@q6, s6=@s6, s2_6=@s2_6, j6=@j6,
q7=@q7, s7=@s7, s2_7=@s2_7, j7=@j7,
q8=@q8, s8=@s8, s2_8=@s2_8, j8=@j8,
q9=@q9, s9=@s9, s2_9=@s2_9, j9=@j9,
q10=@q10, s10=@s10, s2_10=@s2_10, j10=@j10,
q11=@q11, s11=@s11, s2_11=@s2_11, j11=@j11,
q12=@q12, s12=@s12, s2_12=@s2_12, j12=@j12,
q13=@q13, s13=@s13, s2_13=@s2_13, j13=@j13,
q14=@q14, s14=@s14, s2_14=@s2_14, j14=@j14,
q15=@q15, s15=@s15, s2_15=@s2_15, j15=@j15,
q16=@q16, s16=@s16, s2_16=@s2_16, j16=@j16
WHERE char_id = @char_id
GO
i... don't understand... and i'm very tired :@
|