Openkore.com
http://forums.openkore.com/

Advance Party Search Macro REVISED : MAY 10, 2010
http://forums.openkore.com/viewtopic.php?f=33&t=8444
Page 5 of 7

Author:  Mortimal [ 25 Jan 2011, 11:49 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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
    }
}

Author:  bakamro [ 25 Jan 2011, 17:42 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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

Author:  bakamro [ 26 Jan 2011, 14:44 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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   
   }
}

Author:  bakamro [ 02 Feb 2011, 10:39 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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

Author:  gmslave [ 09 Feb 2011, 06:27 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

thanks for this macro.

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

how to resolve?

Author:  chuechue [ 28 Feb 2011, 08:57 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

is it i put those code into /control/macro.txt ?

Author:  rebagay23 [ 01 Mar 2011, 01:17 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

@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?

Author:  jbron [ 16 Mar 2011, 08:44 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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!

Author:  madshark [ 27 Mar 2011, 12:23 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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:

Author:  loveu8 [ 15 Apr 2011, 10:54 ]
Post subject:  Re: Advance Party Search Macro REVISED : MAY 10, 2010

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

Page 5 of 7 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/