List All Items In a Specified Zone Query
Someone in the #eqemu room asked me to write a query to dump all items in a specified zone. Enjoy!
Disclaimer: Made this on MySQL v5.0.26 Code:
select distinct i.id, i.Name |
Works awesome thank you WildcardX
|
Now that is truly scarey. I was building one of these exact queries not 5 minutes ago, and it looked damn near identical (including every one of your aliases lol).
I knew I liked you for a reason. |
lol yeah thats funny.
|
Very helpful, thanks!
I had a query written that could do this, but it was, well let's just say I'd be too embarrassed to share it ;) This one is much better. |
That's a much easier way, but might be nice to include a sub query/result of what mobs/zones also spawn the same items. Granted you don't care about how many places brigadine tunics drop, but it does help sometimes.
|
It would absolutely be great to know which mobs drop what easily, by item.
Another neat thing would be to compare to item tables from two databases and see only items in one database that are not in another. |
I suppose this query like what drops in each zone might be nice to be added into my npc/loot editor, as well as a few others like gernblan mentioned.
These sql are easy to write, but when they involve >1 subquery, I must use vb/net. In any event, would these type of tools be useful for server admins? Perhaps, this would require a brand new tool, which displays item or npc drop stats... GeorgeS |
OH definitely. Definitely useful.
|
Sorry for the bump on such an old thread but as I didn't see this elsewhere, it looked best to put this here.
If you are like me, the aforementioned query takes a long time. As such, please try the following, which seemed to perform better for me: Code:
select distinct i.id, i.Name |
All times are GMT -4. The time now is 07:48 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.