• 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 - Bard sitting down to med, turns off TwistMed song (code fix?)

Joined
Mar 9, 2017
RedCents
13,167¢
TLDR: Anybody have a link to the KA code fix that makes Bards ignore the MA sitting down? Somebody had posted it months ago and I can't find link.

When the KA code was updated for the puller to take breaks, like chainpull always did, there was also some code added that if the MA sits = everybody sits.

On bards though, this code turns off all singing so even your TwistMed regen song stops. Also if the bard doesn't need to med, this actually restricts them to 0 or 1 song, instead of their full downtime twist which could be 2-4 regen songs for the group.
 
The way the logic is structured in the med routine, for a bard is as follows:

First check if you have aggro or your medding during combat and turn /twist off. This will allow for Fast med to kick in.
If the first check fails then check if you have TwistMed turned on. This will stop your current /twist and start /twisting TwistMed.
If the first 2 checks fail then start your normal /twist TwistWhat.

The next checks will sit him if he is not on a mount, now does sitting a bard down, stop him from /twisting?
 
EQ mechanics: If a bard sits, he gets to keep singing his one active song. But if he starts another, EQ auto stands to "sing" the next one. This one song can be active and you can med.

Current KA mechanics if the MA sits: So this "MA is sitting" med routine stops twist including the TwistMed, but also seems to stop some other casts like buffs and group mana regen buffs.

My bard will report in MQ2 window:
[MQ2] Casting Tune Stuck in Your Head on me
[MQ2] Medding until Mana 100% 92 20
MQ2Twist Stopping Twist
MQ2Twist Stopping Twist
[MQ2] Casting Dichotomic Psalm on Gandalf for Mana.
MQ2Twist Stopping Twist
[MQ2] Casting Jembel's Lively Crescendo on me.
MQ2Twist Stopping Twist
[MQ2] Casting Dichotomic Psalm on Gandalf for Mana.

In the above example, the bard buffs with Tune Stuck, then sees the MA is sitting and goes into med-mode. However it cancels or doesn't cast TwistMed song. After that it calls for buffs (Dicho for wiz at 13% mana and Jembel's self buff for group regen) but doesn't ever stand to cast either of these if the bard is in "med" mode. So the bard meds with no songs active and no regen buffs for group.

I really only notice this during the "MA is sitting" type med. It may be for all bard meds, but this one happens often and is a time when I want the bard helping with regen instead of sitting.

Mount: I'm not actually sure how this affects twist. Never got a mount for a bard, but that's an interesting solution to getting to keep twisting.

Code:
[General]
KissAssistVer=11.004
Role=Assist
CampRadius=30
CampRadiusExceed=400
ReturnToCamp=1
ChaseAssist=0
ChaseDistance=25
MedOn=1
MedStart=20
MedCombat=0
LootOn=1
RezAcceptOn=1
AcceptInvitesOn=1
GroupWatchOn=0
CastingInterruptOn=0
EQBCOn=1
IRCOn=0
MiscGem=8
MiscGemRemem=1
HoTTOn=0
CampfireOn=0
CharInfo=Bard|110|GOLD
DPSMeter=1
ScatterOn=0
TwistOn=1
TwistMed=5
TwistWhat=5 13 2 4 7
MiscGemLW=0
DefaultUI=TRUE
XTSlot=1

[SpellSet]
LoadSpellSet=2
SpellSetName=CombatSongs

[Buffs]
BuffsOn=1
RebuffOn=1
CheckBuffsTimer=10
PowerSource=NULL
BuffsSize=20

Buffs1=Aura of Begalru|Aura
Buffs2=Jembel's Lively Crescendo
Buffs3=Tune Stuck in Your Head
Buffs4=NULL
Buffs5=Rallying Call|managroup|20|cond8
Buffs6=Rallying Solo|end|15|cond8
Buffs7=Rallying Call|endgroup|10|cond8
Buffs8=Dichotomic Psalm|endgroup|15
Buffs9=Dichotomic Psalm|managroup|35
Buffs10=Pulse of Xigam|managroup|25|cond8
Buffs11=Pulse of Xigam|managroup|45|cond8
Buffs12=NULL
Buffs13=NULL
Buffs14=NULL
Buffs15=NULL
Buffs16=NULL
Buffs17=Selo's Sonata|MA
Buffs18=NULL
Buffs19=Summoned: Glowing Modulation Shard|Mana|80|45
Buffs20=Wand of Pelagic Transvergence|Mana|90|15


[Melee]
AssistAt=99
MeleeOn=1
FaceMobOn=1
MeleeDistance=75
StickHow=loose rear
AutoFireOn=0
UseMQ2Melee=1
MeleeTwistOn=1
MeleeTwistWhat= 4 3 2 7 6 9 13
TargetSwitchingOn=0

[AE]
AEOn=1
AESize=5
AERadius=50
AE1=Fundament: Third Spire of the Minstrel|3
AE2=Dichotomic Psalm|4
AE3=Maestro's Conflagrant Breastplate|6
AE4=NULL
AE5=NULL
AECond1=TRUE
AECond2=TRUE
AECond3=TRUE
AECond4=FALSE
AECond5=FALSE


[DPS]
DPSOn=2
DPSSize=20
DPSSkip=20
DebuffAllOn=1
DPSInterval=2
DPSInterval=5

DPS1=Requiem of Time|99|debuffall|slow

DPS2=command:/activate bandolier DPS|100|cond7
DPS3=Lyrical Prankster|97|Mob
DPS4=Bladed Song|97
DPS5=Fierce Eye|97
DPS6=Cacophony|97|Mob
DPS7=Itimidation|95

DPS8=Maestro's Conflagrant Breastplate|99|cond1
DPS9=Dichotomic Psalm|99|cond2
DPS10=Boastful Bellow|98|Mob|cond3

DPS11=command:/pet qswarm|98|cond7
DPS12=Reflexive Rejoinder|60|Mob
DPS13=Thousand Blades|95|cond4
DPS14=Puretone Discipline|94|cond5
DPS15=NULL
DPS16=NULL
DPS17=Lute of the Gypsy Princess|85|Mob
DPS18=Selo's Sonata|20|me
DPS19=NULL
DPS20=NULL



[Aggro]
AggroOn=0
AggroSize=5
Aggro1=Fading Memories|80|>
Aggro2=Shield of Notes|90|>
Aggro3=Hymn of the Last Stand|95|>
Aggro4=Deftdance Discipline|99|>
Aggro5=NULL
AggroCond1=${Me.PctMana}>50
AggroCond2=TRUE
AggroCond3=TRUE
AggroCond4=TRUE
AggroCond5=FALSE

[Pull]
PullTwistOn=0
PullWith=Sonic Disturbance
MaxRadius=2000
MaxZRange=200
PullWait=5
PullRoleToggle=0
ChainPull=1
ChainPullHP=90
ChainPullPause=60|2
PullLevel=0|0
PullMeleeStick=0
UseWayPointZ=0
PullRadiusToUse=90
PullPause=60|2
PullArcWidth=0

[Mez]
MezOn=1
MezRadius=40
MezMinLevel=95
MezMaxLevel=113
MezStopHPs=90
MezSpell=Slumber of Jembel
MezAESpell=Wave of Somnolence|3
MezDebuffOnResist=0
MezDebuffSpell=Your Debuff Spell

[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=0
HealsSize=5
Heals1=NULL
Heals2=NULL
Heals3=NULL
Heals4=NULL
Heals5=NULL
XTarHeal=0
XTarHeal2=0
HealGroupPetsOn=0
XTarHealList=NULL
HealsCond1=FALSE
HealsCond2=FALSE
HealsCond3=FALSE
HealsCond4=FALSE
HealsCond5=FALSE
AutoRezCond1=TRUE
AutoRezCond2=TRUE
AutoRezCond3=TRUE
[Cures]
CuresOn=0
CuresSize=5
Cures1=NULL
Cures2=NULL
Cures3=NULL
Cures4=NULL
Cures5=NULL

[Burn]
BurnSize=15
BurnText=Nuke the site from orbit
BurnAllNamed=2
UseTribute=0

Burn1=Funeral Dirge|Mob
Burn2=Dichotomic Psalm
Burn3=Quick Time
Burn4=Cacophony|Mob
Burn5=Boastful Bellow|Mob
Burn6=Fundament: Third Spire of the Minstrel
Burn7=Hymn of the Last Stand
Burn8=Shield of Notes
Burn9=Flurry of Notes
Burn10=Frenzied Kicks
Burn11=Song of Stone|Mob
Burn12=NULL
Burn13=Dance of Blades
Burn14=Thousand Blades
Burn15=Minature Horn of Unity



[AFKTools]
AFKHelp=AFKGMAction=0 Off, 1 Pause Macro, 2 End Macro, 3 Unload MQ2, 4 Quit Game
AFKToolsOn=1
AFKGMAction=1
AFKPCRadius=500
CampOnDeath=0
ClickBacktoCamp=0
[GMail]
GMailHelp=Events currently support - Dead,GM,Level,Named,Leftgroup
GMailOn=0
GMailSize=5
GMail1=NULL
GMail2=NULL
GMail3=NULL
GMail4=NULL
GMail5=NULL
[Merc]
Help=To use: Turn off Auto Assist in Manage Mercenary Window
MercOn=0
MercAssistAt=92

[GoM]
GoMCond1=TRUE
GoMCond2=TRUE
GoMCond3=TRUE

[KConditions]
ConOn=1
CondSize=7
Cond1=${Target.Named} && !${Me.Song[${Spell[Dichotomic Psalm of Potential].RankName}].ID}
Cond2=${Target.Named} && !${Me.Song[Masterful Phrygian Root].ID} && !${Me.Song[Masterful Phrygian Third].ID} && !${Me.Song[Masterful Phrygian Fifth].ID} && !${Me.Song[Masterful Phrygian Octave].ID}
Cond3=${Target.Named} && ${Target.BuffsPopulated} && !${Target.Buff[Boastful Bellow].ID}
Cond4=${Target.Named}
Cond5=${Target.Named} && !${Me.CombatAbilityReady[Thousand Blades]}
Cond6=FALSE
Cond7=TRUE
Cond8=${Me.CombatState.NotEqual[Combat]}

[MySpells]
Gem1=Dichotomic Psalm
Gem2=Travenro's Spiteful Lyric
Gem3=Arcane Ballad
Gem4=Aria of Begalru
Gem5=Pulse of Xigam
Gem6=Sathir's Insult
Gem7=Travenro's Song of Suffering
Gem8=Requiem of Time
Gem9=War March of Dekloaz
Gem10=Jembel's Lively Crescendo
Gem11=Slumber of Jembel
Gem12=Aura of Begalru
Gem13=Kluzen's Spry Sonata
 
Last edited:
Yea if the MA is medding(sitting) then it forces everyone to med if their MedStat is below 90% . I see you have TwistMed to 5 so the bard should start twisting that Gem before sitting.

Also, what is in the bards XTarget window when he starts to med? If the bard has aggro or MedCombat turned on he will NOT /twist TwistMed. He will just sit down.

I do see where he goes in and checks if others need mana buffs, but the code is setup to cast the mana spell and then resume twisting.

I am wondering if something changed recently when it comes to twisting while sitting.
 
Nothing on xtarget, he's running default auto-haters and this is usually noticed during group med breaks. I actually have the same issue on two bards, similar ini's but running on their own computers/MQ2 installs. I first noticed it when the MA sits=group meds code was added awhile back, but I see that just triggers a forced med, not different code.

I had the med code open today poking around. I'll see if I can rig some more debug messages in and report back.
 
So this was the fix if you want your bard to ignore the MA sitting and keep doing their downtime regen twist (or med only if the bard's KA ini med settings require it.) Around line 3504 in the DoWeMed sub, adding a filter that skips the MA sitting stuff for bards.
Code:
            /if (!${IAmABard} && (${Group.MainAssist.ID} && ${Group.MainAssist.Sitting}) || (!${Group.Member[${MainAssist}].Index} && ${Spawn[PC ${MainAssist}].Sitting})) {

Beyond that, there is something in the forced med code that is doing "twist off" before any buff songs can fire. When the bard is in med mode, he can refresh his AA stuff like Tune Stuck, but when he does Jembels song I see KA slams in a twist off instantly so the Med song or song buffs shut off before they cast.

Here is a quick log during a forced MA-sitting med test. I had squelch turned off and added Debug after a couple cycles:
Code:
[2019/06/22 08:48:43] MQ2Log :: Logging is ON

[2019/06/22 08:49:00] MQ2Twist::One-shot twisting.

[2019/06/22 08:49:00] MQ2Twist::One-shot twist ended, normal twist will resume next pulse.

[2019/06/22 08:49:01]  10 - Jembel's Lively Crescendo

[2019/06/22 08:49:01] MQ2Twist::Twisting 1 song.

[2019/06/22 08:49:02] <PullerTank>  [08:48:41] PULLING-> Waiting 15 seconds for mobs to respawn.

[2019/06/22 08:49:02] MQ2Twist::Stopping Twist.

[2019/06/22 08:49:03] [MQ2] Casting Jembel's Lively Crescendo on me.

[2019/06/22 08:49:15] MQ2Twist::One-shot twisting.

[2019/06/22 08:49:15] MQ2Twist::One-shot twist ended, normal twist will resume next pulse.

[2019/06/22 08:49:15]  10 - Jembel's Lively Crescendo

[2019/06/22 08:49:15] MQ2Twist::Twisting 1 song.

[2019/06/22 08:49:15] MQ2Twist::Stopping Twist.

[2019/06/22 08:49:18] [MQ2] Casting Jembel's Lively Crescendo on me.

[2019/06/22 08:49:21] <PullerTank>  [08:49:04] PULLING-> Waiting 15 seconds for mobs to respawn.

[2019/06/22 08:49:22] [MQ2] DEBUG L:6725 T:794 Sub:  On 2

[2019/06/22 08:49:22] [MQ2] DEBUG L:6777 T:794 Sub:  Debug on

[2019/06/22 08:49:22] [MQ2] >> Setting: (Debug) to (On)

[2019/06/22 08:49:22] [MQ2] DEBUG L:9960 T:795 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:22] [MQ2] DEBUG L:9982 T:795 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:22] [MQ2] DEBUG L:3565 T:795 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:22] [MQ2] DEBUG L:3561 T:795 Sub:  Mana Mana Endurance

[2019/06/22 08:49:23] [MQ2] DEBUG L:9960 T:796 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:23] [MQ2] DEBUG L:9982 T:796 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:23] [MQ2] DEBUG L:3565 T:796 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:23] [MQ2] DEBUG L:3561 T:796 Sub:  Mana Mana Endurance

[2019/06/22 08:49:24] [MQ2] DEBUG L:9960 T:797 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:24] [MQ2] DEBUG L:9982 T:797 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:24] [MQ2] DEBUG L:3565 T:797 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:24] [MQ2] DEBUG L:3561 T:797 Sub:  Mana Mana Endurance

[2019/06/22 08:49:25] [MQ2] DEBUG L:9960 T:798 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:25] [MQ2] DEBUG L:9982 T:798 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:25] [MQ2] DEBUG L:3565 T:798 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:25] [MQ2] DEBUG L:3561 T:798 Sub:  Mana Mana Endurance

[2019/06/22 08:49:26] [MQ2] DEBUG L:9960 T:799 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:26] [MQ2] DEBUG L:10665 T:799 Sub:  Event_Timer Enter

[2019/06/22 08:49:26] [MQ2] DEBUG L:10682 T:799 Sub:  Event_Timer leave

[2019/06/22 08:49:26] [MQ2] DEBUG L:9982 T:799 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:26] [MQ2] DEBUG L:3565 T:799 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:26] [MQ2] DEBUG L:3561 T:799 Sub:  Mana Mana Endurance

[2019/06/22 08:49:27] [MQ2] DEBUG L:9960 T:800 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:27] [MQ2] DEBUG L:9982 T:800 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:27] [MQ2] DEBUG L:3565 T:800 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:27] [MQ2] DEBUG L:3561 T:800 Sub:  Mana Mana Endurance

[2019/06/22 08:49:28] [MQ2] DEBUG L:9960 T:801 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:28] [MQ2] DEBUG L:9982 T:801 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:28] [MQ2] DEBUG L:3565 T:801 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:28] [MQ2] DEBUG L:3561 T:801 Sub:  Mana Mana Endurance

[2019/06/22 08:49:29] [MQ2] DEBUG L:9960 T:802 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:29] [MQ2] DEBUG L:9982 T:802 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:29] [MQ2] DEBUG L:3565 T:802 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:29] [MQ2] DEBUG L:3561 T:802 Sub:  Mana Mana Endurance

[2019/06/22 08:49:30] [MQ2] DEBUG L:9960 T:803 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:31] MQ2Twist::One-shot twisting.

[2019/06/22 08:49:31] MQ2Twist::One-shot twist ended, normal twist will resume next pulse.

[2019/06/22 08:49:31]  10 - Jembel's Lively Crescendo

[2019/06/22 08:49:31] MQ2Twist::Twisting 1 song.

[2019/06/22 08:49:31] MQ2Twist::Stopping Twist.

[2019/06/22 08:49:34] [MQ2] Casting Jembel's Lively Crescendo on me.

[2019/06/22 08:49:36] [MQ2] DEBUG L:9982 T:808 Sub:  DEBUG WaitSubs Leave

[2019/06/22 08:49:36] [MQ2] DEBUG L:3565 T:808 Sub:  MedCombat 20741 1 0 Auto Hater

[2019/06/22 08:49:36] [MQ2] DEBUG L:3561 T:808 Sub:  Mana Mana Endurance

[2019/06/22 08:49:37] [MQ2] DEBUG L:9960 T:809 Sub:  DEBUG WaitSubs Enter

[2019/06/22 08:49:37] [MQ2] DEBUG L:11799 T:809 Sub:  WriteBuffs:
 
Last edited:
That change forces the Bard to totally ignore the med for Mana section of the DoWeMed routine. You might as well just add a line of code at the top of the routine. /if (${IAmABard}) /return
 
Where specifically do I put this code? In my bard Ka.ini if where? Thank you.
 
Question - Bard sitting down to med, turns off TwistMed song (code fix?)

Users who are viewing this thread

Back
Top
Cart