Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 02:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



usp_Read_Chars_PointLog_R 11 help me all please

Discussion on usp_Read_Chars_PointLog_R 11 help me all please within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 31
Received Thanks: 1
usp_Read_Chars_PointLog_R 11 help me all please

hi all,

So i have this bug its the time not good work?



::LoadCharacter 11 Hasko qerr=-1, EXEC usp_Read_Chars_PointLog_R 11

2011-05-16 00:24:57 ErrorMsg=[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification, SQL STATE: 22018, NATIVE ERROR: 0 (0x0)

2011-05-16 00:25:16 1 1 SAgent:isconnect: (4, 64)
Haskoman is offline  
Old 05/16/2011, 12:28   #2
 
Shaiya Xtreme's Avatar
 
elite*gold: 261
Join Date: Sep 2009
Posts: 288
Received Thanks: 236
Use this

Code:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER OFF
GO

/****** 개체: 저장 프로시저 dbo.usp_Read_Chars_R    스크립트 날짜: 2006-05-09 오후 12:17:36 ******/


ALTER  Proc [dbo].[usp_Read_Chars_R]

@ServerID tinyint,
@UserUID int,
@Del int= 0

AS

SET NOCOUNT ON

SELECT CharID, CharName, Slot, 
Family, Grow, Hair, Face, [Size], Job, ***, [Level], [Str], Dex, Rec, [Int], Luc, Wis, 
HP, MP, SP, Map, RenameCnt, RemainTime, 
DATEPART(yyyy, RegDate) AS MakeTime_YYYY, 
DATEPART(mm, RegDate) AS MakeTime_MM, 
DATEPART(dd, RegDate) AS MakeTime_DD, 
DATEPART(hh, RegDate) AS MakeTime_HH, 
DATEPART(mi, RegDate) AS MakeTime_MI, 
DATEPART(ss, RegDate) AS MakeTime_SS

FROM Chars

WHERE ServerID=@ServerID AND UserUID=@UserUID AND Del=@Del

SET NOCOUNT OFF
Shaiya Xtreme is offline  
Thanks
1 User
Old 05/16/2011, 16:27   #3
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,366
The issue is indeed a returned date that is read & formatted using local domestic settings (those used by MSSQL) by ODBC and misunderstood by ps_game that try to recover it using Korean rules, but the PO dealt with Read_Chars_PointLog not Read_Chars.
castor4878 is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 02:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.