Mad Walker Posted August 26, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 9 Joined: 06/25/12 Last Seen: October 31, 2016 Share Posted August 26, 2012 Does anyone know how to wipe a specific item to all players without disabling the item? For example I want to wipe gtb from all players but I don't have to disable it from item_db Quote Link to comment Share on other sites More sharing options...
RCharles Posted August 26, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 154 Reputation: 8 Joined: 05/31/12 Last Seen: May 15, 2014 Share Posted August 26, 2012 (edited) Do it in sql by querying. SELECT <column_name> FROM inventory WHERE <cloumn_name> = '<item_id_number>; this will display all that has eg. item no. 7777 in the inventory to delete: DELETE FROM inventory WHERE <column_name> = <item_ID>; Edited August 26, 2012 by RCharles Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 26, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2348 Joined: 10/28/11 Last Seen: May 20 Share Posted August 26, 2012 run this in your SQL ... make sure you do backup before use this ... shutdown the server and run the query .... DELETE FROM `cart_inventory` WHERE `nameid`=4128 DELETE FROM `inventory` WHERE `nameid`=4128 DELETE FROM `mail` WHERE `nameid`=4128 DELETE FROM `storage` WHERE `nameid`=4128 Quote Link to comment Share on other sites More sharing options...
Mad Walker Posted August 26, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 177 Reputation: 9 Joined: 06/25/12 Last Seen: October 31, 2016 Author Share Posted August 26, 2012 Thanks for the reply! Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted August 26, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 70 Joined: 11/08/11 Last Seen: April 9, 2023 Share Posted August 26, 2012 UPDATE `inventory` SET card0=0 WHERE card0 = 4430; UPDATE `inventory` SET card1=0 WHERE card1 = 4430; UPDATE `inventory` SET card2=0 WHERE card2 = 4430; UPDATE `inventory` SET card3=0 WHERE card3 = 4430; Quote Link to comment Share on other sites More sharing options...
Question
Mad Walker
Does anyone know how to wipe a specific item to all players without disabling the item?
For example I want to wipe gtb from all players but I don't have to disable it from item_db
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.