how can i make my macro work..
Moderators: waferbaron, Moderators
Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
-
- Noob
- Posts: 16
- Joined: 13 Oct 2009, 09:27
- Noob?: Yes
how can i make my macro work..
im botting my 2 bot in 1 OPENKORE.. my macro is not working.. how can i make it work
-
- Noob
- Posts: 1
- Joined: 04 Jul 2011, 16:03
- Noob?: Yes
Re: how can i make my macro work..
First of all you need to explain very well what suppose to do your macro and what you coded to do it,
then maybe we can help you something.
You downloaded the macro files?
then maybe we can help you something.
You downloaded the macro files?
-
- Noob
- Posts: 16
- Joined: 13 Oct 2009, 09:27
- Noob?: Yes
Re: how can i make my macro work..
im botting 2 char, the 1 is rogue wich is my master and a priest wich is a slave
i add some macro so that my slave wont left behind and when casting a magni kyrie etc. skill it wont go far
i got my macro hereMARCO PLUGIN click here
my master code is
and my slave code is this
by the way im just using 1 open core i just follow the guide in this forum how to bot 2 or more bot in 1 open kore
i add some macro so that my slave wont left behind and when casting a magni kyrie etc. skill it wont go far
i got my macro hereMARCO PLUGIN click here
my master code is
Code: Select all
#######################################
########FIND SLAVE#####################
#######################################
#slave is lost
automacro findSlave {
pm /x (.*) (.*) (.*)/
call {
$slavemap = $.lastMatch1
$slavemapx = $.lastMatch2
$slavemapy = $.lastMatch3
$mymap = $.map
if ($slavemap == $mymap) goto findslave
do pm "$.lastpm" x $.map $.pos
stop
:findslave
do pm "$.lastpm" x $.map $.pos
do move $slavemap $slavemapx $slavemapy
}
}
#when slave is found
automacro clear {
pm /clear/
call {
do eval AI::clear("move", "route");
}
}
Code: Select all
################################
######FIND MASTER###############
################################
#find master
automacro findMaster {
timeout 3
console /^I lost my master/
call {
$master = @config (followTarget)
do pm "$master" x $.map $.pos
}
}
automacro findMaster2 {
timeout 3
console /^Calculating route to find master/
call {
$master = @config (followTarget)
do pm "$master" x $.map $.pos
}
}
#goto master
automacro gotoMaster {
pm /x (.*) (.*) (.*)/
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" clear
}
}