Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2013, 01:12 PM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default Defiant?

Does anyone know a quick way to remove all the defiant gear from the lootdrops?
__________________
Why Windows Vista is BAD
Reply With Quote
  #2  
Old 06-09-2013, 10:05 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

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
Reply With Quote
  #3  
Old 06-10-2013, 02:51 AM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

MySQL told me the first line has an error, it said:ERROR 1051 <42S02>: Unknown table "le"
__________________
Why Windows Vista is BAD
Reply With Quote
  #4  
Old 06-10-2013, 02:56 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

It runs correctly for me, what MySQL program are you using? It works fine in Navicat.
Reply With Quote
  #5  
Old 06-10-2013, 04:11 AM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

i'm using the command prompt, I also have navicat though. Can you tell me how to run it in that?
__________________
Why Windows Vista is BAD
Reply With Quote
  #6  
Old 06-10-2013, 05:41 AM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

Never mind I got it to work in command prompt mode
__________________
Why Windows Vista is BAD
Reply With Quote
  #7  
Old 06-10-2013, 05:50 AM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

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 :(
__________________
Why Windows Vista is BAD
Reply With Quote
  #8  
Old 06-10-2013, 09:31 AM
Natedogg
Fire Beetle
 
Join Date: Jun 2013
Posts: 1
Default

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.
Reply With Quote
  #9  
Old 06-12-2013, 06:21 PM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

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?
__________________
Why Windows Vista is BAD
Reply With Quote
  #10  
Old 06-12-2013, 07:54 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Quote:
Originally Posted by xplodr View Post
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.
Reply With Quote
  #11  
Old 06-12-2013, 08:17 PM
Burningsoul
Discordant
 
Join Date: Oct 2009
Posts: 310
Default

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?
Reply With Quote
  #12  
Old 06-12-2013, 08:21 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Quote:
Originally Posted by Natedogg View Post
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.
Reply With Quote
  #13  
Old 06-13-2013, 12:17 AM
xplodr
Sarnak
 
Join Date: Jan 2009
Location: Florida
Posts: 53
Default

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!
__________________
Why Windows Vista is BAD
Reply With Quote
  #14  
Old 06-13-2013, 12:38 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

You're welcome.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:34 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3