• 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
DB Store Item

Release DB Store Item 7-28-2025

This is awesome. Thank you for creating it. Is it possible to close the Marketplace window after completing all of the steps?
 
This is awesome. Thank you for creating it. Is it possible to close the Marketplace window after completing all of the steps?
supposed to already close it, last line that the script closes it, guess I can go sit in a loop and double check if its a timing issue
There is a bug right now that you will get charged on some characters so be careful.
I check the total to make sure its 0, bug was already fixed on DB side.

 
The reason is it is changing before buying.

I added this to debug and item and cost are picking gumdrop and 115sc

-- check if you have it
if itemname ~= '' and mq.TLO.FindItemCount(itemname)() == 0 then
local item = mq.TLO.Window('MarketplaceWnd/MKPW_DetailsName').Text()
local cost = tonumber(mq.TLO.Window('MarketplaceWnd/MKPW_BuyTotal').Text())
print('\aymarketplace new item\ax = \ag'..item)
print('\aycost \ax = \ag'..cost)
 
So the Lua was changing the category back to New and Featured.

I removed the line " mq.TLO.Window('MarketplaceWnd/MKPW_CategoriesTree').Select(i)" under -- search for the zero cost item and it worked for me.
 
So with this month's it is not buying it again. This time I removed the -- in front of the item select line ( mq.TLO.Window('MarketplaceWnd/MKPW_ItemList').Select(i) ) and it worked.
 
Jande

I am having a problem with this utility. This happened on 2 different groups. One group is my main one and all 6 accounts are paid. The other is a FTP group. On both, after running the program (successfully I might add) it immediately knocked offline 1 toon from the main group (it was my tank and leader of the group). And 2 characters from the FTP group. Just boom and they were gone. Nothing in the MQ window as to why.

Is it something I am doing wrong? Or where I am running the program at? One was in Guild Lobby and other was in the Anniversary Tower. I haven't tried it on my 3rd group yet.

Thanks in advance for any advice you can offer.

Vrak
 
Well this month it knocked out 4 toons after running this utility. I am not sure what is causing this. Anyone else having this problem?

Vrak
 
1727641335906.png



Lua:
--: --------------------------------------------------------------------------------------------
--: shopFreeItem.lua
--:    Purchase Year of Darkpaw free item
--: --------------------------------------------------------------------------------------------

local mq = require('mq')
local itemname = ''

while not mq.TLO.Window('MarketplaceWnd').Open() do
    mq.TLO.Window('EQMainWnd/EQM_SCButton').LeftMouseUp()
    mq.delay(2000)
end

-- select year of darkpaw
for i=1, mq.TLO.Window('MarketplaceWnd/MKPW_CategoriesTree').Items(), 1 do
    local category = mq.TLO.Window('MarketplaceWnd/MKPW_CategoriesTree').List(i)()
    if string.find(category, 'Familiars') then
        mq.TLO.Window('MarketplaceWnd/MKPW_CategoriesTree').Select(i)
        mq.delay(2000)
        break
    end
end

-- search for the zero cost item
for i=1, mq.TLO.Window('MarketplaceWnd/MKPW_ItemList').Items(), 1 do
    if tonumber(mq.TLO.Window('MarketplaceWnd/MKPW_ItemList').List(i,5)()) == 0 then
        itemname = mq.TLO.Window('MarketplaceWnd/MKPW_ItemList').List(i,3)()
        print('\aymarketplace free item\ax = \ag'..itemname)
        mq.TLO.Window('MarketplaceWnd/MKPW_ItemList').Select(i)
        mq.delay(500)
        break
    end
end

-- check if you have it
if itemname ~= '' and
    mq.TLO.FindItemCount(itemname)() == 0 and
    mq.TLO.FindItemBankCount(itemname)() == 0
then

    local item = mq.TLO.Window('MarketplaceWnd/MKPW_DetailsName').Text()
    local cost = tonumber(mq.TLO.Window('MarketplaceWnd/MKPW_BuyTotal').Text())
    print('Buy a '..item..' it costs '..cost)

    -- go buy it / make sure it is really zero cost
    if cost == 0 and item == itemname then
        mq.TLO.Window('MarketplaceWnd/MKPW_BuyBtn').LeftMouseUp()
        mq.delay(2000)

        if mq.TLO.Window('MarketplaceWnd/MKPW_TaxInfoZipCodeLabel') then
            mq.TLO.Window('MarketplaceWnd/MKPW_TaxInfoZipCodeEdit').SetText('88901')
            mq.delay(1000)
            mq.TLO.Window('MarketplaceWnd/MKPW_TaxInfoNextButton').LeftMouseUp()
            mq.delay(1000)
        end
        mq.TLO.Window('MarketplaceWnd/MKPW_ConfirmPurchase_ConfirmBtn').LeftMouseUp()
        while not mq.TLO.Window('ConfirmationDialogBox').Open() do
            mq.delay(2000)
        end
        mq.TLO.Window('ConfirmationDialogBox/CD_OK_button').LeftMouseUp()
    end
end

while mq.TLO.Window('MarketplaceWnd').Open() do
    mq.TLO.Window('MarketplaceWnd').DoClose()
    mq.delay(2000)
end


This is free for a few more days if you all want a cool familiar.
 
you can add this on line 37

Lua:
    itemname ~= 'Swag Store' and

btw also @jande i noticed you set the zip code to 88901 if that toon didn't have a zip code. I think this is probably important to let folks know
 
Release DB Store Item

Users who are viewing this thread

Back
Top
Cart