• 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 - KA error help. How do I decode this?

Joined
Feb 14, 2022
RedCents
961¢
How do I figure out where this error is?

1708037959840.png

[2024/02/15 14:54:50] COMBAT-032 L:1493 T:78 CombatCast 0:command:/stopdisc|98|Cond21 1:command:/stopdisc 2:98 3:Cond21 4: 5: 6:100 7:61 8:0 9:100
[2024/02/15 14:54:50] COMBAT-032 L:1510 T:78 CombatCast DPSTarget: 1190 a_jopal_soldier02 End: 0 61 Start: 100 Target: 1190 Timer: 0 DPSOn: 2
[2024/02/15 14:54:50] Unmatched bracket or invalid character following bracket found in index: ''
[2024/02/15 14:54:50] kissassist.mac@2240 (CastWhat(string castWhat,int WhatID,string sentFrom,int CondNumber, int miscFlag)): /if (${If[${Cond[${CondNumber}]},0,1]}) /return CAST_COND_FAILED
[2024/02/15 14:54:50] kissassist.mac@1536 (CombatCast): /call CastWhat "${DPSPart1}" ${DPSTargetID} DPS ${CondNo} 0
[2024/02/15 14:54:50] kissassist.mac@1093 (Combat): /call CombatCast
[2024/02/15 14:54:50] kissassist.mac@524 (CheckForCombat(int SkipCombat, string FromWhere, int WaitTime)): /call Combat
[2024/02/15 14:54:50] kissassist.mac@10519 (Event_GotHit(string Line, string AttackingMob)): /call CheckForCombat 0 Event_GotHit1 0
[2024/02/15 14:54:50] kissassist.mac@2053 (CombatReset(int SFlag, string CalledFrom)): /doevents
[2024/02/15 14:54:50] kissassist.mac@1095 (Combat): /call CombatReset 0 combat
[2024/02/15 14:54:50] kissassist.mac@524 (CheckForCombat(int SkipCombat, string FromWhere, int WaitTime)): /call Combat
[2024/02/15 14:54:50] kissassist.mac@438 (Main): /call CheckForCombat 0 MainLoop2 200
[2024/02/15 14:54:50] COMBAT-032 L:1537 T:78 CombatCast MacroReturn: CAST_COND_FAILED
[2024/02/15 14:54:50] COMBAT-032 L:1606 T:78 CombatCast command:/stopdisc CAST_COND_FAILED DPSTimer24 0
 
yes, the condition having the unmatched bracket in the INI is what I was referring to.
There are only 356 lines in my ini. Here is the conditions.... I know I messed something up some place...

INI:
[KConditions]
ConOn=1
CondSize=37
;Bandolier Settings
Cond1=(${Me.XTarget}> 2 && !${InvSlot[14].Item.Type.Equal[Shield]}) && (!${Me.Song[Flash of Anger].ID} || ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]})
Cond2=(${Me.XTarget}< 3 && ${InvSlot[14].Item.Type.Equal[Shield]}) || (${Me.Song[Flash of Anger].ID} || ${Me.ActiveDisc.Name.Equal[Fortitude Discipline]})

;Defense Disc
Cond3=!${Me.ActiveDisc.ID} && ${Me.PctHPs} < 70

;Taunt
Cond4=${Target.Named}
Cond5=${Target.Named} && !${Me.CombatAbilityReady[Unconditional Attention]}


;Flash- Maybe adjust to fill in gaps only
Cond6=(${Target.Named} && ${Target.Distance}< 35 && !${Me.Buff[Two-Handed Proficiency].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} || ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]}) || (${Me.XTarget}>4  && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]}) || (${Me.PctHPs} < 20 && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]})

;Fortitude
Cond7=${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ((${Me.XTarget}> 3 || ${Target.Named})) && ${Me.PctHPs} < 30 || (${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.XTarget}> 4)
Cond8=${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ((${Me.XTarget}> 3 || ${Target.Named})) && ${Me.PctHPs} < 30 || (${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.XTarget}> 4)

;First Dmg Mitigation round CoA BP
Cond9=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && ${Me.PctHPs}<55
Cond10=!${Me.Buff[Roaring Shield].ID} && ${Me.Buff[Guardian's Bravery].ID}
Cond11=(${Me.Buff[Guardian's Bravery].ID} || ${Me.Buff[Warlord's Bravery].ID}) && !${Me.Buff[Diplomatic Immunity].ID}

;Second Dmg Mitigation- Warlord's Bravery and Roaring Shield
Cond12=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Guardian's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && ${Me.PctHPs}<50
Cond13=!${Me.Buff[Ecliptic Shield].ID} && ${Me.Buff[Warlord's Bravery].ID}
Cond14=(${Me.Buff[Guardian's Bravery].ID} || ${Me.Buff[Warlord's Bravery].ID}) && !${Me.Song[End of the Line].ID}

;Stand Disc
Cond15=${Me.CombatAbilityReady[${Spell[Climactic Stand].RankName}]} && ${Me.Endurance}>${Spell[Climactic Stand].EnduranceCost} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.PctHPs}<45 && (${Target.Named} || ${Me.XTarget}> 3)
Cond16=!${Me.ActiveDisc.ID} && !${Me.Song[Flash of Anger].ID} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && (${Target.Named} || ${Me.XTarget}> 3)
Cond17=${Me.ActiveDisc.Name.Equal[Climactic Stand]}

;First DPS Phase- Brightfeld's Onslaught Discipline with Vehement Rage- Plus extra healing
Cond18=${Me.CombatAbilityReady[${Spell[Brightfeld's Onslaught Discipline].RankName}]} && ${Me.AltAbilityReady[Vehement Rage]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond19=${Me.CombatAbilityReady[${Spell[Brightfeld's Onslaught Discipline].RankName}]} && ${Me.AltAbilityReady[Vehement Rage]} && !${Me.ActiveDisc.ID} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond20=${Me.ActiveDisc.Name.Equal[Brightfeld's Onslaught Discipline]}


;Second DPS Phase
Cond21=${Me.CombatAbilityReady[${Spell[FellStrike Discipline].RankName}]} && ${Me.AltAbilityReady[Wars Sheol's Heroic Blade]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond22=${Me.CombatAbilityReady[${Spell[FellStrike Discipline].RankName}]} && ${Me.AltAbilityReady[Wars Sheol's Heroic Blade]} && !${Me.ActiveDisc.ID} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond23=${Me.ActiveDisc.Name.Equal[FellStrike Discipline]}


;General Conditions
Cond24=${Target.PctHPs} < 50
Cond25=${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && !${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Brightfeld's Onslaught Discipline]} && ${Me.PctHPs}<60
Cond26=!${Me.Song[Blade Guardian].ID}
Cond27=!${Me.Song[Battle Leap Warcry].ID}
Cond28=!${Me.Buff[Auspice of the Hunter].ID} && !${Me.Aura[Circle of Powmer].ID}
Cond29=${Me.PctHPs} < 80 && !${Me.Song[Grace of Unity].ID}
Cond30=${Me.PctHPs} < 70 && !${Me.Song[Blessing of Unity].ID}
Cond31=${Me.XTarget}> 2 && ${Target.Distance}<30
Cond32=!${Me.AltAbilityReady[Glyph of Dragon Scales (100+)]} && ${AltAbility[Glyph of Dragon Scales (100+)].CanTrain} && ${Me.AAPoints}>39
Cond33=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]}
Cond34=${Target.PctHPs} < 21
Cond35=!${Me.Buff[Illusion Benefit Greater Jann].ID}
Cond36=${Me.XTarget}>2 && ${Me.CombatAbilityReady[${Spell[Wade into Conflict].RankName}]}
Cond37=${Target.Named} && ${Target.Level}> 120 && ${Me.AltAbilityReady[Glyph of Dragon Scales (100+)]}
 
Last edited by a moderator:
you have 10 open brackets, and only close them 9 times.. like here Equal[Vigorous Defense}&& ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
 
yes, the condition having the unmatched bracket in the INI is what I was referring to.
Found it! Had to download a coding notepad to find it on cond21:

Cond21=${Me.CombatAbilityReady[${Spell[FellStrike Discipline].RankName}]} && ${Me.AltAbilityReady[Wars Sheol's Heroic Blade]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense ] } && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
 
Thanks! Using notepad isn't the best coding tool....
I went to the ini line it called the error to, counted all brackets open and closed.. came 1 short of closing.. then counted by type and found ] missing~ no fancy editing tool needed.. it told you what was missing~
 
There are only 356 lines in my ini. Here is the conditions.... I know I messed something up some place...

[KConditions]
ConOn=1
CondSize=37
;Bandolier Settings
Cond1=(${Me.XTarget}> 2 && !${InvSlot[14].Item.Type.Equal[Shield]}) && (!${Me.Song[Flash of Anger].ID} || ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]})
Cond2=(${Me.XTarget}< 3 && ${InvSlot[14].Item.Type.Equal[Shield]}) || (${Me.Song[Flash of Anger].ID} || ${Me.ActiveDisc.Name.Equal[Fortitude Discipline]})

;Defense Disc
Cond3=!${Me.ActiveDisc.ID} && ${Me.PctHPs} < 70

;Taunt
Cond4=${Target.Named}
Cond5=${Target.Named} && !${Me.CombatAbilityReady[Unconditional Attention]}


;Flash- Maybe adjust to fill in gaps only
Cond6=(${Target.Named} && ${Target.Distance}< 35 && !${Me.Buff[Two-Handed Proficiency].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} || ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]}) || (${Me.XTarget}>4 && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]}) || (${Me.PctHPs} < 20 && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]})

;Fortitude
Cond7=${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ((${Me.XTarget}> 3 || ${Target.Named})) && ${Me.PctHPs} < 30 || (${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.XTarget}> 4)
Cond8=${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ((${Me.XTarget}> 3 || ${Target.Named})) && ${Me.PctHPs} < 30 || (${Me.CombatAbilityReady[${Spell[Fortitude Discipline].RankName}]} && ${Me.XTarget}> 4)

;First Dmg Mitigation round CoA BP
Cond9=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && ${Me.PctHPs}<55
Cond10=!${Me.Buff[Roaring Shield].ID} && ${Me.Buff[Guardian's Bravery].ID}
Cond11=(${Me.Buff[Guardian's Bravery].ID} || ${Me.Buff[Warlord's Bravery].ID}) && !${Me.Buff[Diplomatic Immunity].ID}

;Second Dmg Mitigation- Warlord's Bravery and Roaring Shield
Cond12=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Guardian's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && ${Me.PctHPs}<50
Cond13=!${Me.Buff[Ecliptic Shield].ID} && ${Me.Buff[Warlord's Bravery].ID}
Cond14=(${Me.Buff[Guardian's Bravery].ID} || ${Me.Buff[Warlord's Bravery].ID}) && !${Me.Song[End of the Line].ID}

;Stand Disc
Cond15=${Me.CombatAbilityReady[${Spell[Climactic Stand].RankName}]} && ${Me.Endurance}>${Spell[Climactic Stand].EnduranceCost} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.PctHPs}<45 && (${Target.Named} || ${Me.XTarget}> 3)
Cond16=!${Me.ActiveDisc.ID} && !${Me.Song[Flash of Anger].ID} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && (${Target.Named} || ${Me.XTarget}> 3)
Cond17=${Me.ActiveDisc.Name.Equal[Climactic Stand]}

;First DPS Phase- Brightfeld's Onslaught Discipline with Vehement Rage- Plus extra healing
Cond18=${Me.CombatAbilityReady[${Spell[Brightfeld's Onslaught Discipline].RankName}]} && ${Me.AltAbilityReady[Vehement Rage]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense]} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond19=${Me.CombatAbilityReady[${Spell[Brightfeld's Onslaught Discipline].RankName}]} && ${Me.AltAbilityReady[Vehement Rage]} && !${Me.ActiveDisc.ID} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond20=${Me.ActiveDisc.Name.Equal[Brightfeld's Onslaught Discipline]}


;Second DPS Phase
Cond21=${Me.CombatAbilityReady[${Spell[FellStrike Discipline].RankName}]} && ${Me.AltAbilityReady[Wars Sheol's Heroic Blade]} && ${Me.ActiveDisc.Name.Equal[Vigorous Defense} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond22=${Me.CombatAbilityReady[${Spell[FellStrike Discipline].RankName}]} && ${Me.AltAbilityReady[Wars Sheol's Heroic Blade]} && !${Me.ActiveDisc.ID} && ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Cond23=${Me.ActiveDisc.Name.Equal[FellStrike Discipline]}


;General Conditions
Cond24=${Target.PctHPs} < 50
Cond25=${Me.ActiveDisc.Name.NotEqual[Climactic Stand]} && !${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]} && !${Me.Buff[Guardian's Bravery].ID} && !${Me.Buff[Warlord's Bravery].ID} && ${Me.ActiveDisc.Name.NotEqual[Brightfeld's Onslaught Discipline]} && ${Me.PctHPs}<60
Cond26=!${Me.Song[Blade Guardian].ID}
Cond27=!${Me.Song[Battle Leap Warcry].ID}
Cond28=!${Me.Buff[Auspice of the Hunter].ID} && !${Me.Aura[Circle of Powmer].ID}
Cond29=${Me.PctHPs} < 80 && !${Me.Song[Grace of Unity].ID}
Cond30=${Me.PctHPs} < 70 && !${Me.Song[Blessing of Unity].ID}
Cond31=${Me.XTarget}> 2 && ${Target.Distance}<30
Cond32=!${Me.AltAbilityReady[Glyph of Dragon Scales (100+)]} && ${AltAbility[Glyph of Dragon Scales (100+)].CanTrain} && ${Me.AAPoints}>39
Cond33=!${Me.Song[Flash of Anger].ID} && ${Me.ActiveDisc.Name.NotEqual[Fortitude Discipline]}
Cond34=${Target.PctHPs} < 21
Cond35=!${Me.Buff[Illusion Benefit Greater Jann].ID}
Cond36=${Me.XTarget}>2 && ${Me.CombatAbilityReady[${Spell[Wade into Conflict].RankName}]}
Cond37=${Target.Named} && ${Target.Level}> 120 && ${Me.AltAbilityReady[Glyph of Dragon Scales (100+)]}
VScode would be your friend here as well
 
you have 10 open brackets, and only close them 9 times.. like here Equal[Vigorous Defense}&& ${Me.PctHPs} > 90 && ${Me.XTarget}< 3
Since we are on this.... I have this one too. It doesn't seem cause any issue, just not sure what is causing it.

1708040702213.png

This is character 11298 in the ini ClickBacktoCamp=0
 
You have 12 |Mash counts and KA only allows 10 I believe. Comment out 2 and run it again and tell me if it works.
 
Question - KA error help. How do I decode this?

Users who are viewing this thread

Back
Top
Cart