• 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
Resource icon

Release Heroes Are Forged Mission Script 1.7.1 Auto-Update Config

No permission to download
Levi was on but somewhere it gets removed. Like I said never had a problem until I updated to the latest mesh. Even running it manually I don't get stuck using Nav commands.
 
Tried another 2 pet groups today. I already have cracked so wasnt so worried.
1st grp was SK/MAG/BST/ENC pets - had one spawn where must have been too far away and just would not send pets. So Missed one spawn.
2nd Grp was SK/MAG/NEC/ENC pets - last spawn the queen stayed right where the grp was and Grp did not send pets and didn't move. Paused Lua and sent pets manually and all good.

This script is very good with a little bit of encouragement from the user.
Again the eggs were an afterthought. The way my loop is currently set up, sending pets on eggs is the LAST step in the loop which is to include running back to our camp. So if you got trapped in a room and it didn't get back to camp, pets would not have been sent.

[CODE lang="Lua" title="Current HandleEgg function" highlight="40-51"]local function HandleEggs()
local radius = tonumber(Radius)
local navigationInitiated = false
local modeChangedToZero = false

-- Check and handle SpiderBoss ignore at the start
if not SpiderBossIgnore then
printf('\ayEggs are up,\ax \arignoring SpiderBoss\ax \ayfor now.\ax')
mq.cmdf('/%s ignore %s', mq.TLO.Me.Class.ShortName(), SpiderBoss)
mq.delay(50)
SpiderBossIgnore = true
end

while mq.TLO.SpawnCount(string.format("npc %s", Eggs))() >= 1 do
if mq.TLO.SpawnCount(string.format("npc %s", SpiderAdd))() >= 1 then
-- Handle SpiderAdd...
KillTarget(SpiderAdd)
else
if not CheckGroupProximity(CampX, CampY, CampZ) then
if not modeChangedToZero then
mq.cmdf('/%s mode 0', mq.TLO.Me.Class.ShortName())
mq.cmd('/squelch /target clear')
modeChangedToZero = true -- Set flag to avoid repeated mode changes
end

if not navigationInitiated then
mq.cmd('/squelch /target clear')
send_group_message_bcga('/squelch /nav locxyz %d %d %d', CampX, CampY, CampZ)
navigationInitiated = true -- Set flag to avoid repeated navigation commands
end

if not mq.TLO.Navigation.Active() then
-- Reset flags once navigation is complete
modeChangedToZero = false
navigationInitiated = false
mq.cmdf('/%s mode 7', mq.TLO.Me.Class.ShortName())
end
end

if sendPetsOnEggs then
if mq.TLO.Target.CleanName() ~= Eggs then
send_group_message_bcga('/squelch /target %s', Eggs)
mq.delay(250)
send_group_message_bcga('/pet swarm')
send_group_message_bcga('/pet attack')
end
else
if not CheckPetsProximityToOwner() then
ReturnPetsToOwner()
end
end
end

mq.delay(100) -- Adjust the delay as needed
end[/CODE]

You could TRY changing yours to this:
- Code didnt work, ignore this

I might change this in the future but currently, it's not a top priority.
 
Last edited:
Levi was on but somewhere it gets removed. Like I said never had a problem until I updated to the latest mesh. Even running it manually I don't get stuck using Nav commands.
I dont have anything in the script that removes levi. Did you have anyone who died? Obviously, they would not have levi after being rezed. I have considered adding a recast of levi if someone in group dies but havent gotten around to it.
 
I tried with an ENC and a SHM with pets but the DPS on the egg sacs wasn't nearly enough to get them in time. They kept healing themselves as I DPSed them.

Should I give up on this all together or is there possibly a way to do it with these two?
 
I tried with an ENC and a SHM with pets but the DPS on the egg sacs wasn't nearly enough to get them in time. They kept healing themselves as I DPSed them.

Should I give up on this all together or is there possibly a way to do it with these two?

What you may want to try is when the SlimeBoss is at 10% and if you have no SlimeAdd's, try turning on ALL of your burns using /cwtna burnnow. This will cause you to use swarm pets from burns and buff any pets you got making this phase alot more likely to win. The downside, you may not have burns for all of Lich phase and Shalowain will be slow. This is how I got cracked achievement and I only have a beast/shm for static pets + swarm pets from bard/ranger.
 
I tried with an ENC and a SHM with pets but the DPS on the egg sacs wasn't nearly enough to get them in time. They kept healing themselves as I DPSed them.

Should I give up on this all together or is there possibly a way to do it with these two?
Never give up! I am not sure if these do much damage but it might be worth looking into. I also seem to recall a rabbit I think from the loyalty merchant.
1704829438227.png
 
TL ; DR: you are negatively affecting people running multiple groups.

There is no acceptable reason to be broadcasting commands all over /dge or EQBC equivilent which go to every toon connected to Dannet:

Lua:
-- "/bcg /{command}" or "/dgg /{command}"
local function send_others_message_bcg(command, ...)
    if (settings.general.GroupMessage == 'dannet') then
        send_message(false, 'dge', command, ...)
    else
        send_message(false, 'bcg', command, ...)
    end
end
-- "/noparse /bcg /{command}" or "/noparse /dgg /{command}"
local function send_others_message_bcg_noparse(command, ...)
    if (settings.general.GroupMessage == 'dannet') then
        send_message(true, 'dge', command, ...)
    else
        send_message(true, 'bcg', command, ...)
    end
end

Examples:
Lua:
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} mode 2')
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} campradius 45 nosave')
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} campradius 60 nosave')
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} pause 0')
send_others_message_bcg('/squelch /nav locxyz  %d %d %d', CampX, CampY, CampZ)
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} mode 1')
send_others_message_bcg_noparse('/docommand /${Me.Class.ShortName} mode 2')
send_others_message_bcg('/squelch /target %s', SlimeBoss)
send_others_message_bcg('/attack on')

Consider the player is in a zone with that LOC available to them, they will go running off to that location in the open world.
Consider the player is actively Grinding and is being reconfigured at some point of the Grind; this creates a negative perception of the product and a support burden for the user and for me.

I would recommend the following:
  • changing all `/target` with `/mqtarget npc`
  • querying the plugins for the original settings and reverting the original settings back to what it was

Please fix your functions and limit your command to the group.
 
Last edited:
Using CWTN plugins on 4 toons (2 mercs which are mostly pointless, I have concluded) total.

I was seconds too slow in killing the Blob and got the greenie add but I couldn't find a way to regain control and target that to kill it. That's okay, I ended up kicking the mission mid-way through the script of egg sacs, Spider etc - as I saw I was getting in trouble, I would rather /kickp task than rez :).

"If something happens or you wipe, you can restart the lua from within the zone without having to drop task"

A. Since I dropped the mission & got it again, I couldn't figure out how to get this Lua script to restart?

Nothing seemed to work for me in the LEM HUD. Only thing that worked was to unclick MQ2Lua in the PluginManager window and then re-enable it, is there another way I can restart after getting a new instance? Or more simply how do I end this script, I'm a noob?

B. Had issues with emoted toons not running away for final Boss, (though they were kind of caught on the ledge around the forge) sre they supposed to, or is it a heads up to move them away?

- not a big deal as when doing this without your script, my 3 boxes die 3 times and the SK tanks her solo the whole time anyway, WITH your script they only died once - so vast improvement.

I very much appreciate this Lua Script, it simplified things I just could not click fast enough individually on 4 toons. For my first try using it, very happy and impressed. (I was seconds away from getting Cracked too, which I expect to on the next go around).

Thanks!
 
Thank you for the tips @Oldman66 and @num1pkfutura I will keep at it with my two pet classes and try to throw in the swarm pets and clickables too.

Can a Shaman pet be given MAG pet weapons? Hard to imagine a bear with a sword but maybe its allowed?
 
Using CWTN plugins on 4 toons (2 mercs which are mostly pointless, I have concluded) total.

I was seconds too slow in killing the Blob and got the greenie add but I couldn't find a way to regain control and target that to kill it. That's okay, I ended up kicking the mission mid-way through the script of egg sacs, Spider etc - as I saw I was getting in trouble, I would rather /kickp task than rez :).



A. Since I dropped the mission & got it again, I couldn't figure out how to get this LUA script to restart?

Nothing seemed to work for me in the LEM HUD. Only thing that worked was to unclick MQ2Lua in the PluginManager window and then re-enable it, is there another way I can restart after getting a new instance? Or more simply how do I end this script, I'm a noob?

B. Had issues with emoted toons not running away for final Boss, (though they were kind of caught on the ledge around the forge) sre they supposed to, or is it a heads up to move them away?

- not a big deal as when doing this without your script, my 3 boxes die 3 times and the SK tanks her solo the whole time anyway, WITH your script they only died once - so vast improvement.

I very much appreciate this Lua Script, it simplified things I just could not click fast enough individually on 4 toons. For my first try using it, very happy and impressed. (I was seconds away from getting Cracked too, which I expect to on the next go around).

Thanks!


You could make a hotkey to stop it,

[CODE title="Stop"]/Lua stop hafmission[/CODE]

or do

/Lua gui

and use the graphical interface to stop it
 
Thank you for the tips @Oldman66 and @num1pkfutura I will keep at it with my two pet classes and try to throw in the swarm pets and clickables too.

Can a Shaman pet be given MAG pet weapons? Hard to imagine a bear with a sword but maybe its allowed?
yeah I fully gear shaman/chanter pets
 
Can a Shaman pet be given MAG pet weapons? Hard to imagine a bear with a sword but maybe its allowed?
Absolutely! You just can't see it unless you have a clicky that grants a form that normally shows weapons. The freebie orc one will show weapons.
 
I used this last night and won the mission first try. During spider though my guys just ping pong back and forth while eggs are up. Tried it this morning and failed 2x.
 
Is it possible during the egg phase to stop the MA running back to the spot the mission starts at?. I tried to write a lem to move to the appropriate building but it only seems to run to the north one.

Maybe i got the trigger wrong

#*#structure to the #1#.#*#
[CODE title="HAFmission_Egg"]
local mq = require('mq')

-- Do not edit this if condition
if not package.loaded['lem.events'] then
print('This script is intended to be imported to Lua Event Manager (LEM). Try "-t/Lua run lem-t"')
end

local function event_handler(line, structure)
if not mq.TLO.Zone.ShortName() == 'herosforge_mission' then return end

local my_class = mq.TLO.Me.Class.ShortName()
local i_am_ma = mq.TLO.Group.Member(0).MainAssist()
local ma_name = mq.TLO.Group.MainAssist.CleanName()

if structure ==northwest
then
mq.cmdf('/%s mode 0', my_class)
mq.cmd('/timed 5 /afollow off')
mq.cmd('/nav stop')
mq.cmd('/target clear')
mq.delay(10)
mq.cmd('/nav locxyz -995 395 196')
end

if structure ==southeast
then
mq.cmdf('/%s mode 0', my_class)
mq.cmd('/timed 5 /afollow off')
mq.cmd('/nav stop')
mq.cmd('/target clear')
mq.delay(10)
mq.cmd('/nav locxyz -1169 237 196')
end

if mq.TLO.Group.Member(mq.TLO.Me).MainTank() then
mq.cmdf('/%s mode 8', mq.TLO.Me.Class.ShortName())
mq.cmd('/mqp off')
else
mq.cmdf('/%s mode 2', mq.TLO.Me.Class.ShortName())
mq.cmd('/mqp off')
end
end

return {eventfunc=event_handler}
[/CODE]

But maybe you could have the ma run to the locs and then have the pet classes send the pet

Just a thought.


I also has 1 mission where the grp was caught inside next to the egg and everyone kept trying to run back, i couldnt stop them trying to run.
 
has anyone happen to get the soundproof ach with this yet?
got it last night once i figured out how to set it up correctly
also, tried with bard in group, messy (as it is obviously not configed for CWTN plugins)
lastly, anyone know how to configure NOT to open open chest?
 
Might wanna trying loading MQ2AutoSize and use /dgga /autosize sizeself 7 when you're in zone. This has worked for some people. Fortunately/unfortunatly I don't have the navmesh issues so there isn't much I can do about that.
Its not a nav mesh issue its a zone issue. It happens to tanks/players without any automation.
 
Tried this Lua about 4x today.

Group consisted of Enc/Nec/SK/Cler/Mag/Rog

Consistently (3/4x) had a problem where SK targeted Shalowain after Spider Queen and entire group ran to her instead of the eggs.

The 1 time SK didn't target Shalowain but targeted eggs, it was infinite spam - Mage and Nec pets would not attack the eggs.
 
I suppose you could change View attachment 55849
I would just pause it using LEM
If you dont want to open chest the replace Main Loop at bottom with this:

[CODE lang="Lua" highlight="20"]--- Main Loop Start
Credits()
StartupSettings()
mq.delay(100)
while not mq.TLO.Task('Heroes Are Forged').Select() do
GetTask()
mq.delay(100)
end
while mq.TLO.Task('Heroes Are Forged').Select() and mq.TLO.Zone.ShortName() ~= quest_zone do
ZoneIn()
mq.delay(100)
end
TaskSettings()
TaskSetupForSlime()
while true do
if mq.TLO.SpawnCount(string.format("npc %s", Eggs))() >= 1 then
HandleEggs()
mq.delay(50)
elseif mq.TLO.SpawnCount(string.format("object %s", ChestName))() >= 1 then
-- SetModeManualAndOpenChest()
mq.delay('10s')
TaskSettingsEnd()
printf('\ayHeroes Are Forged Mission Lua\ax - \agCompleted\ax')
mq.cmdf('/Lua stop hafmission')
elseif mq.TLO.SpawnCount(string.format("npc %s", Shalowain))() >= 1 then
KillTarget(SlimeBoss, SlimeAdd)
mq.delay(50)
KillTarget(SpiderBoss, SpiderAdd)
mq.delay(50)
LichSetup()
mq.delay(50)
ShalowainSetup()
mq.delay(50)
end
end
--- Main Loop End[/CODE]
 
I got it second try with this. I run SK / MAG / BER / SHM / BRD / ENC and tank is not raid geared but pretty dang good - first try he lasted solo against her for about 10% with everyone dead first try - if I had properly prepared the mission (campfire etc) I probably could have zoned back in and finished her - he died at 28%. I just kinda got amused wondering if he could just solo her and was twiddling my thumbs...
Second try this didn't avoid the notes at all on the last mob they just stood there kinda by the forge not moving away or anything. We just healed through it and apparently got lucky and won.
 
Tried this LUA about 4x today.

Group consisted of Enc/Nec/SK/Cler/Mag/Rog

Consistently (3/4x) had a problem where SK targeted Shalowain after Spider Queen and entire group ran to her instead of the eggs.

The 1 time SK didn't target Shalowain but targeted eggs, it was infinite spam - Mage and Nec pets would not attack the eggs.
So the Lua ignores Shalowain in its initial setup:

[CODE lang="Lua" highlight="4"]local function TaskSettings()
printf('\ayStart Task Settings\ax')
-- setting up ignores for puller mode
mq.cmdf('/%s ignore Shalowain', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore a depleted forgebound', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore a reborn warrior', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore a reborn wizard', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore Elmara Emberclaw', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore egg sacs', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s ignore Lich\'s Power', mq.TLO.Me.Class.ShortName())
mq.delay(50)
mq.cmdf('/%s unignore "%s"', mq.TLO.Me.Class.ShortName(), SpiderBoss)
mq.delay(50)[/CODE]

It then unignores him here AFTER Lich phase is over:
[CODE lang="Lua" highlight="4"]local function ShalowainSetup()
while (mq.TLO.Me.XTarget(1).Name() == Shalowain or mq.TLO.Me.XTarget(2).Name() == Shalowain) or (mq.TLO.SpawnCount(string.format("corpse %s", Lich))() >= 1 and mq.TLO.SpawnCount(string.format("npc %s", Shalowain))() >= 1) do
if not ShalowainXYZSetup then
mq.cmdf('/%s unignore "%s"', mq.TLO.Me.Class.ShortName(), Shalowain)
mq.delay(50)
ShalowainXYZSetup = true
end
KillTarget(Shalowain, Mummy) -- Assume Mummy as priority if present
end
end
[/CODE]

As such this shouldn't be possible. Please try to watch your tank ignore window and see whats going on when running to provide more feedback.
 
I got it second try with this. I run SK / MAG / BER / SHM / BRD / ENC and tank is not raid geared but pretty dang good - first try he lasted solo against her for about 10% with everyone dead first try - if I had properly prepared the mission (campfire etc) I probably could have zoned back in and finished her - he died at 28%. I just kinda got amused wondering if he could just solo her and was twiddling my thumbs...
Second try this didn't avoid the notes at all on the last mob they just stood there kinda by the forge not moving away or anything. We just healed through it and apparently got lucky and won.
Make sure LEM is imported and turned on for ALL characters. This seems to be a big issue people don't understand.
1704953634116.png
 
I did click through everyone and ensure it was running. The first time they did try and avoid the notes, the second time when we won, they were all attacking and doing their things but they all seemed to be stuck on the firepit/forge.
 
has anyone happen to get the soundproof ach with this yet?
Yes, I dont know if it was dumb luck but doing it with this lua I got the Soundproof achievement. I didnt do anything special, just let it run.
Got it the first 3 times I ran this Lua with this group..SK/Mag/Rog/Nec/Shm/Bst. Surprisingly, I have yet to get cracked with them though using the Lua. Had to run it by myself in order to get the pets targeting the egg sacs properly. Have not gotten soundproof or cracked with any other group combo yet though. SK/Rog/Bst are constant, but have subbed Rng/Enc/Clr/War/Rog/Ber into the other slots and have not gotten either achievement yet.
 
Got it the first 3 times I ran this Lua with this group..SK/Mag/Rog/Nec/Shm/Bst. Surprisingly, I have yet to get cracked with them though using the Lua. Had to run it by myself in order to get the pets targeting the egg sacs properly. Have not gotten soundproof or cracked with any other group combo yet though. SK/Rog/Bst are constant, but have subbed Rng/Enc/Clr/War/Rog/Ber into the other slots and have not gotten either achievement yet.
I too haven't been able to get the eggs. When the Queen warps and crew runs back to the Slime area I see the pets eating popcorn. I have been able to force with hot key to attack eggs but I am not getting all to go. I am not clear on pet range vs camp radius or even if that matters. I did get two eggs down last night. As for Soundproof, I was able to get this my 3rd run. I was concerned about the bard with KA though. My last 1/2 dozen attempts nobody moved from Shalowain. I am really struggling again with this mission as my dps has dropped due to FTP on all except tank. Are you using Dannet? I tried looking through the Lua(most is Greek to me) and I saw BCGA commands in the egg area. I was wondering if I need to try using EQBCS.
 
got it last night once i figured out how to set it up correctly
also, tried with bard in group, messy (as it is obviously not configed for CWTN plugins)
lastly, anyone know how to configure NOT to open open chest?

You could just stop the script all together when Shalowain is at 1% or the second he dies. There is a little delay from the time he dies till the time the script opens the chest.
 
I have run this Lua and gotten Soundproof, but I manually moved the group that was still on Shalo (ie not running from notes) to avoid the notes. I have 4 keys, W N E S and move group accordingly. The moves don't seem to interfere with the Lua.

Also, with the pet-on-eggs version, there is indeed a range problem. When I do this mission without this Lua (but still with the LEM), I move the group to the eggs. This has backfired exactly once when there was no web stopping us from meleeing the eggs, causing toons to be punted.
 
Release Heroes Are Forged Mission Script

Users who are viewing this thread

Back
Top
Cart