Quote:
Originally Posted by QQers19
Thank a lot for this release, is very helpful But it is possible somehow change item for another item with that? I mean Item Management-->Inventory/WH legendary Adamas Helmet to Goddess?
|
Ok i have some query for that
Check Item in WH<--That is hopeful with Admin panel to copy ItemUID
Code:
SELECT ItemName, usi.ItemID, ItemUID, usi.Type, usi.TypeID, usi.Slot, usi.Quality, Gem1, Gem2, Gem3, Gem4, Gem5, Gem6, Craftname, usi.Count, Maketime, Maketype FROM PS_GameData.dbo.UserStoredItems usi INNER JOIN PS_GameDefs.dbo.Items i ON usi.ItemID = i.ItemID WHERE UserUID = (SELECT TOP 1 UserUID FROM PS_GameData.dbo.Chars WHERE UserID = 'xxx') ORDER BY usi.Slot
Check Item in inventory<--That is hopeful with Admin panel to copy ItemUID
Code:
SELECT ItemName, ci.ItemID, ItemUID, ci.Type, ci.TypeID, Bag, ci.Slot, ci.Quality, Gem1, Gem2, Gem3, Gem4, Gem5, Gem6, Craftname, ci.Count, Maketime, Maketype FROM PS_GameData.dbo.CharItems ci INNER JOIN PS_GameDefs.dbo.Items i ON ci.ItemID = i.ItemID WHERE CharID = (SELECT TOP 1 CharID FROM PS_GameData.dbo.Chars WHERE CharName = 'xxx') ORDER BY Bag, ci.Slot
Change Items in Ivnentory:
Code:
UPDATE PS_GameData.dbo.CharItems SET Type = '21', TypeID = '35' where (CharID = 'xxx') AND (Bag = '1') AND (Slot = '0')
Change items in WH
Code:
UPDATE PS_GameData.dbo.UserStoredItems SET Type = '16', TypeID = '205' where (UserUID = 'xxx') AND (Slot = '39')