got a problem at control/macros.txt for anti-bot

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

godwins530
Noob
Noob
Posts: 5
Joined: 07 Feb 2014, 04:27
Noob?: Yes

got a problem at control/macros.txt for anti-bot

#1 Post by godwins530 »

hi guys,i play on one server
when i login the game,the server will check.
here is the logs.
[Mar 14 17:22:16 2014.82] #110004569: A1 is the S,and yours:G3(CAPS)
[Mar 14 17:22:16 2014.83] [macro] automacro wz triggered.
[Mar 14 17:22:16 2014.83] #110004569:   A B C D E F G H I J
[Mar 14 17:22:16 2014.83] #110004569: --------------------------------
[Mar 14 17:22:16 2014.84] #110004569: 1| S Y H Y E H L E S M
[Mar 14 17:22:16 2014.84] #110004569: 2| V U Q T J E T Z H G
[Mar 14 17:22:16 2014.85] #110004569: 3| L C G Z S E O R X W
[Mar 14 17:22:16 2014.85] #110004569: 4| X Q A Z B V A F T F

i wrote this in macros.txt
automacro wz {
console /and yours:(.*)(.+).*((CAPS)).*/
run-once 1
call {
$zm = $.lastMatch1
$sz = $.lastMatch2
log =======It's $zm ============
}
}
i can get G3 keyword (for eg)
i don't know how to get others
if write like this:
automacro a1 {
console /#110004569: 1.*(|).* (.+) (.+) (.+) (.+) (.+) (.+) (.+) (.+) (.+) (.+)/
run-once 1
call {
$a1 = $.lastMatch1
$b1 = $.lastMatch2
$c1 = $.lastMatch3
$d1 = $.lastMatch4
$e1 = $.lastMatch5
$f1 = $.lastMatch6
$g1 = $.lastMatch7
$h1 = $.lastMatch8
$i1 = $.lastMatch9
$j1 = $.lastMatch10
log $a1 $b1 $c1 $d1 $e1 $f1 $g1 $h1 $i1 $j1
}
}
only get 9 letters form this. not 10
how should i do?
thx for your help~~~~~~~~
my english is not good...XD
i hope someone can help me...thanks
User avatar
4epT
Developers
Developers
Posts: 627
Joined: 30 Apr 2008, 14:17
Noob?: No
Discord: ya4ept#8494
Location: Moskow (Russia)

Re: got a problem at control/macros.txt for anti-bot

#2 Post by 4epT »

interesting antibot!
Give a link to the server.

likely will not help here macro, will need to write the plugin
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image
godwins530
Noob
Noob
Posts: 5
Joined: 07 Feb 2014, 04:27
Noob?: Yes

Re: got a problem at control/macros.txt for anti-bot

#3 Post by godwins530 »

4epT wrote:interesting antibot!
Give a link to the server.

likely will not help here macro, will need to write the plugin
i send it to your email..
although i don't play that sevrer,still sent you a sample
HNO3
Noob
Noob
Posts: 2
Joined: 30 Jul 2010, 13:39
Noob?: Yes

Re: got a problem at control/macros.txt for anti-bot

#4 Post by HNO3 »

Is it because (|).* count as one match?