For the new loot system:
Code:
insert into lootdrop values (100001, 'Crude Defiant'); |
Has anyone noticed if you add defiant based on these scripts you'll sometimes find mobs that are dropping defiant gear that's out of their range? For example, if i only want Elegant Defiant to drop by using this:
Code:
insert into lootdrop values (300007, 'Elegant Defiant'); |
I noticed that too shiny, I first thought it was a bug. Upon closer inspection it appears that there may be a loottable shared that is getting the same application of the loottable_entry. I havnt found a good fix yet, but i hope this info helps
|
I wonder if there's some sort of exclusion we can apply to the sql that if any mob tied to a table is lower than the the required range of the defiant gear that it doesn't add any defiant to the table. I'd prefer that option rather than having to clean up all the loot tables.
|
you'd have to compare the loottable assigned to the mob to any other mob with the assigned loot table.
Someone who knows more about SQL than I would have to help you out, though. Theorycrafting: Compare loottable assigned to any mob with all other mobs who have the same loottable if any of them are lower than X, don't add it, otherwise, add it. maybe something like this for starters (assuming these are the right table and column names) Code:
select * from lootdrop INNER JOIN npc_types on lootdrop.id = npc_types.lootdrop_id; |
I'm not versed well enough to figure this one out; I'm only slightly dangerous with sql. Perhaps you and werebat can put your heads together and figure this one out. Seems like you're on the right path though.
Quote:
|
For to me any of the scrips posted in this thread works for me at peqdb 2506 , anyone can make defiant works ??
|
I try differents scripts and finally i got one wich work with db rev2506 /Cheers !!!! Then i will share with you all.
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 4; insert into lootdrop values (200003, 'Simple Defiant'); insert into lootdrop_entries select 200003, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Simple Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200003, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 5 and 14; insert into lootdrop values (200004, 'Rough Defiant'); insert into lootdrop_entries select 200004, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Rough Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200004, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 15 and 25; insert into lootdrop values (200005, 'Ornate Defiant'); insert into lootdrop_entries select 200005, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Ornate Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200005, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 26 and 36; insert into lootdrop values (200006, 'Flawed Defiant'); insert into lootdrop_entries select 200006, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Flawed Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200006, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 37 and 47; insert into lootdrop values (200007, 'Intrincate Defiant'); insert into lootdrop_entries select 200007, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Intrincate Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200007, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 48 and 58; insert into lootdrop values (200008, 'Elaborate Defiant'); insert into lootdrop_entries select 200008, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Elaborate Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200008, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level between 59 and 69; insert into lootdrop values (200009, 'Elegant Defiant'); insert into lootdrop_entries select 200009, id, 1, 1, 3, 0, 0, 127, 1 from items where name like 'Elegant Defiant%' and nodrop = 1; insert into loottable_entries select distinct loottable_id, 200009, 1, 1, 0, 10 from npc_types where loottable_id > 0 and level >= 70; And this is all folks !!! |
what do i edit to increase drop rate? the 10 or something els?
|
I wanted to remove defiant and the googles brought me here.
So here is what i just ran on my db if anyone wants to remove the chance for these to drop Code:
UPDATE peq.loottable_entries |
just thought i should add that while that query will remove defiant drops, theres many more pieces of defiant type gear that still drops, as well as augments, tradeskill items, etc.
Just a warning for those looking to get rid of all out of era stuff like defiant out of their database |
shouldent this be 'SET peq.lootdrop_entries.probability = 0' rather than 'SET peq.loottable_entries.probability = 0' ?
|
Depends. If the defiant is always on its own loot drop you can. Otherwise setting the specific entry to zero makes just that item in the loot drop not get rolled.
|
This sql will remove all defiant from lootdrops. It also includes the combatant and adept stuff which is pretty much defiant for other slots.
Quote:
|
With some of the new DB Fields / Updates the code doesn't match the column count. For anyone having trouble try this structure.
See the 2 highlighted values. This will match up the column count. Code:
insert into lootdrop_entries select 100001, id, 1, 1, 2, 0, 0, 127, 1 from items where name like 'Crude Defiant%' and nodrop = 1; |
All times are GMT -4. The time now is 08:28 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.