Jump to content

Question

12 answers to this question

Recommended Posts

  • 1
Posted (edited)
3 hours ago, Edasbeast said:

not working this.

you could search about 1 sql query at google as @SweeTs mentioned.

 

The correct query is 

DELETE FROM droplist WHERE itemid <> 57

probably nightwolf made a mistake and used operators from SELECT command but the thought is the same

 

P.S. this query will delete drops even from raidbosses/grandbosses. in case you want an exception for those types you can edit the query 

Edited by melron
  • 0
Posted
1 hour ago, SweeTs said:

Execute proper sql query, delete all from spawnlist except adena. 

maybe you know navicat command to remove droplist from monsters?

  • 0
Posted

I could give ya rdy query, but what about Google, checking how it works and trying to create it on your own?

Share the result =) 

 

Try here

https://www.w3schools.com/sql/sql_delete.asp

  • 0
Posted (edited)
DELETE * FROM `items` WHERE `item_id`!='57'

analyzing the query.

delete (everything) from (table name) where item id(column name) is not equal (!=) to adena (57)

 

12 hours ago, Solomun said:

Depends on what client u are working on. High5 stores droplist in npcs.xml


he asks for frozen so its obviusly GoD !

Edited by Nightw0lf
  • 0
Posted
54 minutes ago, Nightw0lf said:

DELETE * FROM `items` WHERE `item_id`!='57'

analyzing the query.

delete (everything) from (table name) where item id is not equal (!=) to adena (57)

 


he asks for frozen so its obviusly GoD !

Oh lul, i didn't notice....My bad

  • Haha 1
  • 0
Posted
3 hours ago, Nightw0lf said:

DELETE * FROM `items` WHERE `item_id`!='57'

analyzing the query.

delete (everything) from (table name) where item id(column name) is not equal (!=) to adena (57)

 


he asks for frozen so its obviusly GoD !

not working this.

  • 0
Posted (edited)
2 hours ago, Edasbeast said:

not working this.

this is why I analyzed it for, so you can change it according to your database.. its not out of the box I just created it without having any idea what table or what l2jfrozen calls the item id in the database since you dont provide more info about it, it works but you have to be smart to edit it.

 

22 minutes ago, melron said:

you could search about 1 sql query at google as @SweeTs mentioned.

 

The correct query is 


DELETE FROM items WHERE item_id <> 57

probably nightwolf made a mistake and used operators from SELECT command but the thought is the same

I just wake and saw that and replied without having a coffee :)

 

additional conditions for raid bosses

DELETE FROM items WHERE item_id <> 57 AND npc_id <> 2222

OBVIOUSLY where 2222 is the example boss that you want this query to ignore

and where npc_id is your table column that holds the monster id

if you want more (you should) you continue with

AND npc_id <> number AND npc_id <> number AND npc_id <> number AND..

Edited by Nightw0lf
  • Haha 1
  • 0
Posted (edited)

Ok @Nightwolf now i'm laughing about 5 minutes non-stop. the guy want to delete drops not items at inventory. we are both so blinds

giphy.gif

 

 

DELETE FROM droplist WHERE itemid <> 57

 

 

Edited by melron
  • 0
Posted
57 minutes ago, melron said:

you could search about 1 sql query at google as @SweeTs mentioned.

Pointless as it's better to wait day or even two to get ready answer. =) 

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...