• 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

Question - Dropping Items Into Tradeskill Depot

I am failing to find the right command(s) to drop items into the Tradeskill Depot. I'm sure there's something simple I'm missing.

With a valid item on the cursor, the following have no impact:
/invoke ${Window[TradeskillDepotWnd].Child[TD_Item_List].LeftMouseUp} /notify TradeskillDepotWnd TD_Item_List leftmouseup

/click left works if the cursor has been manually placed over the window.

However /click left 100 100 does not, assuming 100 100 is over the TD_Item_List control
/click left ${Math.Calc[${Window[TradeskillDepotWnd].X}+100]} ${Math.Calc[${Window[TradeskillDepotWnd].Y}+100]}


On a probably unrelated note,
${MacroQuest.MouseX} -> Reports the mouse location
${MacroQuest.MouseY} -> Always returns -659810992
 
have no clue how to write code but for those who havent tried the shift click with a bag on hover does work. drops everything in the bag into the tradeskill depot.
 
have no clue how to write code but for those who havent tried the shift click with a bag on hover does work. drops everything in the bag into the tradeskill depot.
you don't even have to shift click, just holding the bag on cursor and clicking into tradeskill depot window will automatically drop everything in there.
 
Very odd.

/Lua parse mq.TLO.Window('TradeskillDepotWnd/TD_Item_List').LeftMouseUp()

does something for me - it just seems to click on the 6th item in the TS depot list. No reason why that item, but it tracks if I add or remove items, and when I open/close the depot.

The type is identifying as a Listbox. Never had much luck getting those to work right. The command

/Lua parse mq.TLO.Window('TradeskillDepotWnd/TD_Item_List').Items()

returns the correct number of items in the Depot. But can't get at the items with List(N) - just getting an empty string out. That's the behavior I always see with list boxes. I seem to recall seeing on here somewhere that they don't work right.
 
Has anyone looked more into this?

I would be very interested in the following:
Identifying number of a given item in depot
Adding that item to the depot to maintain certain level of stock.


Has anyone figured out how to interact with depot in any meaningful manner?
 
Drops an item on cursor in the depot.
Code:
Sub DropInDepot
    /if (!${Cursor.ID}) /return
    
    |Need window width and height, so I can cut them both in half to find the center, then offset by the locations X and Y value.
    |This is where we will click.
    /declare DepotX float ${Math.Calc[${Window[TradeskillDepotWnd].Width}/2 + ${Window[TradeskillDepotWnd].X}].Int}
    /declare DepotY float ${Math.Calc[${Window[TradeskillDepotWnd].Height}/2 + ${Window[TradeskillDepotWnd].Y}].Int}
    
    /mouseto ${DepotX} ${DepotY}
    /delay 1
    /click left
/return
 
Question - Dropping Items Into Tradeskill Depot

Users who are viewing this thread

Back
Top
Cart