Openkore.com

OpenKore Forums
It is currently 22 Nov 2018, 06:26

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 25 Jan 2011, 11:49 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 361
x)

add a condition:


Code:
automacro weight {
overrideAI 1
exclusive 1
run-once 1
priority 1
mapchange any
call {
        $mymap = $.map
        if ($mymap != $town) goto nostore
        do autostorage
        :nostore
        release weight
    }
}

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 25 Jan 2011, 17:42 
Offline
Noob
Noob

Joined: 19 Dec 2010, 16:46
Posts: 10
hmm still doesnt work... it triggers on change map but still doesnt autostorage... i try to edit the slave party search ... thx 4 ur time


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 26 Jan 2011, 14:44 
Offline
Noob
Noob

Joined: 19 Dec 2010, 16:46
Posts: 10
I somehow managed to get it to sell and storage but it does double storage and the findMaster macro stops... how do i reactivate it ?

Code:
automacro weight {
   overrideAI 1
   exclusive 1
   run-once 1
   priority 1
   mapchange any
   call {
      $mymap = $.map
      $town = @config (saveMap)
      if ($mymap != $town) goto nostore
         lock all
         do autostorage
         do autosell
         stop
      :nostore
      release all   
   }
}


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 02 Feb 2011, 10:39 
Offline
Noob
Noob

Joined: 19 Dec 2010, 16:46
Posts: 10
Ok, i managed to get the condition rite.. its working when im at geffen.. but its not working at yuno. Why is that ?

Problem solved


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 09 Feb 2011, 06:27 
Offline
Noob
Noob

Joined: 16 Feb 2009, 03:48
Posts: 9
thanks for this macro.

the Master walk-away too far because the Slave was buffing magni/kyrie/assump

how to resolve?


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 28 Feb 2011, 08:57 
Offline
Noob
Noob

Joined: 25 Feb 2011, 09:13
Posts: 2
is it i put those code into /control/macro.txt ?


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 01 Mar 2011, 01:17 
Offline
Noob
Noob

Joined: 01 Mar 2011, 01:14
Posts: 1
@madshark sir i found 1 bug in your wait macro. The Master also wait for other Slaves or priest that are not in the party that is casting the said skills. any solution?


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 16 Mar 2011, 08:44 
Offline
Noob
Noob

Joined: 18 Oct 2010, 08:42
Posts: 16
Hi,

I got some problem with this macro....the slave (the priest) goes to the other maps, it did not follow the master...any idea? I already put the name of the master in followTarget, I also put the same lockmap....please help me...this happens when the master and the slave died..thanks!


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 27 Mar 2011, 12:23 
Offline
Noob
Noob

Joined: 02 Jan 2009, 12:48
Posts: 10
rebagay23 wrote:
@madshark sir i found 1 bug in your wait macro. The Master also wait for other Slaves or priest that are not in the party that is casting the said skills. any solution?



i'll try my best to improve the code when i got the time..cheers..long time not botting..i guess i forgot how to code right now..haha :lol:


Top
 Profile  
 
 Post subject: Re: Advance Party Search Macro REVISED : MAY 10, 2010
PostPosted: 15 Apr 2011, 10:54 
Offline
Noob
Noob

Joined: 19 Oct 2010, 21:08
Posts: 2
Thank All share!!!~
---
I try rewrite gamenikko's Macro.
This Macro's Master will not move to slave's position.
It always let Slave go to find Master.
If you like it,maybe you can test it and rewrite.
---
Code:
#Master Macro
#######################################
########FIND SLAVE#####################
#######################################
#slave is lost
automacro findSlave {
   pm /Where are you?/
   call {
      $slavemap = $.lastMatch1
      $slavemapx = $.lastMatch2
      $slavemapy = $.lastMatch3

      $mymap = $.map
      if ($slavemap == $mymap) goto findslave
      do pm "$.lastpm" at $.map $.pos
      stop
:findslave
   do pm "$.lastpm" at $.map $.pos
   }
}
#when slave is found
automacro clear {
   pm /I found/
   call {
   do eval AI::clear("move", "route");
   }
}

---
Code:
#Slave Macro
################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
   timeout 4
   console /I lost my master/
   call {
   $master = @config (followTarget)
   do pm "$master" Where are you?
   }
}
automacro findMaster2 {
   timeout 4
   console /Calculating route to find master/
   call {
   $master = @config (followTarget)
   do pm "$master" Where are you?
   }
}

#goto master
automacro gotoMaster {
   pm /at (.*) (.*) (.*)/
   call {
   $pm = $.lastpm
   if ($pm != $master) stop
   do move $.lastMatch1 $.lastMatch2 $.lastMatch3
   }
}

#when master is found
automacro foundMaster {
   console /Found my master/
   call {
   do pm "$master" I found
   }
}

PS
1.at "config.txt" the option followBot please set to 0
"followBot 0"
2.overallAuth.txt also not to set


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

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