View Full Version : Defiant?
xplodr
06-09-2013, 01:12 PM
Does anyone know a quick way to remove all the defiant gear from the lootdrops?
NatedogEZ
06-09-2013, 10:05 PM
SELECT le.* FROM items i
INNER JOIN lootdrop_entries le ON i.id = le.item_id
WHERE i.name like "Crude defiant%"
Change the WHERE clause to find the other types and just remove the rows all at once
xplodr
06-10-2013, 02:51 AM
MySQL told me the first line has an error, it said:ERROR 1051 <42S02>: Unknown table "le"
Kingly_Krab
06-10-2013, 02:56 AM
It runs correctly for me, what MySQL program are you using? It works fine in Navicat.
xplodr
06-10-2013, 04:11 AM
i'm using the command prompt, I also have navicat though. Can you tell me how to run it in that?
xplodr
06-10-2013, 05:41 AM
Never mind I got it to work in command prompt mode :)
xplodr
06-10-2013, 05:50 AM
Well, I ran the query and it worked on stuff, but when I go into the lootdrop tables I still see the defiant stuff there :(
Natedogg
06-10-2013, 09:31 AM
I ran it in HeidiSQL and just highlighted all the rows it selected and removed them all .. then do the next type of Defiant and so on.
xplodr
06-12-2013, 06:21 PM
Is there any way to change the value of a row in a query like the crude defiant to 0 without doing them all individually?
lerxst2112
06-12-2013, 07:54 PM
Is there any way to change the value of a row in a query like the crude defiant to 0 without doing them all individually?
Yes, it's called a query.
Burningsoul
06-12-2013, 08:17 PM
Maybe if you had read and searched 1/8th as much as you just rapid fire questions (without thanking us), you would already know that.
I'll let Kingly give you your answer, since I really doubt you'll be able to peice it together just by looking at a few similar queries and seeing how the system even works. Easier to just keep having us do it right?
Kingly_Krab
06-12-2013, 08:21 PM
I ran it in HeidiSQL and just highlighted all the rows it selected and removed them all .. then do the next type of Defiant and so on.
This is how you do that, Xplodr.
EDIT: Free handouts do ruin a community and create a rather large amount of people who are used to having things done for them, I admit that. I help those who can't help themselves, but when it gets out of hand I stop.
xplodr
06-13-2013, 12:17 AM
I did it in heidiSQL, that's how i was able to remove them 1 at a time manually. I apologize for being so new at this, and if I forgot to thank you I apologize for that as well. Thank you all for your help!
Kingly_Krab
06-13-2013, 12:38 AM
You're welcome.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.