• 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
cauldron.lua

Release cauldron.lua 2023-05-23

No permission to download
worlu's windcloak and prying eyes are both on the keep and destroy list in the Lua, was organizing my inventory on my mage and it destroyed them both while i was half paying attention.
 
Cannonballdex updated cauldron.lua with a new update entry:

Updated Items To Destroy

Removed a couple items that were in the destroy and keep list.
You should look at the script and edit these items before you run the script to be sure you are destroying or keeping the items you want too.

Code:
local THINGS_TO_DESTROY = {
    ["Imprint of the Enhanced Minion"] = true,
    ["Tavon's Burnished Gemstone"] = true ,
    ["Tavon's Polished Gemstone"] = true,
    ["Brightedge"] = true,
    ["Mardu's Mercurial Visor"] = true,
    ["Wavethrasher"] = true,
    ["Mardu's Maniacal...

Read the rest of this update entry...
 
Since you are keeping the configuration all within the actual .lua file that will be updated and overwrite any sensible changes, is it possible to move these keep/destroy lists to a separate configuration file so that they will retain their settings?
I had to make a file, mine says mycauldron.Lua and when it updates, I just copy and paste my Keep and Destroy List over to the new .Lua file and it's all good.
 
Since you are keeping the configuration all within the actual .lua file that will be updated and overwrite any sensible changes, is it possible to move these keep/destroy lists to a separate configuration file so that they will retain their settings?
Try this. Warning: This script includes destroying items in inventory as well as items on cursor.
Edit the config.Lua file in the Cauldron folder.
 

Attachments

This section in the file handles what is keep or destroy. If you are running some other program that controls what is on your cursor you may need a /mqp on and /mqp off before and after casting the cauldron in the script.

Code:
--Items to Destroy
local THINGS_TO_DESTROY = {
    ["Imprint of the Enhanced Minion"] = true,
    ["Tavon's Burnished Gemstone"] = true ,
    ["Tavon's Polished Gemstone"] = true,
    ["Brightedge"] = true,
    ["Mardu's Mercurial Visor"] = true,
    ["Wavethrasher"] = true,
    ["Mardu's Maniacal Mask"] = true,
    ["Tideslasher"] = true,
    ["Skull of the Spire Servant"] = true,
    ["Summoned: Nightblade"] = true,
    ["Summoned: Darkshine Staff"] = true,
    ["Solus' Polished Gemstone"] = true,
    ["Solus' Marquise-Cut Gemstone"] = true,
    ["Summoned: Kotahl's Tonic of Healing"] = true,
    ["Summoned: Kotahl's Tonic of Clarity"] = true,
    ["Summoned: Kotahl's Tonic of Refreshment"] = true,
    ["Worlu's Windcloak"] = true,
    ["Worlu's Prying Eyes"] = true,
    ["Ether-Fused Shard"] = true ,
    ["Pail of Slop"] = true
}
--Items to Keep
local THINGS_TO_KEEP = {
    ["Aircrisp Apple"] = true,
    ["Ether-Fused Tea"] = true ,
    ["Void Shard"] = true,
    ["Bulwark of Many Portals"] = true,
    ["Flamekin-Baked Rolls"] = true,
    ["Diffused Green Tonic"] = true,
    ["Worlu's Windcloak"] = true,
    ["Worlu's Prying Eyes"] = true,
    ["Regal Tonic of Greater Healing"] = true,
    ["Crystallized Sulfur"] = true,
    ["Exalted Tonic of Healing"] = true,
    ["Murky Energy Tonic"] = true,
    ["Majestic Tonic of Healing"] = true,
    ["Airkin-Baked Croissant"] = true,
    ["Wand of Temporal Mastery"] = true,
    ["Modulating Rod"] = true,
    ["Rod of Mystical Transvergence"] = true,
    ["Wand of Restless Modulation"] = true,
    ["Summoned: Shir Birenj"] = true,
    ["Summoned: Sahdi's Emblem"] = true,
    ["Summoned: Nepeta Mint Tea"] = true
}
the code block posted says it's an INI file. Where is that exactly? All I can find is the cauldron Lua source file and when I edit that section that has the items to keep, items to destroy, and save and run it; for that session, it works ok but when I restart the redguides launcher, and click the "update all" to get all the new file updates when I start cauldron it summons the item I want then destroys it and I check and the source file is back to the default where almost everything at my level is destroyed. I send all the swords and skulls to my 82 BST because he can use them and pretty much give most items to my alts to use. Am I going to have to change the file every time I turn on the computer or am I mistaken and there is a file somewhere like charname_cauldron that just saves each of my mages preferences?
 
the code block posted says it's an INI file. Where is that exactly? All I can find is the cauldron lua source file and when I edit that section that has the items to keep, items to destroy, and save and run it; for that session, it works ok but when I restart the redguides launcher, and click the "update all" to get all the new file updates when I start cauldron it summons the item I want then destroys it and I check and the source file is back to the default where almost everything at my level is destroyed. I send all the swords and skulls to my 82 BST because he can use them and pretty much give most items to my alts to use. Am I going to have to change the file every time I turn on the computer or am I mistaken and there is a file somewhere like charname_cauldron that just saves each of my mages preferences?
I believe the the file is the config.Lua in the Cauldron folder.

Ah, I see what your talking about now, if you are using the Cauldron.Lua this is getting overwritten when you update. If you use the zip file above your post, then the config.Lua in the cauldron folder.

Drag the Cauldron folder from the zip file to your Lua folder and then edit the config.Lua file with your keep destroy items.
 
Last edited:
I believe the the file is the config.lua in the Cauldron folder.

Ah, I see what your talking about now, if you are using the Cauldron.lua this is getting overwritten when you update. If you use the zip file above your post, then the config.lua in the cauldron folder.

Drag the Cauldron folder from the zip file to your lua folder and then edit the config.lua file with your keep destroy items.
Ok, thanks I'll give that a try.
 
Hello Every day I activate /run Lua CAULDRON after loggin in game.
The file (cauldron.Lua) where are the items I want to keep and the items I want to destroy is overwritten with the original one, could you make the file not be overwritten, every time Lua is updated, this way it keeps my preferences even.
Thanks !!! and sorry bad english
 
Last edited:
Cannonballdex updated cauldron.lua with a new update entry:

Update

Will now keep your saved settings in config.lua file when updating or for first use you can rename config_default.lua to config.lua to keep saved settings.

Default Settings are:
Code:
items_to_destroy = {
    'Imprint of the Enhanced Minion',
    'Tavon\'s Burnished Gemstone',
    'Tavon\'s Polished Gemstone',
    'Brightedge',
    'Mardu\'s Mercurial Visor',
    'Wavethrasher',
    'Mardu\'s Maniacal Mask',
    'Tideslasher',
    'Skull of the Spire Servant',
    'Summoned: Nightblade'...

Read the rest of this update entry...
 
Thanks for this Lua. It's nice to have running in the background while I'm working.

It wasn't summoning the cauldron for me so I had to make the following change on line 62 of init.lua

I changed mq.cmdf('/mem "%s" 1', v) to mq.cmdf('/mem 1 "%s"', v) as the /mem command takes the gem then the spell name as arguments (https://docs.macroquest.org/reference/commands/memspell/).
 
Thanks for this lua. It's nice to have running in the background while I'm working.

It wasn't summoning the cauldron for me so I had to make the following change on line 62 of init.lua

I changed mq.cmdf('/mem "%s" 1', v) to mq.cmdf('/mem 1 "%s"', v) as the /mem command takes the gem then the spell name as arguments (https://docs.macroquest.org/reference/commands/memspell/).
Good Catch. I guess it's been a while since I actually had to summon a cauldron. hehe
 
This unfortunately has all of my mages crash at some point during the early adventures of group exp. I think it's due to the repetitive autoinventory that the Lua does.
 
Hi. Thanks for a really usefull .Lua!
I have a one really noob question: When I stop the .Lua UI still keeps putting items away really fast. Only thing helps for it, is to relog.
For sometimes, I really want to give items to other players, or just pick em up, and place to another slot in inventory. Zero to none seconds for it, is not enoug for slowbie, like me :D
 
I'd like to suggest changing the class check at line 52 in the CheckSpell function to be consolidated into the following:

Code:
    if  mq.TLO.FindItemCount(109884)() == 0 and  mq.TLO.FindItemCount(109883)() == 0 and mq.TLO.FindItemCount(109882)() == 0 and mq.TLO.FindItemCount(85480)() == 0 and mq.TLO.FindItemCount(85481)() == 0 and mq.TLO.FindItemCount(85482)() == 0 and mq.TLO.FindItemCount(52880)() == 0 and mq.TLO.FindItemCount(52795)() == 0 and not mq.TLO.Me.Moving() then
        if mq.TLO.Plugin('mq2mage')() then
            mq.cmd('/docommand /mag pause on')
        elseif mq.TLO.Me.Class.ShortName() ~= 'MAG' then
            mq.cmd.echo('Script only runs on Magicians with a spell to summon a cauldron.')
            mq.cmd('/lua stop cauldron')
        end

This moves the class check to after the cauldron item check. With alternate personas any class can click the cauldron so it makes sense to check for that first now.
 
I'd like to suggest changing the class check at line 52 in the CheckSpell function to be consolidated into the following:

Code:
    if  mq.TLO.FindItemCount(109884)() == 0 and  mq.TLO.FindItemCount(109883)() == 0 and mq.TLO.FindItemCount(109882)() == 0 and mq.TLO.FindItemCount(85480)() == 0 and mq.TLO.FindItemCount(85481)() == 0 and mq.TLO.FindItemCount(85482)() == 0 and mq.TLO.FindItemCount(52880)() == 0 and mq.TLO.FindItemCount(52795)() == 0 and not mq.TLO.Me.Moving() then
        if mq.TLO.Plugin('mq2mage')() then
            mq.cmd('/docommand /mag pause on')
        elseif mq.TLO.Me.Class.ShortName() ~= 'MAG' then
            mq.cmd.echo('Script only runs on Magicians with a spell to summon a cauldron.')
            mq.cmd('/lua stop cauldron')
        end

This moves the class check to after the cauldron item check. With alternate personas any class can click the cauldron so it makes sense to check for that first no

I'm going to do a rewrite on this Script and fix/add a few things. This will be one of the additions, thanks for the input.
Is it confirmed that any persona can click on a cauldron?
 
I'm going to do a rewrite on this Script and fix/add a few things. This will be one of the additions, thanks for the input.
Is it confirmed that any persona can click on a cauldron?
Cool, thanks!

Yep, can confirm it's clickable on all currently.
 
A potentially cleaner way to accomplish this is just /blockspell add me'ing all the components you don't want to summon.

From Bountiful Summoning:
40465 = Tavon's Polished Gemstone
40466 = Brightedge
40467 = Aircrisp Apple
40468 = Ether-Fused Tea
40469 = Ether-Fused Shard
40470 = Worlu's Windcloak
40471 =Worlu's Prying Eyes
40472 = Tavon's Burnished Gemstone
40473 = Bulwark of Many Portals
40474 = Imprint of the Enhanced Minion
40475 = Exalted Tonic of Healing
40476 = Failed Summoning

so if you only wanted bulwarks, you could do /blockspell add me 40465 40466 40467 40468 40469 40471 40472 40474 40475 40476

From Abundant Summoning:
65513 = Nightblade
65514 = Shir Berenj
65515 = Nepeta Mint Tea
65516 = Darkshine Staff
65521 = Sahdi's Emblem of the Enhanced Minion
65512 = Solus' Polished Gemstone
65519 = Solus' Burnished Gemstone
65520 = Solus' Marquise-Cut Gemstone
65522 = Kotahl's Tonic of Healing
65517 = Kotahl's Tonic of Clarity
65518 = Kotahl's Tonic of Refreshment
40476 = Failed Summoning


I just use the cauldron as a downtime clicky and have all the junk blocked. If it rolls on something you have blocked, you just don't get any items summoned. If you get something you don't have blocked, it goes to your cursor.
 
running into an issue where the config_default is resetting. I haven't been able to isolate what is causing the reset. I am modifying the file in Cauldron -> config_default. Anyone run into this issue before?
 
running into an issue where the config_default is resetting. I haven't been able to isolate what is causing the reset. I am modifying the file in Cauldron -> config_default. Anyone run into this issue before?
Don't do that :)

Sometime earlier this year CBD (the guy who used to maintain this) updated the code. config_default.Lua is just that, the defaults. If you want to keep changes copy config_default.Lua to config.Lua and make changes there.
That being said, I have a complete re-write of this coming, with several improvements as suggested by others and a nice UI for managing items.

Cold
 
Don't do that :)

Sometime earlier this year CBD (the guy who used to maintain this) updated the code. config_default.lua is just that, the defaults. If you want to keep changes copy config_default.lua to config.lua and make changes there.
That being said, I have a complete re-write of this coming, with several improvements as suggested by others and a nice UI for managing items.

Cold
Oh man! Excited to hear that!
 
Ok, thanks I'll give that a try.
Well as an update i stopped using this for a while because it was constantly destroyong everything but food and drink regardless of what i put in the code and just manually summoned up a bunch of masks and pet weapons but i wanted to try the program again so i went into the ini in the cauldron Lua and in easy Lua where it has the same code and told it NOT TO DESTROY anything but the pail of slop in both areas and started up the program and the program when through my inventory and destroyed everything i spent days summoning manually. why do you have the default code literally destroy everything but food and drink?
 
Don't do that :)
That being said, I have a complete re-write of this coming, with several improvements as suggested by others and a nice UI for managing items.

Cold
I think there's no update coming...
Anyone that could take this in their care?
I like alot about cauldron summoned stuff, it's usefull, in many cases. Especially, with lower level alts.
 
Don't do that :)

I think there's no update coming...
Anyone that could take this in their care?
I like alot about cauldron summoned stuff, it's usefull, in many cases. Especially, with lower level alts.
Merry Late Christmas.
-- cauldron.Lua scribbled by Cannonballdex (refined)
-- Add and Remove Items from the config file
-- Shows time left on cauldron cooldown
-- Add items by name using the input text boxes
-- Add items directly from cursor with "Add Cursor to Keep/Destroy" buttons
 
Merry Late Christmas.
-- cauldron.lua scribbled by Cannonballdex (refined)
-- Add and Remove Items from the config file
-- Shows time left on cauldron cooldown
-- Add items by name using the input text boxes
-- Add items directly from cursor with "Add Cursor to Keep/Destroy" buttons
please talk to authors and see if they wish for a pr/update/collaboration please dont just post ai updated files into their resource
 
It is my resource.
you deleted it (with a whole bunch of other resources), and it was revived and assigned to coldblooded. if you want to take it back over talk with @Coldblooded and let me know and i can reassign it to you

if you're looking to have resources again, please be aware that just slapping a bunch of ai scribble is going to get denied.

just slapping a zip in a discussion thread is also not how we keep stuff updated. so please stop doing that.
 
you, in a rage, deleted it, and it was revived and assigned to coldblooded. if you want to take it back over talk with @Coldblooded and let me know and i can reassign it to you

if you're looking to have resources again, please be aware that just slapping a bunch of ai scribble is going to get denied.

just slapping a zip in a discussion thread is also not how we keep stuff updated. so please stop doing that.
Not interested in taking it back. Was trying to help out. I won't post any zips in the forum. Or any information. Thanks. Take Care.
 
Release cauldron.lua

Users who are viewing this thread

Back
Top
Cart