Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2007, 01:33 AM
Giopawa
Sarnak
 
Join Date: Dec 2006
Posts: 39
Default Finding an Item Number?

How would I go about finding item numbers for items?

Sorry if this does not belong in this thread.
__________________
-------------------------------------
Join Legacy of The Rathe
2x Normal XP, Legit
Bazaar in the works.
Reply With Quote
  #2  
Old 08-06-2007, 02:05 AM
Zengez
Hill Giant
 
Join Date: Nov 2004
Posts: 160
Default

There are two ways to do it, from inside the game as a GM (or with the #finditem command) or outside the game in the database...

If you don't know how to use SQL, then it's much easier to use the in game menu where you simply type #finditem (part of item's name)

So say I want to know the item numbers for banded armor... I can simply type;

#Finditem Banded

Then it will list item numbers followed by item descriptions... I don't know any but for the sake of example assume these are correct;

22003 Banded Helm
22004 Banded Tunic
22005 Banded Gloves

Etc. Unfortunately you, at times, need to be specific because in game will only list 20 items before it errors out as too many items, so the above find attempt will give you anything with 'banded' in it, including large and small banded armor numbers which may or may not help you.


If you're comfortable with SQL, you can merely run a search query through the database, such as "Select ID,Name from Items where name LIKE "%banded%"; It's been a while since I've done any SQL and I usually get it wrong the first time but I think that's right... someone else can correct the syntax if it's not.

Basically that will do the same thing as the in game menu, pulling up anything where banded is in the title. Using LIKE and % functions are what allows you to do that as the % means anything is acceptable on that side of what you wrote. Thus if you type %banded that will give you (blah blah blah) Banded. Which would get you nothing as banded never ends with that word, but rather banded Gloves or Tunic or something after it. conversely using Banded% would get you anything that started with "banded" and may or may not have anything after it. Thus "Banded Arms" would work "Small Banded Arms" would not.

Hope that helps, as I said, the in game menu is loads more user friendly if you don't know how to use SQL, the only real downside is the 20 line limit (wish we could extend that /shrug).
Reply With Quote
  #3  
Old 08-08-2007, 11:39 AM
Giopawa
Sarnak
 
Join Date: Dec 2006
Posts: 39
Default

Can you tell me a server where I may use the #finditem command?
If there is not one up now,
Can you help me out with the SQL?
__________________
-------------------------------------
Join Legacy of The Rathe
2x Normal XP, Legit
Bazaar in the works.
Reply With Quote
  #4  
Old 08-08-2007, 11:48 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

To find items containing any of your letters:
select * from items where name like '%partial name%';

To find items starting with any of your letters:
select * from items where name like 'partial name%';

To find items ending any of your letters:
select * from items where name like '%partial name';

etc... "like" is the option you're looking for. the percents '%' are like wildcards.


Example:
select * from items where name like '%ration%';

...would return anything in the Item Database with the word "ration" anywhere in the name.


If you do not want to see the whole Item record, change "select *" to "select id, name"... etc. A valid column name from the Items table.
Reply With Quote
  #5  
Old 08-09-2007, 09:37 AM
Giopawa
Sarnak
 
Join Date: Dec 2006
Posts: 39
Default

Awesome,
One more question though,
Where is the database, I am not sure I get what you mean.
I know if you use SQL with an website you do it in an open form like a place you would type in a password or what not.
I don't truly get it with a program though..... not that I truly get it with the web either lol.
__________________
-------------------------------------
Join Legacy of The Rathe
2x Normal XP, Legit
Bazaar in the works.
Reply With Quote
  #6  
Old 08-09-2007, 11:55 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Oh, I thought you had your own Emulator and database setup. If not, I am pretty sure the Allakhazam's Item IDs line up with ours (not the custom items, of course). Also, since our Items are mostly sourced from 13th Floor, those item ID definitely line up fine.

Search the text file by name, and it's ID will be right there too. Open in Excel if you have it, works great.
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 02:56 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3