|
You last visited: Today at 07:20
Advertisement
please
Discussion on please within the Shaiya forum part of the MMORPGs category.
05/28/2012, 23:11
|
#1
|
elite*gold: 0
Join Date: Jun 2011
Posts: 208
Received Thanks: 25
|
please
not working 
1 or 0
I do not see the player automatically connects
WHY INSTEAD OR 1 ON 0 is FALSE
|
|
|
05/29/2012, 00:45
|
#2
|
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
|
You should explain a little bit more what is your problem there, if you are not able to log into the server with one specific account, or with all the accounts, or if you are having any other kind of issue, with your post and the image you posted, we need to figure out what is it that you need, and that is not the point.
|
|
|
05/29/2012, 00:53
|
#3
|
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
|
First run this SP into your database as new query
Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER Proc [dbo].[usp_Read_Chars_Detail2_R]
@CharID int
AS
SET NOCOUNT ON
DECLARE @UserUID int
DECLARE @Money bigint
DECLARE @GuildID int
DECLARE @GuildLevel tinyint
DECLARE @UID varchar (18)
-- 2005-12-30 스탯,스킬 이벤트관련...
DECLARE @Event1 tinyint
DECLARE @Event2 tinyint
--
SET @Money = 0
SET @UserUID = (SELECT UserUID FROM Chars WHERE CharID = @CharID)
SET @GuildID = (SELECT GuildID FROM GuildChars WHERE CharID = @CharID AND Del = 0)
IF(@UserUID IS NOT NULL)
BEGIN
SET @Money = (SELECT ISNULL([Money], 0) FROM UserStoredMoney WHERE UserUID = @UserUID)
END
ELSE
BEGIN
SET @Money = 0
END
IF(@GuildID IS NOT NULL)
BEGIN
SET @GuildLevel = (SELECT GuildLevel FROM GuildChars WHERE CharID = @CharID AND Del = 0)
END
ELSE
BEGIN
SET @GuildID = 0
SET @GuildLevel = 0
END
-- 2005-12-30 스탯,스킬 이벤트관련...
SELECT @Event1=Event1, @Event2=Event2 FROM CharEvents WHERE CharID=@CharID
--
SELECT UserUID, CharID, CharName, Slot, Family, Grow, Hair, Face, [Size], Job, Sex, [Level],
StatPoint AS DistPoint, SkillPoint, [Str], Dex, Rec, [Int], Luc, Wis, HP, MP, SP, Map, Dir, [Exp], [Money],
PosX, PosY, PosZ, Hg, Vg, Cg, Og, Ig, Del, K1, K2, K3, K4, @Money AS StoredMoney, @GuildID AS GuildID, @GuildLevel AS GuildLevel,
-- 전투공로관 보상레벨
KillLevel, DeadLevel,
--
-- 스탯,스킬 이벤트관련...
@Event1, @Event2,
--
DATEPART(yyyy, LeaveDate) AS LeaveDate_YYYY,
DATEPART(mm, LeaveDate) AS LeaveDate_MM,
DATEPART(dd, LeaveDate) AS LeaveDate_DD,
DATEPART(hh, LeaveDate) AS LeaveDate_HH,
DATEPART(mi, LeaveDate) AS LeaveDate_MI,
DATEPART(ss, LeaveDate) AS LeaveDate_SS
--
FROM Chars WHERE CharID = @CharID
-- 접속시간 기록
UPDATE Chars SET JoinDate=GETDATE(), LoginStatus = 1 WHERE CharID=@CharID
SELECT @UID=UserID FROM CHARS WHERE CharID=@CharID
UPDATE Chars SET LoginStatus = 0 WHERE (CharID<>@CharID) AND (UserID=@UID)
--
SET NOCOUNT OFF
SET QUOTED_IDENTIFIER OFF
SET ANSI_NULLS OFF
then this SP
Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER Proc [dbo].[usp_Save_Char_LeaveDate_R]
@CharID int
AS
SET NOCOUNT ON
-- 종료시간 기록
UPDATE Chars SET LeaveDate=GETDATE(), LoginStatus=0 WHERE CharID=@CharID
SET NOCOUNT OFF
SET QUOTED_IDENTIFIER OFF
SET ANSI_NULLS OFF
and last this
Code:
update PS_GameData.dbo.Chars
set LoginStatus = '0'
|
|
|
05/29/2012, 00:58
|
#4
|
elite*gold: 0
Join Date: Jun 2011
Posts: 208
Received Thanks: 25
|
Msg 208, Level 16, State 6, Procedure usp_Save_Char_LeaveDate_R, Line 14
Invalid object name 'dbo.usp_Save_Char_LeaveDate_R'.
|
|
|
05/29/2012, 01:08
|
#5
|
elite*gold: 0
Join Date: Dec 2010
Posts: 151
Received Thanks: 11
|
PN me i can help you
|
|
|
05/29/2012, 01:10
|
#6
|
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
|
Quote:
Originally Posted by tracker62
Invalid object name 'dbo.usp_Save_Char_LeaveDate_R'.
|
So...you don't even have this procedure on your database? Well, that could be your issue then
|
|
|
05/29/2012, 01:12
|
#7
|
elite*gold: 0
Join Date: Jun 2011
Posts: 208
Received Thanks: 25
|
So how do I please
??????????????
|
|
|
05/29/2012, 08:53
|
#8
|
elite*gold: 0
Join Date: Dec 2009
Posts: 38
Received Thanks: 4
|
If i understood your problem right you just have to type True or False
So long
Dan
|
|
|
05/29/2012, 20:11
|
#9
|
elite*gold: 0
Join Date: Jun 2011
Posts: 208
Received Thanks: 25
|
yes but not automatic
|
|
|
All times are GMT +1. The time now is 07:22.
|
|