• 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 - How to make a conditional to check for corpses

Joined
Nov 14, 2019
RedCents
50¢
Hello. I'm running a SK in group and would like a way for him to check for corpses and summon them if needed. He is level 115 with maxxed out AA summon corpse also which is preferred method to summon. Is there a way to do this with a condition and have the summon corpse aa in buffs section? Thank you in advance.
 
Code:
Sub Main
    /while (1) {
        /if (${Me.CurrentMana} > ${Spell[${Me.AltAbility[Blessing of Resurrection].Spell.ID}].Mana}) {
            /if (${Spawn[pccorpse group].ID}) {
                /delay 12s ${Me.AltAbilityReady[Blessing of Resurrection]}
                /target id ${Spawn[pccorpse group].ID}
                /delay 3s ${Target.ID}==${Spawn[pccorpse group].ID}
                /alt act 3800
                /delay 5s ${Me.Casting.ID}
                /delay 10s !${Me.Casting.ID}
            } else /if (${Spawn[pccorpse ${Me.Name}].ID}) {
                /delay 12s ${Me.AltAbilityReady[Blessing of Resurrection]}
                /target id ${Spawn[pccorpse ${Me.Name}].ID}
                /delay 3s ${Target.ID}==${Spawn[pccorpse ${Me.Name}].ID}
                /alt act 3800
                /delay 5s ${Me.Casting.ID}
                /delay 10s !${Me.Casting.ID}
            }
        } else /if (${Me.Standing}) {
            /sit
            /delay 5
        }
    }
/return

This is what I used use to rez group members. You'd need to alter this to your needs.

/alt act 3800 is Blessing of Resurrection for Cleric, you would need to change that to 7007

Looks like it requires 4 Tiny Jade Inlaid coffin's to Summon Remains. So you'd need to also
Code:
${FindItemCount[Tiny Jade Inlaid Coffin]} >= 4

If I also recall correctly, the character couldn't just be dead and hovering. They must also be in the zone with you which would require some additional checks.

There are no range checks on the above code because I only use this in the lobby or after I've collected all the corpses. They're group members, so it's feasible that you'd be able to target them in the group window. So if anyone decides to use that code for themselves to rez corpses, it's recommended that you use it under the same conditions as otherwise it'll try to rez stuff that is out of range.

Hopefully this at least gets you going in the right direction.
 
if you're wanting to know if they have a corpse elsewhere in the world, i'm not sure there is a tlo to check that
 
Wow thanks! I actually have all chars campfire=1 so they would be in zone. With it in buffs as I have now he activates the AA when its up (7 min 30sec recast) everytime its up. My main problem is the puller/tank dieing on pull, he then campefire backs and misses corpse unless i get lucky while he is pulling. I have had him casting it on himself everytime its up and uses alot of coffins over time. It does work but not what Im really trying to accomplish. Thanks for the above, both you guys I will tune it in.
 
It is a dumb question...but where do you plug in the above code?
I run into the same challenge...my puller dies while pulling, gates back to campfire and keeps on pulling, while a corpse gets lost with a bunch of exp...

It would even work if something can be added after using insignia and macro running to summon corpse...
 
It is a dumb question...but where do you plug in the above code?
I run into the same challenge...my puller dies while pulling, gates back to campfire and keeps on pulling, while a corpse gets lost with a bunch of exp...

It would even work if something can be added after using insignia and macro running to summon corpse...
heh, I'm not sure chat caught that this was a kissassist question - I think he was just providing some code examples in case you were making your own macro/code to do it

kiss does, at least currently, have a thing where it will auto summon your own corpses - maybe we could talk the kiss team into expanding that check to include group members?

@ctaylor22 thoughts bud?
 
It would be awesome to have a designed CR toon in the group lol
 
Could you help how to use the "autosummon own corpse thing" in Kiss?
I could use the Kissassist for Dummies version :)
 
Could you help how to use the "autosummon own corpse thing" in Kiss?
I could use the Kissassist for Dummies version :)
well as of right now its actually hard coded in with no toggle or even a check to ensure you have the components lol - i believe this is getting an update soon

this is what is in kiss12 test version (the jade inlaid check should be 4)


INI:
| ----------------------------------------------------------------------------
| SUB: Grab Corpse
| ----------------------------------------------------------------------------
    Sub GrabCorpse
        DEBUGN GrabCorpse Enter
        /declare i int local
        /declare CorpseFarthest int local 0
        /declare CorpseFarthestTemp int local 0
        /if (${FindItemCount[Tiny Jade Inlaid Coffin]}) {
            /if (${SpawnCount[pccorpse ${Me} radius ${MaxRadius}]} && ${Me.AltAbilityReady[Summon Remains]}) {
                /target ${Me}
                /delay 10
                /call CastWhat "Summon Remains" ${Me.ID} GrabCorpse 0
                /delay 30
                /return
            }
        }
        /if (${SpawnCount[pccorpse ${Me} radius 89]} && !${DragCorpse} && ${Math.Distance[${CampYLoc},${CampXLoc}]}>=${CampRadius}) {
            /corpsedrag
            /varset DragCorpse 1
            /echo Hey I found my corpse. Running back to camp for a rez
            /varset Pulled 1
            /if (${GMailEvents.Find[drag]}) /call GmailSend "Hey I found my corpse. Running back to camp for a rez!"
        }
        DEBUGN GrabCorpse Leave
    /return
 
Should be a way to check other group members for rez sickness buff and if they have it summon their corpse.
Admittedly they will have this effect both after death and after rez, but the reuse timer should keep from double summoning corpses.
SKs have a reuse timer of about 5 minutes, using 4 coffins,
Necros have a reuse of 1 minute
and the Rez defect only lasts for about 3 minutes
 
Question - How to make a conditional to check for corpses

Users who are viewing this thread

Back
Top
Cart