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 08-15-2016, 06:35 PM
Warkral
Sarnak
 
Join Date: May 2011
Posts: 56
Default Looking for Defiant gear update

Hey all. With the recent changes I was wondering, is Defiant gear set to drop or turned off? What I am looking to do is delete all Defiant gear except crude, and change the drop levels to 1-60. This worked in the past:

#add defiant drops
insert into lootdrop values (100005, 'Crude Defiant');
insert into lootdrop_entries select 100005, id, 1, 1, 2 from items where name like 'Crude Defiant%' and nodrop = 1;
insert into loottable_entries select distinct loottable_id, 100005, 1, 4 from npc_types where loottable_id > 0 and level between 1 and 60;

But now no longer works. Ideas?

EDIT: I found the correct query to disable all Defiant gear, now I just need to insert Crude
Reply With Quote
  #2  
Old 08-17-2016, 02:39 PM
Warkral
Sarnak
 
Join Date: May 2011
Posts: 56
Default

After several failed query's, this one appeared to work:

Code:
insert into lootdrop values (200002, 'Crude Defiant');
insert into lootdrop_entries select 200002, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Crude Defiant%' and nodrop = 1;
insert into loottable_entries select distinct loottable_id, 200002, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 1 and 50;
/* Affected rows: 8,538 Found rows: 0 Warnings: 0 Duration for 3 queries: 0.124 sec. */

Just posting this in case anyone runs into the same problem. There are half a dozen or so query's that may or may not work so I like to always post so someone else doesn't have to start a redundant thread.
Reply With Quote
  #3  
Old 08-17-2016, 04:42 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

You could always just pull the info from a fresh database and stick it into yours. You'll learn a lot in the process. That's generally better than hunting for SQL queries somebody else wrote. Plus, you'll know the functionality of the tables better from working with them.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #4  
Old 08-17-2016, 05:58 PM
Warkral
Sarnak
 
Join Date: May 2011
Posts: 56
Default

Quote:
Originally Posted by N0ctrnl View Post
You could always just pull the info from a fresh database and stick it into yours. You'll learn a lot in the process. That's generally better than hunting for SQL queries somebody else wrote. Plus, you'll know the functionality of the tables better from working with them.
I admit, I never even thought of that. I wouldn't even know how to search through a database. I really need to take some courses in this stuff.
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 11:03 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