Openkore.com

OpenKore Forums
It is currently 08 Dec 2019, 10:13

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Macro failed because sometime npc can't be found.
PostPosted: 11 Aug 2017, 23:32 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
Hi, some time one of my bots can't find npc at a specific location and continue using this "do talknpc 156 97 c r2 c r1"

It doesn't warp to other town and go to a lock map by itself and just ignore this step entirely.


automacro autolvl99part32 {
location morocc
class hunter
base == 75
run-once 1
call {
pause 5
do talknpc 156 97 c r2 c r1
}
}

what should I do? Thank you.


Top
 Profile  
 
 Post subject: Re: Macro failed because sometime npc can't be found.
PostPosted: 11 Aug 2017, 23:36 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 391
maybe because the npc isn't there? u provided exact coords?

try do talk @npc(156 97)

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Macro failed because sometime npc can't be found.
PostPosted: 11 Aug 2017, 23:42 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
It's the correct spot for kafra in the middle of morocc town. most of my bots can detect this kafra and teleport without a problem but some of them can't detect and ignore this step. and just walk to a lock map by themselves.


Top
 Profile  
 
 Post subject: Re: Macro failed because sometime npc can't be found.
PostPosted: 11 Aug 2017, 23:45 
Offline
Noob
Noob

Joined: 28 Jul 2017, 03:09
Posts: 17
I will try your suggestion, thank you.


Top
 Profile  
 
 Post subject: Re: Macro failed because sometime npc can't be found.
PostPosted: 11 Aug 2017, 23:51 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 391
it can be loading problem thou try pause 2 before talknpc


i mainly use automacroses like console /cant find npc/ - do relog 10 in my autolvlup bots

_________________
Please use pin function for uploading your file contents!


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group