• 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

Problem - Bool me once

Joined
Jun 2, 2016
RedCents
557¢
Had to leave comp, but saw this before I left...

Warning: Undefined Variable BOOL(Target used on line [email protected] /varset CuretoCast
Macro Paused

Will update when I can
 
I looked at the code.

Rich (BB code):
        /declare CuretoCast string local         /declare CTID int local
        /for i 1 to ${Cures.Size}
            /if (!${Cures[${i}].Length}) /goto :NextCure
            /for j 1 to ${IniIDCount}
                /varset CuretoCast

is the code in question. at 8397. I believe that varset should just be clearing the string for the next check to avoid a chain cast of the same cure when no CureToCast is found in the /if () { } else { statment.

Best I can tell this is not something in the code but likely an INI setting. You would want to check the cures section ${Cures[${i}] would likely be something like Cure1, Cure2, etc. for text "BOOL". Note, if the Cure# has no text then it will skip that Cure# in the loop according to
Rich (BB code):
 /if (!${Cures[${i}].Length}) /goto :NextCure

You can check your INI for the Cures section or redact any character names and post it.

Note: I don't work on KA, I just read code. So I could be incorrect. But based on what I see this is probably an INI setting.
 
Removed the cure from ini and that worked, but now I'm getting a new BOOL error. I check the mq2melee ini but there are no "BOOL" is there another file I should check?

Here is the ini:
Rich (BB code):
[General]
KissAssistVer=10.2.2
Role=Pullertank
CampRadius=20
CampRadiusExceed=500
ReturnToCamp=1
ChaseAssist=0
ChaseDistance=10
MedOn=1
MedStart=10
MedEnd=35
MedCombat=0
LootOn=1
RezAcceptOn=1
AcceptInvitesOn=1
GroupWatchOn=0
CastingInterruptOn=0
EQBCOn=1
IRCOn=1
MiscGem=12
HoTTOn=0
CampfireOn=1
CharInfo=Shadow Knight|105
DPSMeter=1
MiscGemRemem=1
ScatterOn=0
MiscGemLW=0
DefaultUI=TRUE
ConditionsOn=0
[SpellSet]
LoadSpellSet=1
SpellSetName=Combat
[Buffs]
BuffsOn=1
Buffs1=Harmonious Disruption
Buffs2=NULL
Buffs3=Voice of Thule|MA
Buffs4=Remorseless Demeanor
Buffs5=Drape of the Wrathforged
Buffs6=Shroud of the Doomscale
Buffs7=Vizat's Skin
Buffs8=Zombie Skin
Buffs9=Huntsman's Ethereal Quiver|Summon|Ethereal Arrow|200
Buffs10=NULL
Buffs11=Staunch Stance
Buffs12=NULL
Buffs13=NULL
Buffs14=NULL
Buffs15=NULL
Buffs16=NULL
Buffs17=NULL
Buffs18=NULL
Buffs19=NULL
Buffs20=NULL
RebuffOn=1
CheckBuffsTimer=20
PowerSource=NULL
BuffsSize=20
BuffsCOn=0
[Melee]
AssistAt=100
MeleeOn=1
FaceMobOn=1
MeleeDistance=65
StickHow=snaproll
AutoFireOn=0
UseMQ2Melee=1
[GoM]
GoMSHelp=Format - Spell|Target, MA Me or Mob, i.e. Rampaging Servant Rk. II|Mob
GoMSpell1=Thought Leech|mob
GoMSpell2=Dichotomic Fang|mob
GoMSpell3=NULL
GoMSize=3
GoMCOn=0
[GMail]
GMailHelp=Events currently support - Dead,GM,Level,Named,Leftgroup
GMailOn=0
GMail1=NULL
GMail2=NULL
GMail3=NULL
GMail4=NULL
GMail5=NULL
GMailSize=5
[AE]
AEOn=1
AERadius=50
AE1=Explosion of Spite|2|Mob
AE2=Shield Flash|2
AE3=Visage of Death|3
AE4=Doomscale Mantle|2
AE5=NULL
AE6=Scourge Skin|2
AE7=Vizat's Carapace|3
AE8=NULL
AE9=NULL
AE10=NULL
AESize=10
AECOn=0
[DPS]
DPSOn=1
DPSSkip=1
DPSInterval=0
DPS1=Vicious Bite of Chaos|63
DPS2=Blood of Bonemaw|90
DPS3=Deceitful Blight|95
DPS4=Touch of Holmein|80
DPS5=NULL
DPS6=Spear of Vizat|90
DPS7=Carmine Blade|80
DPS8=NULL
DPS9=Thought Leech|80
DPS10=Harmonious Disruption|90
DPS11=NULL
DPS12=NULL
DPS13=NULL
DPS14=NULL
DPS15=NULL
DPS16=NULL
DPS17=NULL
DPS18=NULL
DPS19=NULL
DPS20=NULL
DebuffAllOn=0
DPSSize=20
DPSCOn=0
[Aggro]
AggroOn=1
Aggro1=Mindless Hatred|99|<
Aggro2=Hate's Attraction|90|<
Aggro3=NULL
Aggro4=Ageless Enmity|97|<
Aggro5=Impose for Power|90|<
Aggro6=NULL
Aggro7=NULL
Aggro8=NULL
Aggro9=NULL
Aggro10=NULL
AggroSize=10
[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=1
Heals1=Dire Declaration|70|TAP
Heals2=Touch of Holmein|60|TAP
Heals3=Dichotomic Fang|55|TAP
Heals4=Leech Touch|35|TAP
Heals5=NULL
XTarHeal=0
XTarHeal2=0
HealGroupPetsOn=0
HealsSize=5
HealsCOn=0
[Cures]
CuresOn=1
Cures1=NULL
Cures2=NULL
Cures3=NULL
Cures4=NULL
Cures5=NULL
CuresSize=5
[Pet]
PetOn=0
PetSpell=Minion of Vizat
PetShrinkOn=0
PetShrinkSpell=Tiny Companion
PetBuffsOn=1
PetBuffs1=Gift of Lutzen
PetBuffs2=NULL
PetBuffs3=NULL
PetBuffs4=NULL
PetBuffs5=NULL
PetBuffs6=NULL
PetBuffs7=NULL
PetBuffs8=NULL
PetCombatOn=1
PetBreakMezSpell=NULL
PetRampPullWait=1
PetSuspend=0
MoveWhenHit=0
PetHoldOn=1
PetToysGave=
PetForceHealOnMed=0
PetBuffsSize=8
PetToysSize=6
PetAssistAt=90
[Burn]
BurnText=Decepticons Attack
BurnAllNamed=1
Burn1=Fundament: Third Spire of the Reavers
Burn2=Visage of Death
Burn3=NULL
Burn4=TVyl's Resolve
Burn5=Carmine Blade Discipline
Burn6=Harm Touch
Burn7=Chattering Bones
Burn8=Doomscale Mantle Discipline
Burn9=NULL
Burn10=NULL
Burn11=NULL
Burn12=NULL
Burn13=NULL
Burn14=NULL
Burn15=NULL
UseTribute=1
BurnSize=15
BurnCOn=0
[Pull]
PullWith=Fused Coral Bow|Ethereal Arrow
MaxRadius=750
MaxZRange=150
PullWait=0
PullRoleToggle=0
ChainPull=1
ChainPullHP=90
ChainPullPause=30|2
PullLevel=0|0
PullMeleeStick=0
UseWayPointZ=0
PullRadiusToUse=90
[AFKTools]
AFKHelp=AFKGMAction=0 Off, 1 Pause Macro, 2 End Macro, 3 Unload MQ2, 4 Quit Game
AFKToolsOn=1
AFKGMAction=4
AFKPCRadius=350
CampOnDeath=0
ClickBacktoCamp=1
[Merc]
Help=To use: Turn off Auto Assist in Manage Mercenary Window
MercOn=1
MercAssistAt=99
[pillarsalra]
MobsToIgnore=a verdant sprite,a spirited essence

And the new error:
Warning: Undefined Variable BOOL(Target used on line [email protected] /if (${DebugHeal}) /echo \amDEBUGHEALS WriteDebuffs Leave \agLine#: ${Macro.CurLine}
 
Check your holyshit/downshit's as well.

I had a similar issue from a plugin that was relaying to the macro as an undeclared variable in MQ2Melee.

To check that it is a plugin and not the macro you can run any other macro and wait for the error to occur.

The reason it is popping up is because of the #warning at the top of the code in KA.

You'll find it shortly before Sub Main assuming it's not located in an include. If you comment out that #warning or delete the #warning it will keep the macro from locking up on you.

If you'd like to assist in tracking down the issue you can run any other macro for a period of time with #warning in the code until it produces the problem.

Relavent information that you may already have access to is your plugin list. You can access it using your characters INI in the primary Macroquest2 directory "release" as it shows in mine using default settings. Also, what you were doing at the time it occurred if you know. Using plugin commands that output information may cause it. Such as the issue I ran into with MQ2Melee whenever I typed /melee while using a macro.

There will be a plugin list with an 0/1 next to it to indicate on or off.

Alternately doing /plugin list and getting it from in game but no easy way to copy/paste it.

The list could be compared to plugin's that you are using now that you were using before the new compile and then to ones that were changed in the recent update to hopefully narrow the list down.

Hope some of this information helps.
 
Check your holyshit/downshit's as well.

I had a similar issue from a plugin that was relaying to the macro as an undeclared variable in MQ2Melee.

To check that it is a plugin and not the macro you can run any other macro and wait for the error to occur.

The reason it is popping up is because of the #warning at the top of the code in KA.

You'll find it shortly before Sub Main assuming it's not located in an include. If you comment out that #warning or delete the #warning it will keep the macro from locking up on you.

If you'd like to assist in tracking down the issue you can run any other macro for a period of time with #warning in the code until it produces the problem.

Relavent information that you may already have access to is your plugin list. You can access it using your characters INI in the primary Macroquest2 directory "release" as it shows in mine using default settings. Also, what you were doing at the time it occurred if you know. Using plugin commands that output information may cause it. Such as the issue I ran into with MQ2Melee whenever I typed /melee while using a macro.

There will be a plugin list with an 0/1 next to it to indicate on or off.

Alternately doing /plugin list and getting it from in game but no easy way to copy/paste it.

The list could be compared to plugin's that you are using now that you were using before the new compile and then to ones that were changed in the recent update to hopefully narrow the list down.

Hope some of this information helps.

Checked holys/downs there is a bool but not BOOL. Looking through plugins now. I'll see what I can find!

- - - Updated - - -

It's definitely mq2melee

SK's gblade is messing it up, can't /melee gblade off either. trying to work it out

Also removed some disc that no longer exist, that helped.
 
Last edited:
Post the holys and downs. Deactivating #warning is not a good solution and it will just make your sk suck cause right now it's not doing whatever you want it to be doing thanks to that BOOL bug.

I have seen this one before it might be that the Holy says ${Bool[Target when it should say ${Bool[${Target

And if you didn't mistype above seing a all lowercase bool there that's definitely not going to work, change it to Bool


I find it sad and funny that people have been using these kind of Holy and Downs for years and they have never ever worked, it's just that there was no warning before...
 
I used to keep #warning in all my macros on release and have instead opted to remove it an encourage users to /invoke ${Macro.Undeclared} due to the excessive undefined variables unreleated to the macro they are running which is caused by a holy/down. Sometimes an end user would prefer to just not deal with it and I say they "can" to make the issue go away, but usually with the caveat that it doesn't fix anything, just an out of sight out of mind kind of thing.

With that said, you're right. I probably shouldn't suggest doing that :-P
 
Don't cry for me mule e48bd6c5ebf0f6f6582170188bd3876f--the-simpsons-book-jacket.jpg

Rich (BB code):
[MQ2ViewPort]
VPResize=1
[MQ2Melee]
aggro=1
banestrike=1
bash=1
challengefor=1
disarm=1
downflag0=1
enrage=1
facing=1
feigndeath=0
gblade=0
harmtouch=0
holyflag0=1
holyflag1=1
holyflag10=1
holyflag11=1
holyflag12=1
holyflag13=1
holyflag14=1
holyflag15=1
holyflag16=1
holyflag17=1
holyflag18=1
holyflag19=1
holyflag2=1
holyflag20=1
holyflag21=1
holyflag22=1
holyflag23=1
holyflag24=1
holyflag25=1
holyflag26=1
holyflag27=1
holyflag28=1
holyflag29=1
holyflag3=1
holyflag30=1
holyflag4=1
holyflag5=1
holyflag6=1
holyflag7=1
holyflag8=1
holyflag9=1
infuriate=1
melee=1
petassist=0
petengagehps=98
petrange=75
plugin=0
provoke1=34687
provokeend=20
provokemax=1
provokeonce=0
rallos=0
resume=75
steely=1
stickbreak=1
stickrange=75
taunt=1
withstand=1
downshit0=/if (!${Melee.Combat} && ${Me.CombatAbilityReady[Breather Rk. II]} && ${Me.PctEndurance}<21) /disc Breather Rk. II
holyshit0=/if (${Me.AltAbilityReady[Banestrike]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 15073
holyshit1=/if (${Me.CombatAbilityReady[Repel Rk. II]}) /disc Repel Rk. II
holyshit10=/if (${Melee.Combat} && (${SpawnCount[npc radius 50 zradius 10]}>1 || !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) && ${Me.AltAbilityReady[Veil of Darkness]} && ${Melee.AggroMode}) /alt act 854
holyshit11=/if (${Melee.Combat} && (${SpawnCount[npc radius 50 zradius 10]}>1 || !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) && ${Me.AltAbilityReady[Explosion of Hatred]} && ${Melee.AggroMode}) /alt act 822
holyshit12=/if (${Melee.Combat} && (${SpawnCount[npc radius 50 zradius 10]}>1 || !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) && !${Me.AltAbilityReady[Explosion of Hatred]} && ${Me.AltAbilityReady[Explosion of Spite]} && ${Melee.AggroMode}) /alt act 749
holyshit13=/if (${Melee.Combat} && (${SpawnCount[npc radius 50 zradius 10]}>1 || !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) && !${Me.AltAbilityReady[Explosion of Hatred]} && !${Me.AltAbilityReady[Explosion of Spite]} && ${Me.AltAbilityReady[Stream of Hatred]} && ${Melee.AggroMode}) /alt act 731
holyshit14=/if (${Me.AltAbilityReady[Ageless Enmity]} && ${Melee.AggroMode} && !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) /alt act 10392
holyshit15=/if (${Me.CombatAbilityReady[UnHoly Guardian Discipline Rk. II]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc UnHoly Guardian Discipline Rk. II
holyshit16=/if (!${Me.CombatAbilityReady[UnHoly Guardian Discipline Rk. II]} && ${Me.CombatAbilityReady[Doomscale Mantle Rk. II]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Doomscale Mantle Rk. II
holyshit17=/if (!${Me.CombatAbilityReady[UnHoly Guardian Discipline Rk. II]} && !${Me.CombatAbilityReady[Doomscale Mantle Rk. II]} && ${Me.CombatAbilityReady[Vizat's Carapace Rk. II]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Vizat's Carapace Rk. II
holyshit18=/if (!${Me.CombatAbilityReady[UnHoly Guardian Discipline Rk. II]} && !${Me.CombatAbilityReady[Doomscale Mantle Rk. II]} && !${Me.CombatAbilityReady[Vizat's Carapace Rk. II]} && ${Me.CombatAbilityReady[Deflection Discipline]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Deflection Discipline
holyshit19=/if (${Me.CombatAbilityReady[Lacerating Blade Rk. II]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /disc Lacerating Blade Rk. II
holyshit2=/if (${Me.AltAbilityReady[Vicious Bite of Chaos]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 825
holyshit20=/if (${Me.CombatAbilityReady[Terminal Breath Rk. II]} && ${Me.PctHPs}<5) /disc Terminal Breath Rk. II
holyshit21=/if (${Me.CombatAbilityReady[Unholy Aura Discipline]}) /disc Unholy Aura Discipline
holyshit22=/if (${Me.CombatAbilityReady[LeechCurse Discipline]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Leechcurse Discipline
holyshit23=/if (!${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]} && ${Melee.AggroMode}) /doability Taunt
holyshit24=/if (${Me.CombatAbilityReady[Unflinching Acrimony Rk. II]} && !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]} && ${Melee.AggroMode}) /disc Unflinching Acrimony Rk. II
holyshit25=/if (${Me.CombatAbilityReady[Carmine Blade Rk. II]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Carmine Blade Rk. II
holyshit26=/if (${Me.CombatAbilityReady[Spite of Ronak Rk. II]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Spite of Ronak Rk. II
holyshit27=/if (${Me.AltAbilityReady[Projection of Doom]} && ${Melee.AggroMode} && !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) /alt act 3215
holyshit28=/if (${Me.AltAbilityReady[Hate's Attraction]} && ${Melee.AggroMode} && !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) /alt act 9400
holyshit29=/if (${Melee.Combat} && (${SpawnCount[npc radius 50 zradius 10]}>1 || !${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) && ${Me.AltAbilityReady[Stream of Hatred]} && ${Melee.AggroMode}) /alt act 731
holyshit3=/if (${Me.AltAbilityReady[Visage of Death]}) /alt act 9403
holyshit30=/if (${Me.CombatAbilityReady[Reflexive Revulsion]} && (${Target.Named} || ${SpawnCount[npc radius 50 zradius 10]}>1) && ${Melee.AggroMode}) /disc Reflexive Revulsion
holyshit4=/if (${Me.AltAbilityReady[Thought Leech]} && ${Me.PctMana}<50 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 651
holyshit5=/if (${Target.Body.Name.Equal[Undead]} && ${Me.AltAbilityReady[2018]} && !${Target.Buff[Helix of the Undying].ID} && !${Target.Buff[Restoring Counterbias Slow II].ID} && !${Target.Buff[Turgur's Swarm].ID} && !${Target.Buff[Death's Malaise].ID} && !${Target.Buff[Diminishing Helix Rk. II].ID} && !${Target.Buff[Dreary Deeds].ID}) /alt activate 2018
holyshit6=/if (${Me.AltAbilityReady[T`vyl's Resolve]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 742
holyshit7=/if (${Me.AltAbilityReady[Soul Flay]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 1278
holyshit8=/if (${Me.AltAbilityReady[Scourge Skin]} && ${Target.PctHPs}>1 && ${Target.PctHPs}<99 && ${Target.Type.Equal[NPC]}) /alt act 7755
holyshit9=/if (${Me.AltAbilityReady[Encroaching Darkness]}  && !${Bool{Target.Snared}} && ${Target.Type.Equal[NPC]}) /alt act 826
version=8.500


Removing the old disc seems to have worked, I haven't seen warning.

MQ2 box does keep saying I'm not connected to EQBC tho, which I don't want to be... I don't want to remove that from the INI in case I do decide to eqbc it up
 
And there it is.
Last line has a !${Bool{Target.Snared}} when it should be !${Bool[${Target.Snared}]} or even better drop the Bool and just check for !${Target.Snared.ID}
 
And there it is.
Last line has a !${Bool{Target.Snared}} when it should be !${Bool[${Target.Snared}]} or even better drop the Bool and just check for !${Target.Snared.ID}

TY mule. Remember reading about bool problems a few months ago and wasn't sure how to fix.
 
Problem - Bool me once

Users who are viewing this thread

Back
Top
Cart