Dolphin86 Posted April 18, 2020 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: December 18, 2024 Share Posted April 18, 2020 Welp as title, anyone can help me? i would like to remove some bugged item that most my player have been using on my server, example, i talk to NPC and enter the item ID i want to delete, and everyone either his/her online or offline the item will be deleted not matter where they put it, in inventory, equipped or in storage Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 18, 2020 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 18, 2020 change the itemID after every execution ... or use this DELETE FROM `auction` WHERE `nameid` IN (501,502,503); DELETE FROM `cart_inventory` WHERE `nameid` IN (501,502,503); DELETE FROM `guild_storage` WHERE `nameid` IN (501,502,503); DELETE FROM `inventory` WHERE `nameid` IN (501,502,503); DELETE FROM `mail_attachments` WHERE `nameid` IN (501,502,503); DELETE FROM `market` WHERE `nameid` IN (501,502,503); DELETE FROM `sales` WHERE `nameid` IN (501,502,503); DELETE FROM `storage` WHERE `nameid` IN (501,502,503); Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 18, 2020 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 18, 2020 DELETE FROM `auction` WHERE `nameid` = 512; DELETE FROM `cart_inventory` WHERE `nameid` = 512; DELETE FROM `guild_storage` WHERE `nameid` = 512; DELETE FROM `inventory` WHERE `nameid` = 512; DELETE FROM `mail_attachments` WHERE `nameid` = 512; DELETE FROM `market` WHERE `nameid` = 512; DELETE FROM `sales` WHERE `nameid` = 512; DELETE FROM `storage` WHERE `nameid` = 512; shutdown server edit the item ID run the queries above in your database restart server Quote Link to comment Share on other sites More sharing options...
0 Dolphin86 Posted April 18, 2020 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: December 18, 2024 Author Share Posted April 18, 2020 17 minutes ago, Emistry said: DELETE FROM `auction` WHERE `nameid` = 512; DELETE FROM `cart_inventory` WHERE `nameid` = 512; DELETE FROM `guild_storage` WHERE `nameid` = 512; DELETE FROM `inventory` WHERE `nameid` = 512; DELETE FROM `mail_attachments` WHERE `nameid` = 512; DELETE FROM `market` WHERE `nameid` = 512; DELETE FROM `sales` WHERE `nameid` = 512; DELETE FROM `storage` WHERE `nameid` = 512; shutdown server edit the item ID run the queries above in your database restart server 512 is the item ID? what if i want to add multiple item to delete? Quote Link to comment Share on other sites More sharing options...
0 Dolphin86 Posted April 18, 2020 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: December 18, 2024 Author Share Posted April 18, 2020 @Emistry just run on sql date base of my ragnarok correct? Quote Link to comment Share on other sites More sharing options...
Question
Dolphin86
Welp as title, anyone can help me? i would like to remove some bugged item that most my player have been using on my server,
example, i talk to NPC and enter the item ID i want to delete, and everyone either his/her online or offline the item will be deleted
not matter where they put it, in inventory, equipped or in storage
Link to comment
Share on other sites
4 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.