Jump to content
  • 0

Sql For Delete All Drops From Mobs (Except Raids).


Question

Posted (edited)

Chronicle: Freya
l2jdp - revision="7968"
l2j - revision="4601"

 

I m looking for a SQL script for delete any type of drop from MOBS including ADENA.

Edited by Chakl22

2 answers to this question

Recommended Posts

  • 0
Posted

UPDATE (TableName) SET (ColumnName) = Null;

 

Used to run this query in my db when I wanted to change the values of a certain column to null. 

 

Idk if this is going to work for you, but give it a shot.

  • 0
Posted (edited)

DELETE FROM tablename WHERE condition>0 AND contition != 'raid';

fix this to fill the table name and contitions(column names)

the fist contition will delete where drops are bigger of 0 and second contition will prevent it on deleting the raid (raid is example you will add the i dont know L2Raid or something)

possible table name = drops

possible first contition = type

possible second contition = monsters

Edited by Nightw0lf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...