• 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 - Tank stall in sub assist?

Status
Not open for further replies.

redraj

New member
Joined
Feb 1, 2015
RedCents
571¢
I think this is a bug at this line:
Rich (BB code):
                        /if (${Me.XTarget[${n}].TargetType.Equal[Auto Hater]}) {
in sub assist
With this running as checks:
Rich (BB code):
                    /for n 1 to ${XSlotTotal}
                        /if (${Me.XTarget[${n}].TargetType.Equal[Auto Hater]}) {
							/echo xslot ${n}: ${Me.XTarget[${n}].TargetType.Equal[Auto Hater]} ${Me.XTarget[${n}].ID}
                            /if (${Me.XTarget[${n}].Named}) {
								/if (${DebugCombat}) /echo Target is named
                                /squelch /target id ${Me.XTarget[${n}].ID}
                                /delay 10 ${Target.ID}==${Me.XTarget[${n}].ID}
                                /goto :validatetarget
                            }
                            /if (!${ClosestMobID}) {
								/varset ClosestMobID ${Me.XTarget[${n}].ID}
								/echo set closest target as ${ClosestMobID}
							}
                            /if (${Math.Distance[${Spawn[${ClosestMobID}].Y},${Spawn[${ClosestMobID}].X}:${CampYLoc},${CampXLoc}]}<${Math.Distance[${Me.XTarget[${n}].Y},${Me.XTarget[${n}].X}:${CampYLoc},${CampXLoc}]}) {
                                                                /echo Found closer mob ${ClosestMobID}. Math is ${Math.Distance[${Spawn[${ClosestMobID}].Y},${Spawn[${ClosestMobID}].X}:${CampYLoc},${CampXLoc}]}<${Math.Distance[${Me.XTarget[${n}].Y},${Me.XTarget[${n}].X}:${CampYLoc},${CampXLoc}]}
								/varset ClosestMobID ${Me.XTarget[${n}].ID}
							}
                        }
                    /next n

I'm getting results like this:

xslot.jpg
Even though there aren't mobs in all of the xslots, this is returning true. ${Me.XTarget[${n}].TargetType.Equal[Auto Hater]} Which sets the closest mob ID to 0. causing the validate target checks to fail and the assist sub leaving without grabbing a target.

- - - Updated - - -

I changed that line to:
/if (${Me.XTarget[${n}].ID}) {

Not sure what autohater is supposed to do, but this helps picking a target. I'm hoping this fixes my charming troubles :)
 
Auto hater is the default Xtartget slot. When a mob comes into camp and EQ automatically assigns the mob to an Xtarget slot. We define autohaters so Kiss doesn't pick up other targets you may have assigned to your xtarget like the main Tank Or Tank's target.

So your fix won't work because it can pick up mobs like Tank's target that can show up twice in Xtarget or a pet your have in there for heals.

Try this
Rich (BB code):
/if (${Me.XTarget[${n}].TargetType.Equal[Auto Hater]}) {
Change to
Rich (BB code):
/if (${Me.XTarget[${n}].TargetType.Equal[Auto Hater]} && ${Me.XTarget[${n}].ID}) {
 
Thanks! I'll try that out

Rich (BB code):
[General]
KissAssistVer=8.1.3
Role=Tank
CampRadius=35
CampRadiusExceed=400
ReturnToCamp=0
ChaseAssist=0
ChaseDistance=25
MedOn=1
MedStart=30
MedCombat=0
LootOn=0
RezAcceptOn=1
AcceptInvitesOn=1
GroupWatchOn=1
EQBCOn=1
IRCOn=0
MiscGem=12
HoTTOn=0
CampfireOn=1
[SpellSet]
LoadSpellSet=1
SpellSetName=1
[Buffs]
BuffsOn=1
Buffs1=Silent Piety
Buffs2=Jeneca's Mark Rk. II|ME|BST
Buffs3=Devout Fury Rk. II
Buffs4=Bulwark of Piety|ME|BST
Buffs5=Blessed Aura|Aura
Buffs6=Brell's Tellurian Rampart|ME|NEC|MAG|ENC|DRU
Buffs7=Remorse for the Fallen
Buffs8=Tanglewolf Fang|DUAL|Soothing Puff of Breath II
Buffs9=Rotspittle Ring|DUAL|Might of the Giants
Buffs10=Cape of Strong Silk|DUAL|Hateful Guard
Buffs11=Ring of Restless Sleep|DUAL|Form of Defense V
Buffs12=Steel Shoulders of Spite|DUAL|Myrmidon's Skill I
Buffs13=NULL
Buffs14=NULL
Buffs15=NULL
Buffs16=NULL
Buffs17=NULL
Buffs18=NULL
Buffs19=NULL
Buffs20=NULL
RebuffOn=1
CheckBuffsTimer=20
[Melee]
AssistAt=85
MeleeOn=1
FaceMobOn=1
MeleeDistance=100
StickHow=snaproll
AutoFireOn=0
[GoM]
GoMSHelp=Format - Spell|Target, MA Me or Mob, i.e. Rampaging Servant Rk. II|Mob
GoMSpell1=NULL
GoMSpell2=NULL
[AE]
AEOn=0
AERadius=50
AE1=NULL
AE2=NULL
AE3=NULL
AE4=NULL
AE5=NULL
[DPS]
DPSOn=1
DPSSkip=10
DPSInterval=2
DPS1=Confrontation for Honor|95
DPS2=Earnest Force|98|Once
DPS3=Crush of Marr|99
DPS4=Disruptive Persecution|85
DPS5=Preservation of Tunare|75|ME
DPS6=NULL
DPS7=Mark of the Pure|90
DPS8=NULL
DPS9=NULL
DPS10=NULL
DPS11=NULL
DPS12=NULL
DPS13=NULL
DPS14=NULL
DPS15=NULL
[Aggro]
AggroOn=1
Aggro1=NULL
Aggro2=NULL
Aggro3=NULL
[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=2
Heals1=Earnest Cleansing|85|MA
Heals2=Joyous Light|80
Heals3=Burst of Dawnlight|65
Heals4=Burst of Daybreak|60
Heals5=Penitence|35
Heals6=Hand of Piety|50|Single
Heals7=Lay on Hands|20
Heals8=Aurora of Dawnlight|70|Single
Heals9=Denouncement|75|Tap
Heals10=Bestow Divine Aura|29|Single!ME
Heals11=Beacon of the Righteous|45|Single!ME
Heals12=Deflection Discipline|25|SingleME
Heals13=Aurora of Dawnlight|85
Heals14=NULL
Heals15=NULL
XTarHeal=0
AutoRezOn=1
AutoRezWith=Gift of Resurrection
[Cures]
CuresOn=1
Cures1=Radiant Cure
Cures2=Purification
Cures3=NULL
[Burn]
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
[Pull]
PullWith=Force of Disruption
MaxRadius=350
MaxZRange=100
PullWait=0
PullRoleToggle=0
ChainPull=0
ChainPullHP=90
ChainPullPause=30|2
[AFKTools]
AFKHelp=AFKGMAction=0 Off, 1 Pause Macro, 2 End Macro, 3 Unload MQ2, 4 Quit Game
AFKToolsOn=4
AFKGMAction=4
AFKPCRadius=150
CampOnDeath=0
ClickBacktoCamp=0
[Merc]
Help=To use: Turn off Auto Assist in Manage Mercenary Window
MercOn=0
MercAssistAt=92
 
Problem - Tank stall in sub assist?
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart