Need a Query to Delete specific item from specific char inventory ?!!
Discussion on Need a Query to Delete specific item from specific char inventory ?!! within the SRO Private Server forum part of the Silkroad Online category.
Items are not completely deleted from the DB, when you set an item free, the ID will remain but it'll be available to use again.
You can use this query:
Update _ItemPool set InUse = 0 where ItemID = (Select ItemID from _Inventory where Slot = 13 and CharID = (Select CharID from _Char where CharName16 = 'CharName'))
Update _Inventory Set ItemID = 0 where Slot = 13 and CharID = (Select CharID from _Char where CharName16 = 'CharName')
Items are not completely deleted from the DB, when you set an item free, the ID will remain but it'll be available to use again.
You can use this query:
Update _ItemPool set InUse = 0 where ItemID = (Select ItemID from _Inventory where Slot = 13 and CharID = (Select CharID from _Char where CharName16 = 'CharName'))
Update _Inventory Set ItemID = 0 where Slot = 13 and CharID = (Select CharID from _Char where CharName16 = 'CharName')
with that query, i am disabling the item in slot 13
i need a query that delete the item from a specific char inventory with two options
-- CharName
-- ItemCode
execute = item deleted from that specific char inventory
UPDATE _ItemPool set InUse = 0 where ItemID in (Select ItemID from _Inventory where CharID =
(SELECT CharID FROM dbo._Char WHERE CharName16 = 'CharName')) AND ItemID IN (SELECT ID64 FROM dbo._Items WHERE RefItemID =
(SELECT ID FROM dbo._RefObjCommon WHERE CodeName128 = 'CodeName'))
Update _Inventory SET ItemID = 0 where (CharID =
(SELECT CharID FROM dbo._Char WHERE CharName16 = 'CharName')) AND ItemID IN (SELECT ID64 FROM dbo._Items WHERE RefItemID =
(SELECT ID FROM dbo._RefObjCommon WHERE CodeName128 = 'CodeName'))
How to clean inventory in a specific char? 05/20/2016 - SRO Private Server - 4 Replies i have a bug in a char in my server
i can't login into it & also i cant see the items in CMC
if anyone one could help me with that or give me a code to clean inventory in a specific char?
[Buying] WTB Specific Account - DK / Paladin Account - With specific things on it. 03/04/2016 - World of Warcraft Trading - 0 Replies SKYPE : cristian.puf21 - SKYPE : mishap87
http://www.eu-accounts.com/resources/static/image s/logo.png
Hello,
I'm looking for a specific account which must have all of the listed things below:
-Plate class: DK/Pala with warrior TIER 3 (BMAH Preffered)
-CM 17 with at least one FOS best realm time in WOD
Help Query Code Char delete 11/17/2013 - SRO Private Server - 6 Replies hi guys. my db have char delete bug.7500 account waiting delete.
this codes only 1x account deleted. i dont want 7500 account manuel delete.Anyone help me query code?.
DELETE FROM _InventoryForAvatar WHERE charid = '81935'
DELETE FROM _Inventory WHERE charid = '81935'
DELETE FROM _CharSkillMastery WHERE charid = '81935'
DELETE FROM _CharSkill WHERE charid = '81935'
DELETE FROM _CharTrijob WHERE charid = '81935'