How to delete item for all characters/accounts

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Anakin666
Posts: 8
Joined: Wed Aug 13, 2008 3:18 pm

How to delete item for all characters/accounts

Post by Anakin666 »

Can someone tell me how can i delete same items for everyone ? in the DB or something.

What i'm saying is that i want to remove vesper items from my players cause it was custom aquired (with vesper shop exchanger ) and it unbalanced the server . Any help please? thx in advance.


LE: or replace them.
Last edited by Anakin666 on Sat Jun 12, 2010 4:56 pm, edited 1 time in total.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: How to delete item for all characters/accounts

Post by janiii »

in database

Code: Select all

DELETE FROM items WHERE item_id IN (1,2,3,4);
where 1,2,3,4 are your item ids of vesper. the list of the item ids can be variable long.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Anakin666
Posts: 8
Joined: Wed Aug 13, 2008 3:18 pm

Re: How to delete item for all characters/accounts

Post by Anakin666 »

thx ,but doesnt that delete vespers for good?

LE: nvm i saw that there is "ownerid" so i guess it deletes just from owners not server ,reply if im wrong,tyvm :)
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: How to delete item for all characters/accounts

Post by janiii »

the table items holds the information about items that are in possesion of players and clans, their warehouses.
there could be a leak if an item is as attachment in mail, but im am not sure how these are stored.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply