• 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 - KA doesn't work in PullerTank or Hunter modes (1 Viewer)

Status
Not open for further replies.

aspire2008

Well-known member
Joined
Nov 10, 2012
RedCents
2,583¢
KA doesn't seem to be working in PullerTank mode or Hunter mode, first time trying out these modes, so not sure what could be the issue.

PullerTank
Rich (BB code):
Toon 1 - [2018/01/30 05:53:06] [MQ2] Redguides presents
Toon 1 - [2018/01/30 05:53:06] [MQ2] KissAssist v.10.2.3 by Maskoi
Toon 1 - [2018/01/30 05:53:06] [MQ2] ================================
Toon 1 - [2018/01/30 05:53:07] [MQ2] I am Puller & Tank.
Toon 1 - [2018/01/30 05:53:07] [MQ2] PULL: The MQ2Nav mesh for Crescent Reach is loaded
Toon 1 - [2018/01/30 05:53:07] [MQ2] PULL: Using MQ2Nav to Pull with Melee
Toon 1 - [2018/01/30 05:53:07] /break without matching /for ... /next block
Toon 1 - [2018/01/30 05:53:07] kissassist1023.mac@1255 (CheckForCombat(int SkipCombat, string FromWhere)): /if ((!${AggroTargetID} && (!${MezMobFlag} || !${MobCount}) && !${ChainPull}) || (${MobCount}<2 && ${ChainPull})) /break
Toon 1 - [2018/01/30 05:53:07] kissassist1023.mac@1052 (Main): /if (${DPSOn} || ${MeleeOn}) /call CheckForCombat 1 MainLoop
Toon 1 - [2018/01/30 05:53:07] The current macro has ended.

Hunter
Rich (BB code):
Toon 1 - [2018/01/30 05:47:37] [MQ2] Redguides presents
Toon 1 - [2018/01/30 05:47:37] [MQ2] KissAssist v.10.2.3 by Maskoi
Toon 1 - [2018/01/30 05:47:37] [MQ2] ================================
Toon 1 - [2018/01/30 05:47:37] [MQ2] I am Hunting.
Toon 1 - [2018/01/30 05:47:37] [MQ2] The MQ2Nav mesh for Crescent Reach is loaded
Toon 1 - [2018/01/30 05:47:37] [MQ2] Using MQ2Nav to Move.
Toon 1 - [2018/01/30 05:47:37] /break without matching /for ... /next block
Toon 1 - [2018/01/30 05:47:37] kissassist1023.mac@1255 (CheckForCombat(int SkipCombat, string FromWhere)): /if ((!${AggroTargetID} && (!${MezMobFlag} || !${MobCount}) && !${ChainPull}) || (${MobCount}<2 && ${ChainPull})) /break
Toon 1 - [2018/01/30 05:47:37] kissassist1023.mac@1052 (Main): /if (${DPSOn} || ${MeleeOn}) /call CheckForCombat 1 MainLoop
Toon 1 - [2018/01/30 05:47:37] The current macro has ended.

INI
Rich (BB code):
[General]
KissAssistVer=10.2.3
CampRadius=30
CampRadiusExceed=400
ReturnToCamp=0
ChaseAssist=0
ChaseDistance=25
MedOn=1
MedStart=20
MedCombat=0
LootOn=0
RezAcceptOn=0|98
AcceptInvitesOn=1
GroupWatchOn=0
CastingInterruptOn=0
EQBCOn=0
IRCOn=0
HoTTOn=0
CampfireOn=0
CharInfo=Rogue|105|SILVER
DPSMeter=0
ScatterOn=0
ConditionsOn=0
[SpellSet]
LoadSpellSet=0
SpellSetName=KissAssist
[Buffs]
BuffsOn=0
BuffsCOn=0
BuffsSize=20
Buffs1=NULL
Buffs2=NULL
Buffs3=NULL
Buffs4=NULL
Buffs5=NULL
Buffs6=NULL
Buffs7=NULL
Buffs8=NULL
Buffs9=NULL
Buffs10=NULL
Buffs11=NULL
Buffs12=NULL
Buffs13=NULL
Buffs14=NULL
Buffs15=NULL
Buffs16=NULL
Buffs17=NULL
Buffs18=NULL
Buffs19=NULL
Buffs20=NULL
RebuffOn=1
CheckBuffsTimer=10
PowerSource=NULL
[Melee]
AssistAt=95
MeleeOn=1
FaceMobOn=1
MeleeDistance=75
StickHow=snaproll rear
AutoFireOn=0
UseMQ2Melee=1
AutoHide=1
[GMail]
GMailHelp=Events currently support - Dead,Drag,GM,Level,Named,Leftgroup
GMailOn=0
GMailSize=5
GMail1=NULL
GMail2=NULL
GMail3=NULL
GMail4=NULL
GMail5=NULL
[AE]
AEOn=0
AECOn=0
AESize=10
AERadius=50
AE1=NULL
AE2=NULL
AE3=NULL
AE4=NULL
AE5=NULL
AE6=NULL
AE7=NULL
AE8=NULL
AE9=NULL
AE10=NULL
[DPS]
DPSOn=0
DPSCOn=0
DPSSize=20
DPSSkip=20
DPSInterval=2
DPS1=NULL
DPS2=NULL
DPS3=NULL
DPS4=NULL
DPS5=NULL
DPS6=NULL
DPS7=NULL
DPS8=NULL
DPS9=NULL
DPS10=NULL
DPS11=NULL
DPS12=NULL
DPS13=NULL
DPS14=NULL
DPS15=NULL
DPS16=NULL
DPS17=NULL
DPS18=NULL
DPS19=NULL
DPS20=NULL
DebuffAllOn=0
[Aggro]
AggroOn=0
AggroSize=5
Aggro1=NULL
Aggro2=NULL
Aggro3=NULL
Aggro4=NULL
Aggro5=NULL
[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=0
HealsCOn=0
HealsSize=5
Heals1=NULL
Heals2=NULL
Heals3=NULL
Heals4=NULL
Heals5=NULL
XTarHeal=0
XTarHeal2=0
HealGroupPetsOn=0
[Cures]
CuresOn=0
CuresSize=5
Cures1=NULL
Cures2=NULL
Cures3=NULL
Cures4=NULL
Cures5=NULL
[Burn]
BurnCOn=0
BurnSize=15
BurnText=Decepticons Attack
BurnAllNamed=0
Burn1=NULL
Burn2=NULL
Burn3=NULL
Burn4=NULL
Burn5=NULL
Burn6=NULL
Burn7=NULL
Burn8=NULL
Burn9=NULL
Burn10=NULL
Burn11=NULL
Burn12=NULL
Burn13=NULL
Burn14=NULL
Burn15=NULL
UseTribute=0
[Pull]
PullWith=Melee
PullMeleeStick=0
MaxRadius=900
MaxZRange=50
UseWayPointZ=0
PullWait=5
PullRadiusToUse=90
PullRoleToggle=0
ChainPull=0
ChainPullHP=90
ChainPullPause=30|2
PullLevel=0|0
[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
[Merc]
Help=To use: Turn off Auto Assist in Manage Mercenary Window
MercOn=0
MercAssistAt=92
 
not 100% sure, but I thought you needed to have your DPS section ON and have one entry in there before it would work
 
Rich (BB code):
/if (${MobCount} && ${AggroTargetID}) /continue

/if (${TankTimer}) /continue

/if ((!${AggroTargetID} && (!${MezMobFlag} || !${MobCount}) && !${ChainPull}) || (${MobCount}<2 && ${ChainPull})) /break

Using /continue and /break outside of the for loop is the cause of the error.

It appears that it -is- inside of a while loop.

I'm not sure I understand why the error isn't being thrown for the first or second lines because it's using /continue unless that is a feature of the while loop.

However using /break appears to throw an error.

The while loop is set to constant value.
Rich (BB code):
/while (1) {

That alone doesn't make much sense to me if you want to exit the while loop when conditions aren't met, IE: you want to break out of the loop due to conditions in line 3 of the above mentioned code.

You could use a /goto :keyword and set the keyword just outside of the while loop.
Or you could change the /while (1) to use a variable /while (${ImInCombat}) and ImInCombat be set based on some prior condition.
Then instead of /break use /vartset ImInCombat 0 so you can exit the loop more gracefully.

If there wasn't code following the while loop you could just /return. But in this case there is.

Rich (BB code):
/if (${MobCount}==1 && ${ChainPull} && ${MyTargetID} && ${Spawn[${MyTargetID}].PctHPs}<=${ChainPullHP}) /return    /if (${ReturnToCamp} && ${Math.Distance[${CampYLoc},${CampXLoc}]} > 15) {
        /if (${MainAssist.NotEqual[${Me}]}) /delay ${Math.Calc[${Math.Rand[1]}+1]}s
        /if (${MobCount}<=0) /call DoWeMove
    }

That code to consider.

Interestingly enough, the /call CheckForCombat would likely be done for all toons all the time. The following is all instance of said call in the KissAssist.mac

Rich (BB code):
      C:\Users\Jesse\Desktop\MQ2\Release\Macros\kissassist.mac (11 hits)
    Line 1052:             /if (${DPSOn} || ${MeleeOn}) /call CheckForCombat 1 MainLoop
    Line 1086:             /call CheckForCombat 0 MainLoop
    Line 1088:             /call CheckForCombat 2 MainLoop
    Line 2893:                 /call CheckForCombat 1 DoWeMed
    Line 2921:             /call CheckForCombat 1 DoWeMed
    Line 6240:     /call CheckForCombat 1 PullDelay
    Line 6405:         /if (!${ChainPull}) /call CheckForCombat 1 Pull
    Line 7069:         /call CheckForCombat 1 GroupWatch
    Line 7137:     /call CheckForCombat 1 CheckStats
    Line 7292:         /call CheckForCombat 1 Event_GotHit
    Line 7625:                 /call CheckForCombat 1 AFKTools

Note: My line numbers may be different.
 
/continue and /break also work with both /for next and /while. That /break command has been working fine for me. Are you sure you are using the RG compile?

That /break is the only way out of that /while other than the /returns and none of the /returns would return you if you are in the normal flow of the program. So that means you are flowing through everything correctly.

There is something else going on or the whole community would be having the same problem..
 
Yep ctyalor22 hit the nail, it was because I wasn't using the RG compile that issue was occurring, thanks for all the help everyone. :bang:
 
Last edited:
Problem - KA doesn't work in PullerTank or Hunter modes
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart