• 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
I already had a cauldron and it summoned a new one.... Might want to check for already having one at some point. Not that big of a deal.

Edit... nevermind... i have now summoned 6 of them while running this script..... will become a big deal sooner rather than later :P
 
Also, is dropping items off my cursor when i don't want it to. Like putting random stuff off in my bank. Might want to add a check for combat or a delay in movements so the toon doesnt use cauldron mid combat or something.

Tried some modifications to deal with the different ranks of cauldrons, just waiting to see if they work.
 
added the following checks to a few places in the code so it doesnt summon a cauldron if you have rk2 or rk3...

INI:
 and mq.TLO.FindItemCount(85481) and mq.TLO.FindItemCount(85482)

Also modified the destroy check to make it so you keep the eyes and cloak. since they're lore it wont matter.

INI:
if (mq.TLO.Cursor.Name() == "Imprint of the Enhanced Minion" or mq.TLO.Cursor.Name() == "Tavon's Burnished Gemstone" or mq.TLO.Cursor.Name() == "Tavon's Polished Gemstone" or mq.TLO.Cursor.Name() == "Brightedge" or mq.TLO.Cursor.Name() == "Pail of Slop") then

I might also consider putting the drop item into inventory into the summon routine... so it doesnt drop items into your inventory when your not summoning them. I will work on that later.
 
Thanks for the feedback, I only had a chance to test this with the rk 2 spell and while afk. Not sure if you want to try to run this while hunting or running around. It will try to drop everything you try to pick up while it is running. I will check out the other issues when time permits.
 
Thanks for the feedback, I only had a chance to test this with the rk 2 spell and while afk. Not sure if you want to try to run this while hunting or running around. It will try to drop everything you try to pick up while it is running. I will check out the other issues when time permits.
I was playing with it and couldnt figure how how to move the process to put the items in the inventory only when the cast is made, it simply wouldnt stop crashing. I assume some sort of infinite loop stuff since it doesnt shut off....couldnt tell from the error.
 
I was playing with it and couldnt figure how how to move the process to put the items in the inventory only when the cast is made, it simply wouldnt stop crashing. I assume some sort of infinite loop stuff since it doesnt shut off....couldnt tell from the error.

https://www.redguides.com/community/posts/482664/react?reaction_id=1
I set that up in a loop for the purpose of being able to run this with the overseer.mac while just hanging out in the guild lobby. My intention was if someone casted mod rods or something it would clear the cursor. If you remove the loop and add autoinventory to cast section and then do a delay of 30 minutes it will only loop 30 minutes at a time.
 
Strange, my Rk. II spell summons a regular cauldron and not an Rk. II cauldron. My guess is you have to be GOLD to summon an Rk. II. Guess not, Gold account still summons the same thing. Nope, Gold account did summon an Rk. II . lol
 

Attachments

  • Untitled.png
    Untitled.png
    132 KB · Views: 26
  • Untitled.png
    Untitled.png
    147.5 KB · Views: 25
Last edited:
That is interesting. When looking at the spell data the base1 for Cauldron of Endless Bounty for all three ranks, each one has a different item ID it's listed as summoning.

So by all means, each one should be summoning the one appropriate to their rank. They are not lore, are you sure you didn't just already have the rank one on your person, and seen the wrong one in the inventory and the one the rank two summons is still somewhere in your inventory?
 
INI:
if (mq.TLO.Cursor.Name() == "Imprint of the Enhanced Minion" or mq.TLO.Cursor.Name() == "Tavon's Burnished Gemstone" or mq.TLO.Cursor.Name() == "Tavon's Polished Gemstone" or mq.TLO.Cursor.Name() == "Brightedge" or mq.TLO.Cursor.Name() == "Pail of Slop") then

Super long and complex conditionals are hard to read. Suggest something like this:


Code:
local THINGS_TO_KEEP = {
    ["Imprint of the Enhanced Minion"] = true,
    ["Tavon's Burnished Gemstone"] = true ,
    ["Tavon's Polished Gemstone"] = true,
    ["Brightedge"] = true,
    ["Pail of Slop"] = true
}

if THINGS_TO_KEEP[mq.TLO.Cursor.Name()] then
    -- do the stuff
else
    -- do the other stuff
end
 
another added benefit of doing that is not re-evaluating the cursor name 5 times.
use local variables:
Code:
local cursorName = mq.TLO.Cursor.Name()

-- proceed to use it 100 times if you want with this current value
 
That is interesting. When looking at the spell data the base1 for Cauldron of Endless Bounty for all three ranks, each one has a different item ID it's listed as summoning.
https://lucy.allakhazam.com/spellraw.html?id=40459&source=Live
https://lucy.allakhazam.com/spellraw.html?id=40460&source=Live
https://lucy.allakhazam.com/spellraw.html?id=40461&source=Live

So by all means, each one should be summoning the one appropriate to their rank. They are not lore, are you sure you didn't just already have the rank one on your person, and seen the wrong one in the inventory and the one the rank two summons is still somewhere in your inventory?
Deleted the cauldron and can confirm that casting the Rk. II spell with a silver account produces a plain cauldron and not an Rk. II cauldron. So I went and buffed my pet with Rk. II spells and they show as regular spell buffs on the pet. The Gold account mage show Rk. II spells and buffs.
 
Super long and complex conditionals are hard to read. Suggest something like this:
I agree. Before I seen the replies on the thread I had already moved the stuff to more manageable position. hehe
 
Deleted the cauldron and can confirm that casting the Rk. II spell with a silver account produces a plain cauldron and not an Rk. II cauldron. So I went and buffed my pet with Rk. II spells and they show as regular spell buffs on the pet. The Gold account mage show Rk. II spells and buffs.

Silver accounts have to buy the rank increase from daybreak to use rank 2s.
 
I did a full rewrite after my heroic mage was constantly summoning cauldrons. There were some logic checks in the CheckSpell function that simply do not work, and as such it kept casting over and over. Simplified and condensed the code as well.
 

Attachments

Highly recommend modifying your copy to add the shard. If you are having issues with chain casting due to lore items it's the Ether-Fused Shard.

["Worlu's Windcloak"] = true,
["Worlu's Prying Eyes"] = true,
["Ether-Fused Shard"] = true ,

Cheers :)
 
Highly recommend modifying your copy to add the shard. If you are having issues with chain casting due to lore items it's the Ether-Fused Shard.

["Worlu's Windcloak"] = true,
["Worlu's Prying Eyes"] = true,
["Ether-Fused Shard"] = true ,

Cheers :)
If an item is Lore and you summon another one it will be similar to a failed attempt saying something to the effect of You have tried to summon a lore item. Then after 30 minutes it will try again.
 
Today my Mage got the RK. II. Lua kept casting cauldrons, filling up the inventory.
[CODE title="cauldron main"]while true do
--CheckSpell()
--mq.delay('1s')

KeepItem()
CheckCauldron()
mq.delay('1s')

mq.doevents()
end[/CODE]
disabled CheckSpell() as workaround
 
Today my Mage got the RK. II. Lua kept casting cauldrons, filling up the inventory.
[CODE title="cauldron main"]while true do
--CheckSpell()
--mq.delay('1s')

KeepItem()
CheckCauldron()
mq.delay('1s')

mq.doevents()
end[/CODE]
disabled CheckSpell() as workaround
do you have the item # ?
 
Nice Lua, thanks Canonball for your job.
- can u make the summoned items going inside bag... all summoned items going to cursor...
- when playing kissassist most of the summoned items been destroyed (because they are on cursor)
Or im doing something bad and theres a way to auto store summoned items inside bags...
Thanks even
 
Nice LUA, thanks Canonball for your job.
- can u make the summoned items going inside bag... all summoned items going to cursor...
- when playing kissassist most of the summoned items been destroyed (because they are on cursor)
Or im doing something bad and theres a way to auto store summoned items inside bags...
Thanks even
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
}
 
Thanks for the fast answer :-) worked fine now !!!
/mqp on and /mqp off "makes the sense"
One more question, is there a way to pause Lua when char is invis? or while in battle?
Im not programmer and i have no idea what to do, thanks in advance, and Merry Xmas
 
One more question, is there a way to pause lua when char is invis? or while in battle?
Im not programmer and i have no idea what to do, thanks in advance, and Merry Xmas
Updating the script a couple other things that could be helpful.
Code:
and not mq.TLO.Me.Moving() and mq.TLO.FindItem(v).TimerReady() == 0 and mq.TLO.Me.FreeInventory() >= 1 and not mq.TLO.Me.Combat() and not mq.TLO.Me.Hovering() and not mq.TLO.Me.Invis() then
 
Nice LUA, thanks Canonball for your job.
- can u make the summoned items going inside bag... all summoned items going to cursor...
- when playing kissassist most of the summoned items been destroyed (because they are on cursor)
Or im doing something bad and theres a way to auto store summoned items inside bags...
Thanks even
I am having the same issue. If I walk away from my computer for a couple hours I will return to many items on the cursor and not auto-inventorying them.
 
I have seen this happen when running forage at the same time. Are the items on your cursor in the keep or destroy list?

Update: See an issue where two items get summoned and one is either left on the cursor or sent to inventory as an unwanted item.
 
Last edited:
Release cauldron.lua

Users who are viewing this thread

Back
Top
Cart