• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Error "No such 'item' member 'Find'

I would really appreciate a little help please. I've searched the manual and the Wiki as well as this forum, but I am probably not entering exactly the right terms.

I know I am missing some subtle little syntax issue, but every time I get to this line I get the error message

The intent of the line is to check items on the corpse prior to putting them on the cursor to see if they are in a Leave Array to be left on the corpse for other members of the group or OOC rotting. The Leave Array is loading successfully from an ini. This is part of some tweaking I am doing on the Ranger Pull macro.

Error "No such 'item' member 'Find'

/if (${Corpse.Item[${LootSlot}].Find[${RV_LeaveArray[${LootLeave}]}]})

but no error with

/if (${Cursor.Name.Find[${RV_LootArray[${LootCheck}]}]})

If I echo ${Corpse.Item[${LootSlot}] the name of the item appears without error.

So, there is something about using .Find .Equal .Compare in this situation that is not allowed (I am thinking). I've tried all of them with the same results. I've tried to parenthesize the variable without success.

Please, if anyone has a thought, I would appreciate it. I've gotten this macro to run for 48 hours with issues only on rare adds with it managing a bot army using /g tells. Now, I'm just adding tweaks. If I can get these to work, I'll add it to the forum.

Many thanks in advance. :):eq1
 
/if (${Corpse.Item[${LootSlot}].Find[${RV_LeaveArray[${LootLeave}]}]})

but no error with

/if (${Cursor.Name.Find[${RV_LootArray[${LootCheck}]}]})

If I echo ${Corpse.Item[${LootSlot}] the name of the item appears without error.

Well you see that the reason you get an error with that first one is you are attempting to do ${Corpse.Item[slot].Find ..} when Find is not a part of Item.

The reason you have no error with the second is because Find is a part of Name. The third one is the same deal as the first but without the Find part in it so no error. That's your error there, I deal more with plugins than macros now, but if no one else helps you out in the next day or two I will.. real busy with my own stuff right now.
 
I believe I have solved the problem with the assignment of Corpse.Item[${LootSlot}] to a string variable and losing the array as part of the statement. If anyone knows another way, I would appreciate the information.

Thanks Unknown405 for your response.
 
Error "No such 'item' member 'Find'

Users who are viewing this thread

Back
Top
Cart