I'm having some trouble with my in game item mall. No matter what the point value is set to in dbo.Users_Master, it always reads 0 in game. The only thing I have found pertaining to this issue was this:
Code:
set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go /****** Shoping Mall Fixed by sandolkakos Website: www.universalgamesonline.com.br ******/ /*================================================== @author lenasoft @date 2006-09-28 @return @brief N-Cash DB에서 포인트를 가져온다. 잔액 확인 procGetCashBalance 유저 ID @userId AS VARCHAR(12) 유저 UID @clientUserNumber AS BIGINT 캐쉬 잔액 @cashBalance AS INT OUTPUT ==================================================*/ ALTER PROCEDURE [dbo].[usp_Read_User_CashPoint_NCash] @CashPoint int OUTPUT, @UserUID int, @UserID varchar(12) AS SET NOCOUNT ON SET @CashPoint = 0 SELECT @CashPoint=ISNULL(Point,0) FROM PS_UserData.dbo.Users_Master WHERE UserUID=@UserUID IF @CashPoint < 0 BEGIN UPDATE PS_UserData.dbo.Users_Master SET Point=0 WHERE UserUID=@UserUID SET @CashPoint = 0 END SET NOCOUNT OFF






