All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.
Moderator: Moderators
aghart
Noob
Posts: 7 Joined: 17 Feb 2013, 09:04
Noob?: Yes
#1
Post
by aghart » 16 Apr 2013, 09:04
heres what log in the console
i use the macro on this topic
http://forums.openkore.com/viewtopic.php?f=33&t=8455
Code: Select all
Loading controlANDRIX05\macros.txt...
controlANDRIX05\macros.txt: ignoring 'automacro followOptions {' in line 56 (munch, munch, unknown automacro keyword)
controlANDRIX05\macros.txt: ignoring 'automacro portalOpened {' in line 79 (munch, munch, unknown automacro keyword)
[macro] hooking to AI_pre
[macro] hooking to log
All files were loaded
Raider
The Kore Devil
Posts: 672 Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands
#2
Post
by Raider » 16 Apr 2013, 14:50
I used this and it worked for me. Didn't got an error.
Code: Select all
################################################################################
####+-+-+ +-+ +-+-+-+-+####
####|P|M| |2| |W|A|R|P|####
####+-+-+ +-+ +-+-+-+-+####
#### +-+-+ ####
#### |B|Y| ####
#### +-+-+ ####
####+-+-+-+-+-+-+-+-+-+####
####|G|a|m|e|N|i|k|k|o|####
####+-+-+-+-+-+-+-+-+-+####
###########################
##########WARPS############
###########################
automacro warp {
console /\(From: (.*)\) : (warp 1|warp 2|warp 3|warp 4)/
call {
$x = @arg ("$.pos", 1)
$y = @arg ("$.pos", 2)
$xx = @eval ($x + @random ("-1", "1"))
$yy = @eval ($y + @random ("-1", "1"))
$followSetting = @config (followAtWarp)
$name = $.lastMatch1
$loc = $.lastMatch2
if (@eval (defined $::overallAuth{"$.lastMatch1"} ? $::overallAuth{"$.lastMatch1"}:"None") != 1) stop
do sl 27 $xx $yy
pause 2
if ($loc = warp 1) goto warp1
if ($loc = warp 2) goto warp2
if ($loc = warp 3) goto warp3
if ($loc = warp 4) goto warp4
stop
###########################
:warp1
do warp 0
stop
###########################
:warp2
do warp 1
stop
###########################
:warp3
do warp 2
stop
###########################
:warp4
do warp 3
stop
}
}
###########################
######FOLLOW SETTINGS######
###########################
automacro followOptions {
console /\(From: (.*)\) : (set 0|set 1)/
call {
$followSetting = @config (followAtWarp)
$name = $.lastMatch1
$value = $.lastMatch2
if (@eval (defined $::overallAuth{"$.lastMatch1"} ? $::overallAuth{"$.lastMatch1"}:"None") != 1) stop
if ($value = set 0) goto set0
if ($value = set 1) goto set1
stop
###########################
:set0
do conf followAtWarp 0
do pm "$name" Config 'followAtWarp' is set to 0
stop
###########################
:set1
do conf followAtWarp 1
do pm "$name" Config 'followAtWarp' is set to 1
}
}
###########################
automacro portalOpened {
exclusive 1
console /You opened Warp Portal on \((.*), (.*)\)/i
call {
$followSetting = @config (followAtWarp)
do pm "$name" I'm warping...
do pm "$name" SHOULD I FOLLOW AT WARP? 0 - don't | 1 - follow. CURRENTLY: @config (followAtWarp)
do pm "$name" Just PM me your settings. example: set 0 (changes may work next at warp)
$followSetting = @config (followAtWarp)
###########################
if ($followSetting = 0) stayDontGo
if ($followSetting = 1) goto enterPortal
stop
###########################
:stayDontGo
do move stop
pause 25
stop
:enterPortal
do move stop
pause 10
do move $.lastMatch1 $.lastMatch2
}
}
aghart
Noob
Posts: 7 Joined: 17 Feb 2013, 09:04
Noob?: Yes
#3
Post
by aghart » 17 Apr 2013, 08:21
i still got the same problem.. my macro version is 2.0.3 svn
Raider
The Kore Devil
Posts: 672 Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands
#4
Post
by Raider » 17 Apr 2013, 11:37
aghart wrote: i still got the same problem.. my macro version is 2.0.3 svn
Please download the latest OpenKore revision.
aghart
Noob
Posts: 7 Joined: 17 Feb 2013, 09:04
Noob?: Yes
#5
Post
by aghart » 18 Apr 2013, 07:45
thx ill try again. i hope this time it works T.T
thx again
aghart
Noob
Posts: 7 Joined: 17 Feb 2013, 09:04
Noob?: Yes
#6
Post
by aghart » 18 Apr 2013, 09:44
its working fine now
tnx mr raider