Log in

View Full Version : Inventory Search via quest interface?


Andrew80k
05-22-2009, 12:24 AM
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?