yes it's not about the stuff i need i have it all but gives me a problem.
this one make ppl loose items. specialy when they trade from a stac of items. the rest of the stack is gone when they log back
but this
yes we have 115 but never 116
thanks
Quote:
AS
DECLARE @CharLeave int
SET @yyyy = datepart(yyyy, @ActionTime)
SET @mm = datepart(mm, @ActionTime)
SET @dd = datepart(dd, @ActionTime)
SET @CharLeave = 1
IF @ActionType = '116'--Trade Item-remove item from originator
BEGIN
WAITFOR DELAY '00:00:05'--Time delay to give the duper time to log out fully
SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID
IF @CharLeave=0
BEGIN
EXEC PS_GameData.dbo.usp_Save_Char_Item_Del_E @CharID=@CharID, @IDList=@Value1
END
END
IF @ActionType = '164'--Trade Gold-remove gold from originator
BEGIN
WAITFOR DELAY '00:00:05'--Time delay to give the duper time to log out fully
SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID
IF @CharLeave=0
BEGIN
UPDATE PS_GameData.dbo.Chars
SET [Money]=@Value2
WHERE PS_GameData.dbo.Chars.CharID=@CharID
END
END
this one make ppl loose items. specialy when they trade from a stac of items. the rest of the stack is gone when they log back
but this
just removed every 116 from the dbQuote:
AS
DECLARE @CharLeave int
SET @yyyy = datepart(yyyy, @ActionTime)
SET @mm = datepart(mm, @ActionTime)
SET @dd = datepart(dd, @ActionTime)
SET @CharLeave = 1
IF @ActionType = '116'--Trade Item-remove item from originator
BEGIN
WAITFOR DELAY '00:05:00'--Time delay to give the duper time to log out fully
SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID
END
IF @ActionType = '164'--Trade Gold-remove gold from originator
BEGIN
WAITFOR DELAY '00:05:00'--Time delay to give the duper time to log out fully
SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID
IF @CharLeave=0
BEGIN
UPDATE PS_GameData.dbo.Chars
SET [Money]=@Value2
WHERE PS_GameData.dbo.Chars.CharID=@CharID
END
END
yes we have 115 but never 116
anyone realy know why and how to fix this?Quote:
115 - Buy from a player
- Value1 - ItemUID - of item bought
- Value2 - ItemID - of item bought
- Value3 - unknown
- Value4 - Amount bought
- Text1 - ItemName - Item Bought
- Text2 - CharName - Person That bought the item.
- Text3 - Item options
- Text4 - Time and date of the occurrence
116 - Sell to a player
- Value1 - ItemUID - of sold item
- Value2 - ItemID - of sold item
- Value3 - unknown
- Value4 - Amount Sold
- Text1 - ItemName - The item that was sold
- Text2 - CharName - Person that bought the item
- Text3 - Item properties
- Text4 - Slot's in inventory that the item's were
placed.
thanks