• 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 MGB.lua (1 Viewer) 1.52

No permission to download
i'd suggest checking that boxr is loaded before leaning so heavily on making sure it is
 
Does it assign buffs to only the toons you have loaded or does it count other buffers in the raid?
 
It checks your dannet raid channel and only assigns from that pool. So it will only assign your own buffers, that you have in your current raid, and that are connected to your dannet.
 
It checks your dannet raid channel and only assigns from that pool. So it will only assign your own buffers, that you have in your current raid, and that are connected to your dannet.
there's a small problem with this, the toons position in:
Code:
local Toon_Name = tostring(mq.TLO.Raid.Member(toon_number).Name())
is based on order invited to raid, so if you invite 2 groups from 1 dannet user then 2 groups from another, etc. you end up with buffing getting assigned to toons not on your DanNet.

I couldn't find a way to sort them, only thing I could come up with was going through all 72 raid slots and comparing them to local DanNet users.
 
there's a small problem with this, the toons position in:
Code:
local Toon_Name = tostring(mq.TLO.Raid.Member(toon_number).Name())
is based on order invited to raid, so if you invite 2 groups from 1 dannet user then 2 groups from another, etc. you end up with buffing getting assigned to toons not on your DanNet.

I couldn't find a way to sort them, only thing I could come up with was going through all 72 raid slots and comparing them to local DanNet users.

So, I did find an issue that could cause it not to find all your dnet raid peers, but i'm not sure if it could cause what you are describing. There shouldn't be a way for a toon that isn't on your dnet to be assigned.

Can you give me some steps to replicate? After the above line, we search for Toon_Name in the list of dnet peers and only add them as a buffer if they are a peer. We start at raid member #1 and iterate through the raid until every dnet raid channel peer is accounted for.
 
So, I did find an issue that could cause it not to find all your dnet raid peers, but i'm not sure if it could cause what you are describing. There shouldn't be a way for a toon that isn't on your dnet to be assigned.

Can you give me some steps to replicate? After the above line, we search for Toon_Name in the list of dnet peers and only add them as a buffer if they are a peer. We start at raid member #1 and iterate through the raid until every dnet raid channel peer is accounted for.
Thanks for taking a look nerp. the iteration through raid is what I was thinking, but now it errors. I think because it has blanks in the table.
1678200688801.png

so what happens is we have a raid, made of say 5 drivers (unique DanNets) say each one has 2 groups, and they get added to the raid person 1 group1, person 2 group 1, person 1 group 2. then MGB would assign buffs to a toon not on your DanNet.

for testing this new version what I did was.
DanNet 1(D1), I had SK leader, invited a necro
then on DanNet 2(D2) I invite a rog, and clr
then DanNet 1(D1) invite a SHM
so that error happened immediately at toon_number = 3
so it basically said:
adding toon SK skname L120
adding toon nec necname L120
then crash message.

I think if you handle for the nil, it should be working. only other thought might be on line 82 the 1 - 72 of a full raid, could maybe go 1 - raiders (variable) to not go through empty spots.
 
Found the problem. I didn't update the initialization of the array to account for going to 72. Not really supposed to need to initialize arrays in Lua, but i think it has to do with the way the array members are called here.
 
Began using this today in lieu of making a new Lua that I posted about in my other thread and I have 2 questions if you don't mind.

1) I went into the Lua and remove the Necromancer line because I do not want the dead men floating buff (yes, I can add to the blocked list and I did, but why have the Nec then LOL?). When I do that, it skips him, but the causes the Enchanter to not mem spell 1 (Voice of Perception). What did I mess up and how do I simply remove the Necro spell properly?

2) I would like to add the mod rod AA for my mage similar to how the enc uses the Glyph spray AA. It has a cast time though unlike Glyph Spray but it obviously does not need TB. How could I add that to the Lua?

I was able to add other class spells, so outside of adding my toons to a raid in the guildhall to mass buff, this script is amazing. Thank you so much for making it! To get around the guildhall, I simply made a hotkey to add non group toons to a raid, then a hotkey to disband he raid, so it works perfect!
 
Last edited:
The enchanter is a separate issue. It needed a slight delay after casting Glyph Spray. Update inc. I'll go ahead and add Mod Rod AA separately.

For necro you can just comment out or delete the line for DMF.
 
Awesome, thanks!

EDIT - Works like a charm now, thank you! I removed the NEC and added a few for CLR/BST/SHM as well and it's perfect!
 
Last edited:
I would like to also do this. If you have time to send me edits? Id like to discuss :)
Nerp added a few after we talked about it yesterday and updated the Lua. I only added Unified Hand of Persistence after last nights update and removed necro. Attached, but untested as of yet for Persistence.

This is a must have if you run multiple toons want guild hall or raid zone buffs. Hats off to the OP and Nerp!
 

Attachments

Looks like our beloved mgb might need a tweak. The Lua only looks for level 120 toons, but you can modify that and change the info below as a temporary fix.

[CODE lang="Lua" highlight="3"]-- Cycle through class keys listed in buffs and assign buffers if 120, gimps are MGB'ing on their own
for key,value in pairs(buffs) do
if myRaid[toon_number][2] == key and Toon_Level == 121 then
buffers[key] = Toon_Name[/CODE]

Works if all toons are 121 but I imagine a tweak to use 121 -125 levels may be necessary and there will likely be new spells to replace old ones as well so the set will need to change at some point. I started looking at the list of spells for each class in LS but I imagine someone has already done that and may have the names already.
 
Thanks for the heads up. I'll soften the level check and update it for the new LS buff set when i get some time this week.
 
for a quick fix the line should read
Code:
            if myRaid[toon_number][2] == key and Toon_Level >= 120 then
 
Sweet, thanks! I knew there was a faster/better way =)

PM me if you want some assistance getting the the new spell names. Happy to contribute that since my Lua coding is obviously sub par =)
 
Here is a pre-release version with L125 buffers getting priority over L120 buffers if there are 125's in raid. It should still do the L120 buffs if there are no 125's. I don't have any 125's yet to test so if anyone can let me know how it does, it would be appreciated.
 

Attachments

Here is a pre-release version with L125 buffers getting priority over L120 buffers if there are 125's in raid. It should still do the L120 buffs if there are no 125's. I don't have any 125's yet to test so if anyone can let me know how it does, it would be appreciated.
Thanks!! I only have one 125 so I have not been able to test the new spells yet but the changes allow the 120's top cast.

The only change was on line 175. I increased the delay to 34000 because the mage tries to cast emberweave just a bit to soon after the mod rods and it errors, but only after I added a PAL. If I take the PAL out, it works fine. Also something to note is that I removed the Necro spell so I'm not sure how that changed things. But as always, thank you!

Lua:
    mq.delay(34000 - assigned*4000)
 
Finally got some buffers up to 125 to test and it was indeed broke. Here's a working version of the one i actually use for now. (warning, this one has raid announces turned on). I'll fiddle with the main mgb later to fix it.
 

Attachments

That's a big maybe, and only if i find a full blown list of buffs by era to crib from.
 
Just found this the other day after guild raid night. used it on tonights and man did it ever make buffing the whole raid a breeze. Love it.
 
Release MGB.lua

Users who are viewing this thread

Back
Top
Cart