AI somehow gets "stucked" after casting Kyrie Eleison

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
khinz27
Noob
Noob
Posts: 1
Joined: 20 Nov 2010, 23:16
Noob?: No

AI somehow gets "stucked" after casting Kyrie Eleison

#1 Post by khinz27 »

Hi!Im not sure if this is smart enough to deserve any replies,but I experienced this problem when I made a macro that makes my FS Priest cast Blessing,Increase Agi,Kyrie Eleison and Impositio Manus upon emotion..

do sp 34 $target
do sp 29 $target
pause 1.7
do sp 73 $target
pause 3.5
do sp 66 $target

After casting Kyrie eleison to the target,the bot doesn't do anything,even if i tried to type manual commands like sp 66 1,it will only work again after i type "ai clear" in the console..The cycle just repeats after it casts Kyrie Eleison..Some will say that it may be due to the mid delay,but then isn't it that when you cast during Mid-delay,something will appear in the console that says that "skill failed Mid delay" or something like that..But in my case,you can't see anything like that..

rwnath
The Way Of Human
The Way Of Human
Posts: 194
Joined: 03 Nov 2010, 05:50
Noob?: No
Location: The Philippines
Contact:

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#2 Post by rwnath »

why not try adding "do ai clear" on the macro? Just a thought :D
Image

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#3 Post by EternalHarvest »

http://forums.openkore.com/viewtopic.php?t=2079

Post output of "aiv" and "ai print" after casting Kyrie from the macro?

cloudkills
Noob
Noob
Posts: 1
Joined: 10 Apr 2011, 22:49
Noob?: No

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#4 Post by cloudkills »

Didn't really want to bump up an old thread but I got this same problem. It fixed when i do ai clear but it's not letting me do it from within a macro.

Code: Select all

[macro] BuffViaFlag.call error: error in 11: error in 11: do not mess around with ai in macros
Before using kyrie:

Code: Select all

ai_seq (manual) = 
Active tasks: RaiseStat, RaiseSkill
Inactive tasks: -
------ AI Sequence ---------------------
------ AI Sequences --------------------
After using it once:

Code: Select all

ai_seq (manual) = 
Active tasks: RaiseStat, RaiseSkill, UseSkill
Inactive tasks: -
------ AI Sequence ---------------------
------ AI Sequences --------------------
Build up of inactive tasks when it doesn't work:

Code: Select all

ai_seq (manual) = 
Active tasks: RaiseStat, RaiseSkill, UseSkill
Inactive tasks: UseSkill, UseSkill, UseSkill
------ AI Sequence ---------------------
------ AI Sequences --------------------

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#5 Post by EternalHarvest »

So the problem is that UseSkill stucks...

savior14
Noob
Noob
Posts: 2
Joined: 18 Jun 2011, 23:44
Noob?: No

[Help] Macro Buffer buffs only once

#6 Post by savior14 »

config.txt

Code: Select all

macro_nowarn 0
macro_orphans reregister_safe
macro_file macros.txt
timeouts.txt

Code: Select all

macro_delay 1
macros.txt

Code: Select all

automacro am_buff2 {
	pm /buf/i
	call doBuff2
}

macro doBuff2 {
	$name = $.lastpm
	log $name
	
	#do sp "Blessing" $name 10
	do sp 34 $name 10
	log Done Blessing
	
	# do sp "Increase AGI" $name 10
	do sp 29 $name 10
	log Done Increase AGI
	pause 1.5
	
	# do sp "Kyrie Eleison" $name 10
	do sp 73 $name 10
	log Done Kyrie Eleison
	pause 1.5
	
	# do ss "Angelus" 10
	do ss 33 10
	log Done Angelus
	pause 1
	
	# do ss "Magnificat" 5
	do ss 74 5
	log Done Magnificat
	pause 2
	
	# do sp "Impositio Manus" $name 4
	do sp 66 $name 4
	log Done Impositio Manus
	pause 1
}
Buff sequence

Code: Select all

Blessing
Inc AGI
Kyrie
Angelus
Magnificat
Impositio
>> Open the bot program >> pm the buffer (1st pm)

Code: Select all

(From: SalogelX) : |00buf
[macro] automacro am_buff2 triggered.
[macro log] SalogelX
You are now: EFST_POSTDELAY (Duration: 0.54s)
You use Blessing on Player SalogelX (17) (Lv: 10)
You are no longer: EFST_POSTDELAY
[macro log] Done Blessing
You are casting Increase AGI on Player SalogelX (17) (Delay: 53ms)
You are now: EFST_POSTDELAY (Duration: 0.7s)
You use Increase AGI on Player SalogelX (17) (Lv: 10)
[macro log] Done Increase AGI
You are no longer: EFST_POSTDELAY
You are casting Kyrie Eleison on Player SalogelX (17) (Delay: 894ms)
[macro log] Done Kyrie Eleison
You are now: EFST_POSTDELAY (Duration: 1.35s)
Player SalogelX (17) uses Kyrie Eleison on himself (Lv: 10)
You are no longer: EFST_POSTDELAY
[macro log] Done Angelus
[macro log] Done Magnificat
[macro log] Done Impositio Manus
as you can see, only Bless, Agi, and Kyrie are executed. the rest doesnt.

>> pm the buffer (2nd pm)

Code: Select all

(From: SalogelX) : |00buf
[macro] automacro am_buff2 triggered.
[macro log] SalogelX
[macro log] Done Blessing
[macro log] Done Increase AGI
[macro log] Done Kyrie Eleison
[macro log] Done Angelus
[macro log] Done Magnificat
[macro log] Done Impositio Manus
here, automacro executed but none of the spell executes. Please point out what's wrong in my config.
Thanks!

savior14
Noob
Noob
Posts: 2
Joined: 18 Jun 2011, 23:44
Noob?: No

Re: [Help] Macro Buffer buffs only once

#7 Post by savior14 »

Thanks for the link. So i guess the problem still not yet resolved. Or should it mean not to use Kyrie Eleison. :)
do ai clear in macro throws an error.

bangdoll02
Noob
Noob
Posts: 3
Joined: 28 May 2010, 05:24
Noob?: Yes

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#8 Post by bangdoll02 »

Using r7856,
It is not only the kyrie problem ( I have not test it in my bot , maybe fixed in my version)
I have the same issue in casting manhole. No message for the fail in casting.
Only ai clear could enable the casting again.

For other location skills like warping , its fine. Message like unable to cast will pop.

Maybe we should discuss more in this thread.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#9 Post by EternalHarvest »

bangdoll02 wrote:I have the same issue in casting manhole. No message for the fail in casting.
Kyrie didn't actually fail, it was casted successfully but ai got stuck right after that.

bangdoll02
Noob
Noob
Posts: 3
Joined: 28 May 2010, 05:24
Noob?: Yes

Re: AI somehow gets "stucked" after casting Kyrie Eleison

#10 Post by bangdoll02 »

EternalHarvest wrote:
bangdoll02 wrote:I have the same issue in casting manhole. No message for the fail in casting.
Kyrie didn't actually fail, it was casted successfully but ai got stuck right after that.
Refer to savior14 situation, it's the same as mine.
I cast the first manhole manually. Every castings afterward show nothing although they actually fails.
I have no direction on fixing this. Any suggestion?

Locked