EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Inventory Search via quest interface? (https://www.eqemulator.org/forums/showthread.php?t=28299)

Andrew80k 05-22-2009 12:24 AM

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.

Shendare 05-22-2009 12:40 AM

Check out check_hasitem.pl in your plugins folder. :)

Andrew80k 05-22-2009 11:00 AM

Duh! Thanks! I'm feelin' a bit sheepish about now...

Andrew80k 05-22-2009 09:39 PM

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?


All times are GMT -4. The time now is 08:38 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.