Edasbeast Posted June 26, 2018 Posted June 26, 2018 (edited) How to remove droplist from monsters in l2jfrozen, but left only adena? Edited June 26, 2018 by Edasbeast Quote
1 melron Posted June 28, 2018 Posted June 28, 2018 (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 June 28, 2018 by melron Quote
0 SweeTs Posted June 26, 2018 Posted June 26, 2018 Execute proper sql query, delete all from spawnlist except adena. Quote
0 Edasbeast Posted June 26, 2018 Author Posted June 26, 2018 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? Quote
0 SweeTs Posted June 26, 2018 Posted June 26, 2018 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 Quote
0 Solomun Posted June 27, 2018 Posted June 27, 2018 Depends on what client u are working on. High5 stores droplist in npcs.xml Quote
0 Nightw0lf Posted June 28, 2018 Posted June 28, 2018 (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 June 28, 2018 by Nightw0lf Quote
0 Solomun Posted June 28, 2018 Posted June 28, 2018 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 1 Quote
0 Edasbeast Posted June 28, 2018 Author Posted June 28, 2018 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. Quote
0 Nightw0lf Posted June 28, 2018 Posted June 28, 2018 (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 June 28, 2018 by Nightw0lf 1 Quote
0 melron Posted June 28, 2018 Posted June 28, 2018 (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 DELETE FROM droplist WHERE itemid <> 57 Edited June 28, 2018 by melron Quote
0 SweeTs Posted June 28, 2018 Posted June 28, 2018 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. =) Quote
Question
Edasbeast
How to remove droplist from monsters in l2jfrozen, but left only adena?
Edited by Edasbeast12 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.
Note: Your post will require moderator approval before it will be visible.