Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2009, 12:24 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default Inventory Search via quest interface?

Is there an easy way to determine if an item is present in a player's inventory?

I know about $client->GetItemIDAt(slot_id). but was hoping for something a bit less ... hackish ... to do something in particular. I'm sure someone out there has done something like this or can point me to a quest that already does this perhaps.

Thanks.
Reply With Quote
  #2  
Old 05-22-2009, 12:40 AM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Check out check_hasitem.pl in your plugins folder.
Reply With Quote
  #3  
Old 05-22-2009, 11:00 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Duh! Thanks! I'm feelin' a bit sheepish about now...
Reply With Quote
  #4  
Old 05-22-2009, 09:39 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

I'm looking at the check_hasitem.pl plugin and I seem to recall that there is a slot change with SoF. It may need to be modified to match. Can someone enlighten me?
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 09:17 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