Jump to content
  • 0

Removing All Instances of "Item" from database


seeker619

Question

1 answer to this question

Recommended Posts

  • 0
UPDATE character_data SET `inventory` = REPLACE(`inventory`,'BAF_AS50_scoped_DZ','MR43');
UPDATE character_data SET `backpack` = REPLACE(`backpack`,'BAF_AS50_scoped_DZ','MR43');
UPDATE object_data SET `inventory` = REPLACE(`inventory`,'BAF_AS50_scoped_DZ','MR43');

Run a query with the above in it.

 

It is difficult to remove something from the database, due to the way that the inventory system works in the database. The SQL code above will replace the AS50 with MR43 (Double Barrel Shotgun). There are numerous variants of AS50 though, so make sure you have the right one.

 

Hope that helps :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...