• 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

Question - Trying to change someone Lua to fit my, can someone plz take a look and just lmk if I got the idea right

Undefeated

Well-known member
Joined
Jul 27, 2020
RedCents
169¢
Hey guys I took aquietone Lua and changed the location and the saying. Want to ask if that is correct so far? If it is then I will put in my own location. Also for how long is the toon going to stay at that location and will he return on his own or I would need to call him over. Please feel free to give me as much feedback as possible. Thanks



#*#The Demonstrated Depletion begins to glow slightly, drawing a little energy from every living thing in the cave#*#



Code:
local mq = require('mq')
local function event_handler(line, target)
    if not mq.TLO.Zone.ShortName() == 'deepshadetwo_raid' then return end
    local my_class = mq.TLO.Me.Class.ShortName()
    local i_am_ma = mq.TLO.Group.Member(0).MainAssist()
    local my_name = mq.TLO.Me.CleanName()
    local ma_name = mq.TLO.Group.MainAssist.CleanName()
    if not i_am_ma and (target == my_name or target == ma_name) then
        if my_class == 'BER' and mq.TLO.Me.ActiveDisc.Name() == mq.TLO.Spell('Frenzied Resolve Discipline').RankName() then
            mq.cmd('/stopdisc')
        end
        mq.cmdf('/%s mode 0', my_class)
        mq.cmd('/mqp on')
        mq.cmd('/twist off')
        mq.cmd('/timed 5 /afollow off')
        mq.cmd('/nav stop')
        mq.cmd('/target clear')
        mq.delay(100)
        mq.cmd('/nav locxyz 1222.67 -48.97 236.41')
        mq.delay(15000)
        mq.cmdf('/%s mode 2', my_class)
        mq.cmd('/mqp off')
        mq.cmd('/twist on')
    end
end
return {eventfunc=event_handler}
 
Hey guys I took aquietone Lua and changed the location and the saying. Want to ask if that is correct so far? If it is then I will put in my own location. Also for how long is the toon going to stay at that location and will he return on his own or I would need to call him over. Please feel free to give me as much feedback as possible. Thanks



#*#The Demonstrated Depletion begins to glow slightly, drawing a little energy from every living thing in the cave#*#



Code:
local mq = require('mq')
local function event_handler(line, target)
    if not mq.TLO.Zone.ShortName() == 'deepshadetwo_raid' then return end
    local my_class = mq.TLO.Me.Class.ShortName()
    local i_am_ma = mq.TLO.Group.Member(0).MainAssist()
    local my_name = mq.TLO.Me.CleanName()
    local ma_name = mq.TLO.Group.MainAssist.CleanName()
    if not i_am_ma and (target == my_name or target == ma_name) then
        if my_class == 'BER' and mq.TLO.Me.ActiveDisc.Name() == mq.TLO.Spell('Frenzied Resolve Discipline').RankName() then
            mq.cmd('/stopdisc')
        end
        mq.cmdf('/%s mode 0', my_class)
        mq.cmd('/mqp on')
        mq.cmd('/twist off')
        mq.cmd('/timed 5 /afollow off')
        mq.cmd('/nav stop')
        mq.cmd('/target clear')
        mq.delay(100)
        mq.cmd('/nav locxyz 1222.67 -48.97 236.41')
        mq.delay(15000)
        mq.cmdf('/%s mode 2', my_class)
        mq.cmd('/mqp off')
        mq.cmd('/twist on')
    end
end
return {eventfunc=event_handler}

#*#The Demonstrated Depletion begins to glow slightly, drawing a little energy from every living thing in the cave#*#
Unless I'm mistaken here, you are not calling out a toon. What are you trying to accomplish with this pattern?

TLO.Zone.ShortName() == 'deepshadetwo_raid
This would require you to be in the Deepshade raid instance

mq.cmd('/nav locxyz 1222.67 -48.97 236.41')
This is the loc it will nav to

mq.delay(15000)
This is the how long of a delay before unpausing - 15 seconds

I'm pretty familiar with the Spirit Fades raid so maybe if you could explain what you are trying to get the toon(s) to do and what pattern/emote you are trying to get them to react to, we could offer more assistance. I'm no expert but the details of what yours are doing and what mode they are can depend on how you want to setup the Lua. For example, this one changes toons running cwtn plugins to mode 2 (chaseassist) at the end;

mq.cmdf('/%s mode 2', my_class)
Is this your desired outcome?
 
Unless I'm mistaken here, you are not calling out a toon. What are you trying to accomplish with this pattern?


This would require you to be in the Deepshade raid instance


This is the loc it will nav to


This is the how long of a delay before unpausing - 15 seconds

I'm pretty familiar with the Spirit Fades raid so maybe if you could explain what you are trying to get the toon(s) to do and what pattern/emote you are trying to get them to react to, we could offer more assistance. I'm no expert but the details of what yours are doing and what mode they are can depend on how you want to setup the lua. For example, this one changes toons running cwtn plugins to mode 2 (chaseassist) at the end;


Is this your desired outcome?
Thank for getting back to me.

So the pattern pops up and everyone needs to run away except for tank. Or they will be hit with this AoE . This pattern pops up but its for everyone not 1 person,


Yes thank you that is exactly what I needed deepshade raid.


Location I will fix later on but thank you for clearing that,

So when u fight Demonstrated Depletion you get that AoE every few second or so when everyone needs to get away except for tank. After it goes by which take maybe 12 to 20 seconds after that pattern goes off the toons can return safely, See I am looking at this still as if am raiding with at least another 12 people. If you think I should approach it differently since I am alone boxing this , please I would love to know what u think. After this my plan was to spawn the Weakness Evinced and fight him in that littile tunnel whole not so far from Grakaw and then for the finally fight the Manifest Lethargy already .
 
Thank for getting back to me.

So the pattern pops up and everyone needs to run away except for tank. Or they will be hit with this AoE . This pattern pops up but its for everyone not 1 person,


Yes thank you that is exactly what I needed deepshade raid.


Location I will fix later on but thank you for clearing that,

So when u fight Demonstrated Depletion you get that AoE every few second or so when everyone needs to get away except for tank. After it goes by which take maybe 12 to 20 seconds after that pattern goes off the toons can return safely, See I am looking at this still as if am raiding with at least another 12 people. If you think I should approach it differently since I am alone boxing this , please I would love to know what u think. After this my plan was to spawn the Weakness Evinced and fight him in that littile tunnel whole not so far from Grakaw and then for the finally fight the Manifest Lethargy already .
I think I get your goal here, though I am not sure a Lua is the best/easiest course of action here due to the variables/randomness of where the seething energies path, the very limited time you have to move to avoid deaths, and the fact it does call lots of names each time the emote occurs. The seething energies radiate from the toons names that are called out so using that pattern could be problematic since they may be mid-run when the actual energies spawn.

I normally tank Demonstrated depletion in the entry of the cave to start.

You will want to make 3 WP's in nav. One for the cave entrance, one to go far east and one to go just north of the far east location. Call them whatever you like, i.e. cave, wpeast, wpnorth, etc. You will also want all toons on chase assist and have switchwith MA on. I then make 3 hotkeys that include the first line for all toons in my raid to target my main toon (usually RA1 which stops combat) and the next line is /nav wp <name>. This makes all the toons stop fighting and then follow me to the desired WP. If you start in the cave, you will first nav to the east WP, then sometimes to the north one if the seething energies are getting too close. The energies should fade until the next call out where you would use the hotkey to nav back to the cave entrance. Simple, easy peasy without a Lua.

For weakness evidenced, simply put every toon on Grakaw's back and tank him there. I rarely take a death that way. That emote tells you the toon name and where they should NOT be to avoid the depletions. Occasionally they pop on Grakaws back, but we deal with it =) Hope that helps or maybe some else has a better/easier method
 
I think I get your goal here, though I am not sure a lua is the best/easiest course of action here due to the variables/randomness of where the seething energies path, the very limited time you have to move to avoid deaths, and the fact it does call lots of names each time the emote occurs. The seething energies radiate from the toons names that are called out so using that pattern could be problematic since they may be mid-run when the actual energies spawn.

I normally tank Demonstrated depletion in the entry of the cave to start.

You will want to make 3 WP's in nav. One for the cave entrance, one to go far east and one to go just north of the far east location. Call them whatever you like, i.e. cave, wpeast, wpnorth, etc. You will also want all toons on chase assist and have switchwith MA on. I then make 3 hotkeys that include the first line for all toons in my raid to target my main toon (usually RA1 which stops combat) and the next line is /nav wp <name>. This makes all the toons stop fighting and then follow me to the desired WP. If you start in the cave, you will first nav to the east WP, then sometimes to the north one if the seething energies are getting too close. The energies should fade until the next call out where you would use the hotkey to nav back to the cave entrance. Simple, easy peasy without a lua.

For weakness evidenced, simply put every toon on Grakaw's back and tank him there. I rarely take a death that way. That emote tells you the toon name and where they should NOT be to avoid the depletions. Occasionally they pop on Grakaws back, but we deal with it =) Hope that helps or maybe some else has a better/easier meth`
Thank you that does help a lot. I just want to clear one thing. Say when you move to Wpeast from cave ? does the Tank come as well or he always stays there? Thank you for the input this does he;[p a lot and I think also it gives me more control over the event,
 
Thank you that does help a lot. I just want to clear one thing. Say when you move to Wpeast from cave ? does the Tank come as well or he always stays there? Thank you for the input this does he;[p a lot and I think also it gives me more control over the event,
Tank moves as well. The entire raid party moves so you don't have to guess which names were called in the plethora of green on your screen. Tank is MA/MT/RA1. Hotkey should make him and the rest of the party;

run discover GIF
 
Tank moves as well. The entire raid party moves so you don't have to guess which names were called in the plethora of green on your screen. Tank is MA/MT/RA1. Hotkey should make him and the rest of the party;

run discover GIF
Sorry one more question when that pattern is emoted that is the trigger for you to move or you wait a little? Someone told me to move 10 seconds after emote.
 
Sorry one more question when that pattern is emoted that is the trigger for you to move or you wait a little? Someone told me to move 10 seconds after emote.
The moment you see the plethora of green name, move!!!! If you wait even one second, toons will die
 
I don't really have anything to contribute to your request, but good god man, that title length. Please consider revising your titles in the future to be more reader / search friendly. :(
 
Question - Trying to change someone Lua to fit my, can someone plz take a look and just lmk if I got the idea right

Users who are viewing this thread

Back
Top
Cart