Priest buffing itself in an infinite loop

International

Moderator: Moderators

Lowercase
Noob
Noob
Posts: 3
Joined: 23 Feb 2011, 11:34
Noob?: Yes

Priest buffing itself in an infinite loop

#1 Post by Lowercase »

Today, my priest started buffing itself in an infinite loop. It would stand, buff itself, sit, stand, buff itself, and so on. It seems to be recognizing when it's not in the middle of a post delay, but not when it is already buffed.
It started when i tried to configure partySkills. What went wrong?

This is the skills code I'm using; It's kind of dirty, but it should work.

Code: Select all

useSelf_skill Heal {
	lvl 10
	hp < 85%
	whenStatusInactive EFST_POSTDELAY
	sp > 10%
	timeout 2

}
useSelf_skill AL_INCAGI {
	lvl 10
	whenStatusInactive EFST_INC_AGI, EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1

}

useSelf_skill AL_BLESSING {
	lvl 10
	whenStatusInactive EFST_BLESSING, EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}


useSelf_skill PR_IMPOSITIO {
	lvl 5
	whenStatusInactive EFST_IMPOSITIO, EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}

useSelf_skill PR_KYRIE {
	lvl 5
	whenStatusInactive EFST_KYRIE, EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}



partySkill Heal {
	lvl 10
	target_hp < 85%
	whenStatusInactive EFST_POSTDELAY
	sp > 10%
#	timeout 2

}

partySkill  AL_BLESSING {
	lvl 10
	target_whenStatusInactive EFST_BLESSING
	whenStatusInactive EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}


partySkill  PR_IMPOSITIO {
	lvl 5
	target_whenStatusInactive EFST_IMPOSITIO
	whenStatusInactive EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}

partySkill  PR_KYRIE {
	lvl 5
	target_whenStatusInactive EFST_KYRIE
	whenStatusInactive EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1
}

useSelf_skill AL_INCAGI {
	lvl 10
	target_whenStatusInactive EFST_INC_AGI
	whenStatusInactive EFST_POSTDELAY
	sp > 30%
	timeout 2
	inLockOnly 1

}
silentblue1987
Human
Human
Posts: 46
Joined: 07 Apr 2010, 12:11
Noob?: Yes

Re: Priest buffing itself in an infinite loop

#2 Post by silentblue1987 »

Just a hunch but you might have conflicting parameters/names. Based on my experience you don't need to wait for EFST_POSTDELAY since openkore will cast spam until it succeeds, and if the buff/skill names aren't consistent the block will generally fail or loop.

Here's a code slice (with explanation) from my self/party buffing, resurrection machine. Maybe you can find something with it.


partySkill Kyrie Eleison { --------------------------------- I found the skill names inside openkore using a console command
lvl 10
sp > 25% ------------------------------------------ sp conservation
stopWhenHit 1 ------------------------------------- useful on cast interruptions
notWhileSitting 1 ----------------------------------- can't cast white sitting
notInTown 1 --------------------------------------- avoids suspicion
timeout 2 ------------------------------------------ no spamming on self
disabled 0 ------------------------------------------ optional on/off switch
partyAggressives <= 3 ------------------------------- optional prioritizing to heal spam
target Bot0, Bot1 ------------------------------------ optional for buffing select party members
target_whenStatusInactive Kyrie Eleison ------------- keep the name consistent
target_timeout 2 ---------------------------------- no spamming on party member
}