Any1 can help me ???
i got error 10053 when i buy something in item mall..
i use this: to try fix but it doesnt work ...
so if anyone know how to fix it pls tell me
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='game') BEGIN EXEC sp_addlinkedserver 'game','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'game','false',null,'Shaiya','Shaiya123'; END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_DEFINEDB') BEGIN EXEC sp_addlinkedserver 'PS_DEFINEDB','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'PS_DEFINEDB','false',null,'Shaiya','Shaiya123'; END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_NCASH') BEGIN EXEC sp_addlinkedserver 'PS_NCASH','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'PS_NCASH','false',null,'Shaiya','Shaiya123'; END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB') BEGIN EXEC sp_addlinkedserver 'PS_USERDB','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'PS_USERDB','false',null,'Shaiya','Shaiya123'; END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_GAMEDB01') BEGIN EXEC sp_addlinkedserver 'PS_GAMEDB01','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'PS_GAMEDB01','false',null,'Shaiya','Shaiya123'; END
IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB01') BEGIN EXEC sp_addlinkedserver 'PS_USERDB01','','SQLOLEDB','127.0.0.1'; EXEC sp_addlinkedsrvlogin 'PS_USERDB01','false',null,'Shaiya','Shaiya123'; END
2016-01-23 13:57:55 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Error al convertir el tipo de datos varchar a datetime., SQL STATE: 42000, NATIVE ERROR: 8114 (0x1FB2)
USE PS_GameData
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
create Proc [dbo].[usp_Save_User_BuyPointItems2]
@UserUID int,
@CharID int,
@UsePoint int,
@ProductCode varchar(20),
@UseDate datetime
AS
SET NOCOUNT ON
--SET XACT_ABORT ON
DECLARE @UseType int
DECLARE @Ret int
DECLARE @RemainPoint int
DECLARE @OrderNumber int
DECLARE @ReturnValue int
SET @Ret = 0
SET @UseType = 1 -- ??
BEGIN DISTRIBUTED TRANSACTION
/*========================================
??? ??
??? ?? ?? ?? UID ? ?? ?? UID? ??? ???? ???.
procRequestOrderProductByGame
???? UID @buyClientUserNumber BIGINT
???? UID @receiveClientUserNumber BIGINT
????? @itemCode VARCHAR(50)
?? ?? @resultCode SMALLINT OUTPUT
?? ? ?? @cashBalanceAfterOrder INT OUTPUT
???? @orderNumber INT OUTPUT
resultCode
0 ??
1 ????
2 ?? ??? ???? ??
3 ?? ???? ???? ??
5 DB??
6 ????
=========================================*/
EXEC @ReturnValue = game.PS_UserData.dbo.usp_Update_UserPoint @UserUID, @UsePoint
IF ( @ReturnValue < 0 )
BEGIN
GOTO ERROR
END
/*IF ( @Ret <> 0 )
BEGIN
INSERT INTO PointErrorLog( UserUID, CharID, ProductCode, Ret) VALUES( @UserUID, @CharID, @ProductCode, @Ret )
GOTO ERROR
END
---------------------------------------------
*/
-- ??? ?? ??
INSERT INTO PointLog(UseType,UserUID,CharID,UsePoint,ProductCode,UseDate,RemainPoint,OrderNumber)
VALUES(@UseType,@UserUID,@CharID,@UsePoint,@ProductCode,@UseDate,@RemainPoint,@OrderNumber)
IF( @@ERROR<>0)
BEGIN
GOTO ERROR
END
COMMIT TRAN
RETURN 1
ERROR:
ROLLBACK TRAN
RETURN -1
SET XACT_ABORT OFF
SET NOCOUNT OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
USE [PS_GameData]
GO
/****** Object: StoredProcedure [dbo].[usp_Save_User_BuyPointItems_NCash] Script Date: 2014-01-21 19:10:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/****** Shoping Mall Fixed by sandolkakos Website: http://www.universalgamesonline.com.br ******/
ALTER Proc [dbo].[usp_Save_User_BuyPointItems_NCash]
@UserUID int,
@CharID int,
@UsePoint int,
@ProductCode varchar(20),
@textDate varchar(30)
AS
DECLARE @UseTime datetime
set @UseTime=CONVERT(datetime, @textDate, 120)
SET NOCOUNT ON
SET XACT_ABORT ON
DECLARE @UseType int
DECLARE @ReturnValue int
SET @UseType = 1 -- ??
BEGIN DISTRIBUTED TRANSACTION
EXEC @ReturnValue = PS_UserData.dbo.usp_Update_UserPoint @UserUID, @UsePoint
IF ( @ReturnValue < 0 )
BEGIN
GOTO ERROR
END
-- ??? ??(Old, ?? UPDATE? ???? ????? ?? ???)
--UPDATE PS_UserData.dbo.Users_Master SET Point=Point-@UsePoint WHERE UserUID=@UserUID
--IF( @@ERROR<>0 OR @@ROWCOUNT=0)
--BEGIN
-- GOTO ERROR
--END
-- ??? ?? ??
INSERT INTO PointLog(UseType,UserUID,CharID,UsePoint,ProductCode,UseDate)
VALUES(@UseType,@UserUID,@CharID,@UsePoint,@ProductCode,@textDate)
IF( @@ERROR<>0)
BEGIN
GOTO ERROR
END
COMMIT TRAN
RETURN 1
ERROR:
ROLLBACK TRAN
RETURN -1
SET XACT_ABORT OFF
SET NOCOUNT OFF
with the omega files it works but have error 10053 item mall ...
im downloading english version of sql and see what happens because reading logs i see error to convert varchar to date time so in other thread they said me that i have to use english version of sql .
i will go to try and if it works i tell you
srry for bad english i speak spanish
[Selling] ❅ ❅ WTS ❅ ❅ Division Boosting❅❅ Service❅❅Placement Matches❅❅Cheap❅❅Fast❅Pro 11/18/2015 - League of Legends Trading - 0 Replies Orders from our service guarantee you a safe and secure boost.Using Privite Vpn connection.During the time of the boost No chats or any discutions will be made from your account.::
- I will never talk to anyone on your account
- I will never flame or rage
- I will never spend your RP or IP without your permission
- If you play ranked games while the boost is in process I will end the boost with no refund
PRICES