Hmm trying this again with the pasted code below. You had nodrop = 1 above. However when I look at Crude Defiant items in the database they are marked as tradeable. I'm trying this again with:
#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 0 and 4; |
Yep that did it - thanks Werebat. That's what I get for modifying the code :) I had changed the nodrop to 0 instead of 1. It populated fine this time. Now I just need code to remove nodrop from items :) I'll look that up thanks again!
|
Pardon my asking, but what would be the easiest way to completely remove a Lootdrop_ID from all NPCs from lvl 1-4? For example, I had created the Lootdrop_ID of 100001 for those level ranges, but now that I no longer need it (and it is in every mob lvl 1-4's loot table), I'd like to remove it. I'm guessing it's a SQL query - I'm just a tad new to those.
Thanks! |
Quote:
Code:
update variables set value=1 where varname='DisableNoDrop'; |
Thanks bud.
|
Anyone find a work around to get these drops rates lower ? I too like the idea of any mob having the potential to drop something, but 1% seems way too high. I can already tell from a week of killing that 1% global will be too high. Maybe .05 would be a good number. What about maybe a filler item that is nothing ? I guess that would not work either though.
|
You could "dilute" it. For example, if you have a lootdrop made up of a crude defiant bracer set at 1%, then it will have a 1% chance of dropping. Now if you add a ration or some other item to that lootdrop, then there is a 1% chance of dropping either one based on their pcts.
Ration 50% Defiant Armor Piece 50% Lootdrop at 1% means there is a .05 (half a percent) chance of dropping the defiant piece. Ration 90% Defiant Armor Piece 10% Lootdrop at 1% means there is a .01 (tenth of a percent) chance of dropping the defiant piece. That is how I understand it. I have a solo server so when a defiant drop occurs it usually not usable by my class so it is still rare for me to find one I can actually use. I also did the same with the Melee Augments and Gloomingdeep items since I dont use the tutorial. |
In another post, the same thing was suggested. I think I am going to do that.
|
Would anyone have an update to this code? In the most recent database this code doesn't work anymore. I get an error of:
* SQL Error: Column count doesn't match value count at row 1 */ Thanks! |
Quote:
Code:
#add defiant drops |
Quote:
Thanks! |
I am also getting the same error:
SQL Error: Column count doesn't match value count at row 1 */ |
The recent loot system changed the table structures. I fixed it to match the new table structures but have not posted yet.
|
For anyone still looking for a working Defiant Loottable, try this, it should all be good.
Code:
#add defiant drops |
Quote:
|
All times are GMT -4. The time now is 07:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.