• 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

Bug - KA can't summon two of the same pet toy

RoboClaptrap4

Member
Joined
Feb 14, 2018
RedCents
181¢
I'm running into an issue where no combination of syntax I have tried (at least 15 different things) will allow me to summon two of the same item and give it to a pet. Some of the other permutations do things like going into an infinite loop repeatedly summoning Muzzle of Mardu and Girdle of Magi`Kot. This particular one summons only a single Hand of Ixiblat when it summons a pet, instead of the two listed here.

Class: Magician
Level: 65
Repro

Rich (BB code):
[Pet]
PetOn=1
PetSpell=Servant of Marr
PetFocus=NULL
PetShrinkOn=0
PetShrinkSpell=Tiny Companion
PetBuffsOn=1
PetBuffsSize=8
PetBuffs1=Orb of Infinite Terror|dual|Burnout V
PetBuffs2=Metamorph Wand - Undead Gingerbread Man|dual|Pet Illusion: Undead Gingerbread Man
PetBuffs3=NULL
PetBuffs4=NULL
PetBuffs5=NULL
PetBuffs6=NULL
PetBuffs7=NULL
PetBuffs8=NULL
PetCombatOn=1
PetAssistAt=96
PetToysSize=6
PetToysOn=1
PetToys1=Muzzle of Mardu
PetToys2=Fist of Ixiblat
PetToys3=Girdle of Magi`Kot
PetToys4=Fist of Ixiblat
PetToys5=NULL
PetToys6=NULL
PetToysGave=NULL
PetBreakMezSpell=NULL
PetRampPullWait=0
PetSuspend=0
MoveWhenHit=0
PetHoldOn=1
PetForceHealOnMed=0
 
From the KA macro I've found that it appears to take up to three arguments for PetToys.
As per the usual method of KA your arguments are separated by | commonly refered to as "Pipe"

The actual spell being the first argument.

Rich (BB code):
                | Are we handing weapons to the pet            /if (${PetToys[${i}].Arg[2,|].Length}) {
                /varset FullText ${PetToys[${i}]}
                /varset PetToySpell ${PetToys[${i}].Arg[1,|]}
                /varset 2ndPart ${PetToys[${i}].Arg[2,|]}
                /varset 3rdPart ${PetToys[${i}].Arg[3,|]}
            } else {
                /varset PetToySpell ${PetToys[${i}]}
            }

based on what I can tell the "2ndPart" is to designate another pet to give the item too as opposed to your own??

Rich (BB code):
/call GiveTo "${2ndPart}" ${petID}

as well as does the 3rdPart appear to be an additional target to give the item to.

Rich (BB code):
/call GiveTo "${3rdPart}" ${petID}

The subroutine in question /declare petID int local ${Spawn[pet ${petName}].ID}
as it is passed a variable for petName when called. There are 4 calls throughout the macro to /call PetToys

Rich (BB code):
	Line 3640:                             /call PetToys ${Me.Pet.CleanName}
	Line 3684:         /if (${Me.Pet.ID} && ${PetToysOn} && (!${PetToysGave.Find[${Me.Pet.CleanName}]} || !${PetToysGave.Find[Summoned]})) /call PetToys ${Me.Pet.CleanName}
	Line 8850:                 /if (${PetToysOn}) /call pettoys ${GMemPetName}
	Line 8857:                 /call pettoys ${MTPet}

It should probably be noted that while the majority of the code should support giving toys to others, it won't do so if you yourself don't have a pet.
Rich (BB code):
/if (!${Me.Pet.ID}) /return

Which should probably be changed to

Rich (BB code):
/if (!${Spawn[${petName}].ID}) /return

Something you could try.

Rich (BB code):
PetToys2=Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat

Looks redundant. I believe that won't work because it's checking for a container in order to get to this section.

Rich (BB code):
/if (${InvSlot[pack${BagNum}].Item.Container} && (${InvSlot[pack${BagNum}].Item.Name.Find[Phantom Satchel]} || ${InvSlot[pack${BagNum}].Item.Name.Find[Pouch of Quellious]})) {

I feel this area could use some expansion for lower level pet casters unless I'm just overlooking something.
 
Nice investigation. That code looks like it's definitely designed to pull multiple items out of a summoned bag, which isn't how low level pet weapons work. I run into lots of things where KA just doesn't work right on progression servers because it was designed around live. This seems to be one of them. I'll switch back to manual pet toys

- - - Updated - - -

I tried your suggestion there, as well as a couple other related ones. The closest I can get is for it to summon every item and give it to the pet correctly, then go into an infinite loop summoning fists of Ixiblat:

PetToys1=Muzzle of Mardu
PetToys2=Fist of Ixiblat|Summoned: Hand of Ixiblat
PetToys3=Girdle of Magi`Kot
PetToys4=Fist of Ixiblat|Summoned: Hand of Ixiblat

Going to just stop using this. Far too buggy.
 
Rich (BB code):
[Pet]
PetOn=1
PetSpell=Convocation of air
PetFocus=NULL
PetShrinkOn=1
PetShrinkSpell=Diminutive Companion
PetBuffsOn=1
PetBuffsSize=6
PetBuffs1=Iceflame Armaments
PetBuffs2=Host in the Shell
PetBuffs3=Burnout XII
PetBuffs4=Auspice of Eternity
PetBuffs5=Companion's Fortification
PetBuffs6=Companion's Aegis
PetCombatOn=1
PetAssistAt=98
PetToysSize=1
PetToysOn=1
PetToys1=Grant Thassis' Armaments|Summoned: Thalassic Ragesword|Summoned: Thalassic Ragesword
PetToysGave=NULL
PetBreakMezSpell=NULL
PetRampPullWait=0
PetSuspend=0
MoveWhenHit=0
PetHoldOn=1
PetForceHealOnMed=0

its not too buggy,you just have the syntax for it wrong. this is how you give your pets two of the same weapons.

spelltosummon|item1|item2

it states so in the manual for kissassist on how to use it
https://www.redguides.com/community/threads/26002-KissAssist-Instructions-amp-Settings-Info#pet
 
Rich (BB code):
[Pet]
PetOn=1
PetSpell=Convocation of air
PetFocus=NULL
PetShrinkOn=1
PetShrinkSpell=Diminutive Companion
PetBuffsOn=1
PetBuffsSize=6
PetBuffs1=Iceflame Armaments
PetBuffs2=Host in the Shell
PetBuffs3=Burnout XII
PetBuffs4=Auspice of Eternity
PetBuffs5=Companion's Fortification
PetBuffs6=Companion's Aegis
PetCombatOn=1
PetAssistAt=98
PetToysSize=1
PetToysOn=1
PetToys1=Grant Thassis' Armaments|Summoned: Thalassic Ragesword|Summoned: Thalassic Ragesword
PetToysGave=NULL
PetBreakMezSpell=NULL
PetRampPullWait=0
PetSuspend=0
MoveWhenHit=0
PetHoldOn=1
PetForceHealOnMed=0

its not too buggy,you just have the syntax for it wrong. this is how you give your pets two of the same weapons.

spelltosummon|item1|item2

it states so in the manual for kissassist on how to use it
https://www.redguides.com/community/threads/26002-KissAssist-Instructions-amp-Settings-Info#pet

That was the first thing I tried. Sadly, it doesn't work, nor did any of the other permutations I attempted :(

PetBuffs2=Fist of Ixiblat|Summoned: Hand of Ixiblat|Summoned:Hand of Ixiblat

Grant Thassis's Armaments is a different type of spell than Fist of Ixiblat. The Grant spell summons a bag with a click that contains a bunch of items. Fist of Ixiblat summons a single item called Summoned: Hand of Ixiblat and no bag. That syntax when modified to use Ixiblat names instead of the Thalassic stuff results in an infinite loop of summoning various pet toys. The syntax of KA's pet stuff looks like it was designed around modern pet toy summoning (which is I think how it started working past level 70), but for the older stuff, the same syntax doesn't work on my end

- - - Updated - - -

PetToysOn=1
PetToys1=Muzzle of Mardu
PetToys2=Fist of Ixiblat|Summoned: Hand of Ixiblat|Summoned: Hand of Ixiblat
PetToys3=Girdle of Magi`Kot

Produces the following sequence of events:
1. Summons and hands pet a Muzzle
2. Summons and hands pet a Summoned: Hand of Ixiblat
3. Summons and hands pet a Girdle of Magi`Kot
4. Summons and hands pet a Summoned: Hand of Ixiblat

It then goes into an infinite loop summoning Hands, trying to give them to the pet, and deleting them. The PetToysGave entry ends up looking like this:
PetToysGave=Carlita|Muzzle of Mardu|Fist of Ixiblat|Girdle of Magi`Kot|Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat|Fist of Ixiblat

Very strange
 
Rich (BB code):
PetToysOn=1
PetToysSize=3
PetToys1=Muzzle of Mardu
PetToys2=Girdle of Magi`Kot
PetToys3=Fist of Ixiblat|Fist of Ixiblat

just did like this, worked for my mage.
 
Rich (BB code):
PetToysOn=1
PetToysSize=3
PetToys1=Muzzle of Mardu
PetToys2=Girdle of Magi`Kot
PetToys3=Fist of Ixiblat|Fist of Ixiblat

just did like this, worked for my mage.

That was one of the things I tried last night. The problem I found with that caused me to look for other solutions is that the /pettoysplz command doesn't work properly for me with that config. If another toon uses the /pettoysplz command, they get only a single hand of ixiblat.
 
Bug - KA can't summon two of the same pet toy

Users who are viewing this thread

Back
Top
Cart