• 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 - Off-tanking in KA or CWTN plug-ins?

Joined
Feb 14, 2022
RedCents
961¢
In mez immune situations it would be great for one of my other toons pet to pick up target 2 and the next pet pick up target 3, etc. or just general off tanking with a bard/etc.

Been playing a lot in CoV and my tank really can’t handle 3+ adds. I’m guessing he will get there but isn’t there yet. Mez immune is a PIA.
 
You could do this with a hot key. Like 1st line xtar2 next line sic tank. Done. Then another to put back on mode 2 chase assist once it's over.
 
You could do this with a hot key. Like 1st line xtar2 next line sic tank. Done. Then another to put back on mode 2 chase assist once it's over.
That’s a really good idea to keep me from clicking frantically. Thanks.

Hoping for more of an automated solution. Could probably create a Lua/LEM to trigger on xtar 2 and xtar 3. Would be really custom, but thats ok.
 
If you can use a melee character you should be able to use the /switchnow command. We added a lock on flag a while back. /switchnow would normally be used to have your whole group switch, but you can send the /switchnow command to a single group member. Will need to create a hot key to send the command. Something like this.

/bct OffTankCharacterName //switchnow 1 MobID
or
/dex OffTankCharacterName /switchnow 1 MobID

ModID could be your ${Me.XTarget[2].ID}

/bct OffTankCharacterName //switchnow 1 ${Me.XTarget[2].ID}
or
/dex OffTankCharacterName /switchnow 1 ${Me.XTarget[2].ID}

I think that should work.
 
If you can use a melee character you should be able to use the /switchnow command. We added a lock on flag a while back. /switchnow would normally be used to have your whole group switch, but you can send the /switchnow command to a single group member. Will need to create a hot key to send the command. Something like this.

/bct OffTankCharacterName //switchnow 1 MobID
or
/dex OffTankCharacterName /switchnow 1 MobID

ModID could be your ${Me.XTarget[2].ID}

/bct OffTankCharacterName //switchnow 1 ${Me.XTarget[2].ID}
or
/dex OffTankCharacterName /switchnow 1 ${Me.XTarget[2].ID}

I think that should work.
This is perfect. Quick reference question: I should set up xtar 1 to be MA’s target on all toons right? That way xtar 2 and 3 would always be the mobs that need to be off tanked.

Edit: also need to add a /pet attack and /pet taunt on (need to look up exact command for that). I’m worried that KA will toggle taunt off though…
 
If you can use a melee character you should be able to use the /switchnow command. We added a lock on flag a while back. /switchnow would normally be used to have your whole group switch, but you can send the /switchnow command to a single group member. Will need to create a hot key to send the command. Something like this.

/bct OffTankCharacterName //switchnow 1 MobID
or
/dex OffTankCharacterName /switchnow 1 MobID

ModID could be your ${Me.XTarget[2].ID}

/bct OffTankCharacterName //switchnow 1 ${Me.XTarget[2].ID}
or
/dex OffTankCharacterName /switchnow 1 ${Me.XTarget[2].ID}

I think that should work.
This is great news for me, as my base-team has 3 mages.
As I am not at my PC atm I wonder, if :
/dex OffTankCharacterName /switchnow 1 ${Me.XTarget[2].ID}
would work without errors even when XTarget[2] is empty

The idea for my offtank-button would be, to create one, working no matter how many adds arrived (upto 3) like

/dex OffTankCharacterName1 /switchnow 1 ${Me.XTarget[1].ID}
/dex OffTankCharacterName1 /switchnow 1 ${Me.XTarget[2].ID}
/dex OffTankCharacterName2 /switchnow 1 ${Me.XTarget[1].ID}
/dex OffTankCharacterName2 /switchnow 1 ${Me.XTarget[3].ID}
/dex OffTankCharacterName3 /switchnow 1 ${Me.XTarget[1].ID}
/dex OffTankCharacterName3 /switchnow 1 ${Me.XTarget[4].ID}

where XTarget[1] would be the MT's target.
If "/switchnow 1" is ignored without error when XTarget[n] is empty, the offtanks would stay at XTarget[1] and proceed, if their XTarget[m] (their second command) is no valid target, because there are just 1 or 2 adds.

At the last hero of NoS I fail at the stage, where the red blob starts to produce adds.
With the for me new knowledge of "/switchnow 1" I might have a chance.

Maybe the first line for each Offtank isn't even necessary?
 
Last edited:
This is perfect. Quick reference question: I should set up xtar 1 to be MA’s target on all toons right? That way xtar 2 and 3 would always be the mobs that need to be off tanked.

Edit: also need to add a /pet attack and /pet taunt on (need to look up exact command for that). I’m worried that KA will toggle taunt off though…

No. Kissassist when started, will use your first Xtarget autohater entry and record that for checking if you have aggro or not. Setting the first entry to your MA's target shouldn't hurt anything, but kiss will not use that entry for checking for aggro.
 
if the last param is blank, they will just /assist the MA for their target.
Meaning you don’t need a xtar 1 command right? If there isn’t a xtar 2 or 3 it will just default to /assist MA.

With this info, I could see just adding a DPS command and condition in KA to handle this…
 
This is perfect. Quick reference question: I should set up xtar 1 to be MA’s target on all toons right? That way xtar 2 and 3 would always be the mobs that need to be off tanked.

Edit: also need to add a /pet attack and /pet taunt on (need to look up exact command for that). I’m worried that KA will toggle taunt off though…
As a person who currently uses pet tanks exclusively, I can answer your concern about KA turning off taunt for pets. Inside the .ini file is a line PetTauntOverride=0. Change this to a 1 to allow pets to taunt. Easy peasy.
 
oh great topic...I was going to make a Lua that did this for my raid. There are a number of raids where it gets hectic and overflowing with adds. Sort of an "Oh - Shit we got adds" button

I havent finished this Lua - nor even tested it - i just dont have any play time - but I think there would be some interest in such a Lua.

The idea was the MA presses a button that runs the script - it was going to go through the array of pre-configured offtanks and if a mob is within 60 it will assign a tank.

Anyway - here is the code untested and probably broken - so if someone wanted a coding project - here it is.


Lua:
--[[adds.lua  BETA v0.2 ]



local mq = require 'mq'



--[[Tank Names in here]]

local MT = "MainTank Name"

local MA = "Main Assist Name"

local OT = {"OffTank1","OffTank2","OffTank3","OffTank4","OffTank5","OffTank6"}

local tank = ""



--[[My Current Location]]

local me_x = mq.TLO.Me.X()

local me_y = mq.TLO.Me.Y()



--Main Loop - assign each tank that is in the OT Table.

--[[Loop through All Tanks.   Ive never used ipairs before - is this correct?  It should return the number of elements in OT.  I could just use 6 but i wanted it to be dynamic]]



for index, tank in ipairs(OT) do



    if index <= TLO.Me.Xtarget() and check_distance(me_x, me_y, mq.TLO.Me.Xtarget(index).X(), mq.TLO.Me.Xtarget(index).Y()) <60 then

            mq.cmd('/dex' , tank ,' /switchnow id ', mq.TLO.Me.Xtarget[index].ID)

    end

end



local function check_distance(x1, y1, x2, y2)

    return math.sqrt((x2 - x1) ^ 2 + (y2 - y1) ^ 2)

end
 
oh great topic...I was going to make a lua that did this for my raid. There are a number of raids where it gets hectic and overflowing with adds. Sort of an "Oh - Shit we got adds" button

I havent finished this lua - nor even tested it - i just dont have any play time - but I think there would be some interest in such a lua.

The idea was the MA presses a button that runs the script - it was going to go through the array of pre-configured offtanks and if a mob is within 60 it will assign a tank.

Anyway - here is the code untested and probably broken - so if someone wanted a coding project - here it is.


Lua:
--[[adds.lua  BETA v0.2 ]



local mq = require 'mq'



--[[Tank Names in here]]

local MT = "MainTank Name"

local MA = "Main Assist Name"

local OT = {"OffTank1","OffTank2","OffTank3","OffTank4","OffTank5","OffTank6"}

local tank = ""



--[[My Current Location]]

local me_x = mq.TLO.Me.X()

local me_y = mq.TLO.Me.Y()



--Main Loop - assign each tank that is in the OT Table.

--[[Loop through All Tanks.   Ive never used ipairs before - is this correct?  It should return the number of elements in OT.  I could just use 6 but i wanted it to be dynamic]]



for index, tank in ipairs(OT) do



    if index <= TLO.Me.Xtarget() and check_distance(me_x, me_y, mq.TLO.Me.Xtarget(index).X(), mq.TLO.Me.Xtarget(index).Y()) <60 then

            mq.cmd('/dex' , tank ,' /switchnow id ', mq.TLO.Me.Xtarget[index].ID)

    end

end



local function check_distance(x1, y1, x2, y2)

    return math.sqrt((x2 - x1) ^ 2 + (y2 - y1) ^ 2)

end
Love that! Is it possible to have a Lua trigger anytime there is 3 or more xtargets?

My programming knowledge is terrible but it gives me some place to start.
 
Anything is possible...but I was just thinking of having a button to run the script. /Lua run adds since you dont always want your tanks to offtank.
Mez the trash and everyone stay on the boss! is a much more common practice.
 
Anything is possible...but I was just thinking of having a button to run the script. /lua run adds since you dont always want your tanks to offtank.
Mez the trash and everyone stay on the boss! is a much more common practice.
My main usage is for non-mezzable adds… hate those spots.
 
Question - Off-tanking in KA or CWTN plug-ins?

Users who are viewing this thread

Back
Top
Cart