Macro failed.

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
NZXT
Noob
Noob
Posts: 17
Joined: 28 Jul 2017, 03:09
Noob?: Yes

Macro failed.

#1 Post by NZXT »

My macro doesn' trigger because this part doesn't work

" console /Location saved./"

automacro toonlvlup {
console /Location saved./
location morocc
class Knight
run-once 1
call {
do conf lockMap geffen
do conf attackAuto 2
do conf QuestPart none
}
}


I want this macro to check if my bot has already talked to npc kafra and saved properly, then trigger automacro toonlvlup

This is what console looks like after it has already saved with kafra. I'm not sure what's the problem with this condition " console /Location saved./"

Kafra Employee: [Kafra Employee]
Kafra Employee: Location saved.
Kafra Employee: Thank you for using Kafra services.

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Macro failed.

#2 Post by hakore »

Are you talking to the kafra via a macro?

I'm not sure if automacro can trigger while a macro is already running.
Whatever...

NZXT
Noob
Noob
Posts: 17
Joined: 28 Jul 2017, 03:09
Noob?: Yes

Re: Macro failed.

#3 Post by NZXT »

Yes I do talk to kafra via macro, if that is the case. Is there alternative to that. Because i do really need to check if my bot is propely saved. Because sometime server is so lag and sometime it skips talking with kafra.

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

Re: Macro failed.

#4 Post by hakore »

reactOnNPC plugin. It can check the conversation and trigger command(s) when you close the conversation with kafra.
Whatever...

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: Macro failed.

#5 Post by Mortimal »

man maybe u just do conf QuestPart citySaved i ur kafra macro...

and than

Code: Select all

automacro blabla{
...
eval ($::config{QuestPart} eq "citySaved")
...
call blablabla
}
?
Please use pin function for uploading your file contents!

NZXT
Noob
Noob
Posts: 17
Joined: 28 Jul 2017, 03:09
Noob?: Yes

Re: Macro failed.

#6 Post by NZXT »

Mortimal wrote:man maybe u just do conf QuestPart citySaved i ur kafra macro...

and than

Code: Select all

automacro blabla{
...
eval ($::config{QuestPart} eq "citySaved")
...
call blablabla
}
?
The problem with this is that it can not check whether bot has saved properly. Some time server has lag spike and it just failed to save and then goes to another macro.

But I will try reactonnpc plugin. Ty.

Post Reply