Openkore.com

OpenKore Forums
It is currently 18 Jan 2020, 08:25

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Macro failed.
PostPosted: 18 Aug 2017, 01:35 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: Macro failed.
PostPosted: 18 Aug 2017, 02:51 
Offline
Super Moderators
Super Moderators
User avatar

Joined: 16 May 2008, 08:28
Posts: 218
Are you talking to the kafra via a macro?

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

_________________
Whatever...


Top
 Profile  
 
 Post subject: Re: Macro failed.
PostPosted: 18 Aug 2017, 03:26 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: Macro failed.
PostPosted: 18 Aug 2017, 05:44 
Offline
Super Moderators
Super Moderators
User avatar

Joined: 16 May 2008, 08:28
Posts: 218
reactOnNPC plugin. It can check the conversation and trigger command(s) when you close the conversation with kafra.

_________________
Whatever...


Top
 Profile  
 
 Post subject: Re: Macro failed.
PostPosted: 18 Aug 2017, 06:25 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 391
man maybe u just do conf QuestPart citySaved i ur kafra macro...

and than

Code:
automacro blabla{
...
eval ($::config{QuestPart} eq "citySaved")
...
call blablabla
}


?

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Macro failed.
PostPosted: 18 Aug 2017, 09:35 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
Mortimal wrote:
man maybe u just do conf QuestPart citySaved i ur kafra macro...

and than

Code:
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group