Mabuhay Posted May 7, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Share Posted May 7, 2014 How do I delete all Existing Memory of Thanatos Card [Weapon] Item ID# 4399 (Thanatos_Card) in my server? Thanks Quote Link to comment Share on other sites More sharing options...
sandbox Posted May 7, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Monday at 04:01 PM Share Posted May 7, 2014 DELETE FROM inventory WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM cart_inventory WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM storage WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM guild_storage WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM mail WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; Execute this query on your database, make sure to backup first. Quote Link to comment Share on other sites More sharing options...
Toshiro Posted May 7, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 106 Reputation: 29 Joined: 11/08/11 Last Seen: 8 hours ago Share Posted May 7, 2014 (edited) DELETE FROM inventory WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM cart_inventory WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM storage WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM guild_storage WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; DELETE FROM mail WHERE nameid=4399 OR card0=4399 OR card1=4399 OR card2=4399 OR card3=4399; Execute this query on your database, make sure to backup first. Instead of deleting all weapons that contain a Thanatos Card, you rather just remove the card from the weapon. DELETE FROM `inventory` WHERE `nameid`=4399; DELETE FROM `cart_inventory` WHERE `nameid`=4399; DELETE FROM `storage` WHERE `nameid`=4399; DELETE FROM `guild_storage` WHERE `nameid`=4399; DELETE FROM `auction` WHERE `nameid`=4399; UPDATE `inventory` SET `card0`=0 WHERE `card0`=4399; UPDATE `inventory` SET `card1`=0 WHERE `card1`=4399; UPDATE `inventory` SET `card2`=0 WHERE `card2`=4399; UPDATE `inventory` SET `card3`=0 WHERE `card3`=4399; UPDATE `cart_inventory` SET `card0`=0 WHERE `card0`=4399; UPDATE `cart_inventory` SET `card1`=0 WHERE `card1`=4399; UPDATE `cart_inventory` SET `card2`=0 WHERE `card2`=4399; UPDATE `cart_inventory` SET `card3`=0 WHERE `card3`=4399; UPDATE `storage` SET `card0`=0 WHERE `card0`=4399; UPDATE `storage` SET `card1`=0 WHERE `card1`=4399; UPDATE `storage` SET `card2`=0 WHERE `card2`=4399; UPDATE `storage` SET `card3`=0 WHERE `card3`=4399; UPDATE `guild_storage` SET `card0`=0 WHERE `card0`=4399; UPDATE `guild_storage` SET `card1`=0 WHERE `card1`=4399; UPDATE `guild_storage` SET `card2`=0 WHERE `card2`=4399; UPDATE `guild_storage` SET `card3`=0 WHERE `card3`=4399; UPDATE `mail` SET `nameid`=0, `amount`=0, `refine`=0, `attribute`=0, `identify`=0, `card0`=0, `card1`=0, `card2`=0, `card3`=0 WHERE `nameid`=4399; UPDATE `mail` SET `card0`=0 WHERE `card0`=4399; UPDATE `mail` SET `card1`=0 WHERE `card1`=4399; UPDATE `mail` SET `card2`=0 WHERE `card2`=4399; UPDATE `mail` SET `card3`=0 WHERE `card3`=4399; UPDATE `auction` SET `card0`=0 WHERE `card0`=4399; UPDATE `auction` SET `card1`=0 WHERE `card1`=4399; UPDATE `auction` SET `card2`=0 WHERE `card2`=4399; UPDATE `auction` SET `card3`=0 WHERE `card3`=4399; Edited May 7, 2014 by Toshiro Quote Link to comment Share on other sites More sharing options...
Mabuhay Posted May 7, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Author Share Posted May 7, 2014 Thanks! Quote Link to comment Share on other sites More sharing options...
Question
Mabuhay
How do I delete all Existing Memory of Thanatos Card [Weapon] Item ID# 4399 (Thanatos_Card) in my server? Thanks
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.