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 01-30-2015, 10:17 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default Query to remove all augs

Has anyone removed ALL augs from their server? I would like one to remove them from mine.

Thanks
Reply With Quote
  #2  
Old 01-30-2015, 10:37 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

I would highly recommend making a backup before running this:
Code:
DELETE FROM `items` WHERE `itemtype` = '54';
Reply With Quote
  #3  
Old 01-30-2015, 11:01 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

this is what I got.

Code:
/* Affected rows: 8,966  Found rows: 0  Warnings: 0  Duration for 1 query: 0.687 sec. */
Reply With Quote
  #4  
Old 01-31-2015, 04:35 PM
Bohbo
Hill Giant
 
Join Date: Dec 2012
Posts: 116
Default

Quote:
Originally Posted by epilz View Post
this is what I got.

Code:
/* Affected rows: 8,966  Found rows: 0  Warnings: 0  Duration for 1 query: 0.687 sec. */
That means 8966 rows (or augment typed items 54 in this case) got deleted. So they should be totally removed.
Reply With Quote
  #5  
Old 01-31-2015, 08:37 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

yeah they were removed, no one that has been testing has seen anymore drop
Reply With Quote
  #6  
Old 02-01-2015, 05:01 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

You might have a ton of lootdrops where the item doesnt exist now btw.. not sure if that is gonna break anything.. but this should show you the lootdrop_entries that do not exist as items.

Code:
SELECT lde.* FROM lootdrop_entries lde 
LEFT JOIN items i ON i.id = lde.item_id
WHERE i.id IS NULL;
Reply With Quote
  #7  
Old 02-01-2015, 12:15 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

Need to remove those items the query returns?
Reply With Quote
  #8  
Old 02-01-2015, 12:24 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Should be safe to.. but you can check a few of the items with #fi and make sure.. (thats what I did recently to my DB)
Reply With Quote
  #9  
Old 02-01-2015, 12:41 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

yeah, its fine, I just tested
Reply With Quote
Reply


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 09:31 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