${FindItem[]}

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

${FindItem[]}

Post by Falco72 » Tue Apr 27, 2004 3:51 am

I have a ceramic shield of valor that I equip while I am casting buff. Now I use a piece of code like this:

Code: Select all

${FindItem["=@EqItem"].InvSlot}
to find where the item is in the inventory, where @EqItem is the name of the item to swap, in this case "ceramic shield of valor".
Now, if the ceramic shield is in the main inv (I mean, not in a pack) I always get the right slot number, but if the item is in a pack I get the slot number only if I have opened the pack early (i.e. the pack is open), else I get NULL as result.
Is this a bug or maybe am I doing something stupid?

P.S. MQ2 ver. 25/04 rev. C compiled with VC6 SP6

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 3:58 am

fair enough, I've been trying to track this down :)

One question.. under the same circumstances where ${FindItem["=@EqItem"].InvSlot} gives NULL, can you tell me if ${FindItem["=@EqItem"]} is giving you a result?
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 4:46 am

nevermind, found the problem and fixed it.
thanks :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Tue Apr 27, 2004 5:17 am

Wow Lax you are real fast.
Just a question, do you ever sleep :D ?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 5:18 am

yes in about 2 minutes i will be out like a light

zip with this fixed is up, enjoy
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Tue Apr 27, 2004 4:46 pm

Sorry to bother you Lax, but also in ver 20040427

Code: Select all

${FindItem[=ceramic shield of valor].InvSlot}
is giving back "NULL" when pack is close and the right slot number when is open.

Code: Select all

${FindItem[=ceramic shield of valor]}
give as result "Ceramic shield of Valor".

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 4:54 pm

you win. fixed next zip sorry
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Rusty~
a hill giant
a hill giant
Posts: 244
Joined: Wed Apr 14, 2004 2:55 pm

Post by Rusty~ » Wed Apr 28, 2004 3:13 pm

yay :D