• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Dropping Items Into Tradeskill Depot

Joined
Jun 13, 2016
RedCents
31,901¢
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
 
I haven't yet, unfortunately. Though to be honest, I took a mostly break from it. Plan to give it more effort this week.
 
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?
 
[CODE title="Drops an item on cursor in the depot."]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[/CODE]
 
Question - Dropping Items Into Tradeskill Depot

Users who are viewing this thread

Back
Top
Cart