Openkore.com

OpenKore Forums
It is currently 23 Sep 2018, 09:11

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: macro with location conditions does not work on latest SVN!
PostPosted: 22 Sep 2008, 12:57 
Offline
Human
Human
User avatar

Joined: 27 Apr 2008, 12:52
Posts: 46
Location: Russia
OpenKore get stuck with macro like this:
Code:
automacro notInArea {
   location hugel
   location not prontera 10 10 20 20 #Just for an example
   run-once 1
   exclusive 1
   call {
      do move 15 15 prontera
      release notInArea
   }
}


Top
 Profile  
 
 Post subject: Re: macro with location conditions does not work on latest SVN!
PostPosted: 22 Sep 2008, 21:57 
Offline
Noob
Noob

Joined: 15 Sep 2008, 10:25
Posts: 7
what do u mean by get stuck??
i tried your macro...
it works when ur on hugel...
anyways how come ur not location has 4 coordinates:
location not prontera 10 10 20 20
when the automacro triggers it moves to prontera 15 15 but the problem is it doesn't know how to go there...
oh well whats the point of this bot anyways???


Top
 Profile  
 
 Post subject: Re: macro with location conditions does not work on latest SVN!
PostPosted: 23 Sep 2008, 00:31 
Offline
Human
Human
User avatar

Joined: 27 Apr 2008, 12:52
Posts: 46
Location: Russia
I've made a macro chain for monster races in hugel.
Sometimes OpenKore get disconnect from server 'course of server lags or other reason, so your character throw away from NPCs who send him to race arena. Original piece of my macro:
Code:
automacro notInRaceArea {
   location hugel
   location not hugel 50 80 70 65
   zeny > 2000
   run-once 1
   exclusive 1
   priority 3
   call {
      do move @rand(59,69) @rand(74,79) hugel
      release notInRaceArea
   }
}

There is no problem with SVN revision 6458 (I don't know from which revisions is happens)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group