bot check math ADDITION CAPTCHA
Moderator: Moderators
-
- Noob
- Posts: 17
- Joined: 08 Oct 2018, 15:54
- Noob?: Yes
- Location: Kuala Lumpur,Malaysia
bot check math ADDITION CAPTCHA
Hello all,
Im need help in figuring to auto answer the following bot check.
the server has bot check (that pop up automatically) that needed us to provide correct answer within 3 chances. Failure to do so will result in 3000hours skill mute.
Im need help in figuring to auto answer the following bot check.
the server has bot check (that pop up automatically) that needed us to provide correct answer within 3 chances. Failure to do so will result in 3000hours skill mute.
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: bot check math ADDITION CAPTCHA
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
-
- Noob
- Posts: 17
- Joined: 08 Oct 2018, 15:54
- Noob?: Yes
- Location: Kuala Lumpur,Malaysia
Re: bot check math ADDITION CAPTCHA
Thanks fellow malaysian, I will give it a try.
-
- Noob
- Posts: 17
- Joined: 08 Oct 2018, 15:54
- Noob?: Yes
- Location: Kuala Lumpur,Malaysia
Re: bot check math ADDITION CAPTCHA
dear sir is there any example u can show me? i have been reading the wiki for hours now still no clue especially the console condition part.
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: bot check math ADDITION CAPTCHA
headlesscarmen wrote: dear sir is there any example u can show me?
Example:
control/macros.txt (Fixed)
Code: Select all
automacro {
console /What is the sum of (\d+) + (\d+)/
call {
$num1 = $.lastMatch1
$num2 = $.lastMatch2
$result = @eval($num1+$num2)
do talk num $result
}
}
headlesscarmen wrote: i have been reading the wiki for hours now still no clue especially the console condition part.
http://openkore.com/index.php/Macro_plugin
it's macro.
Most problems can be solved by macro since macro is easier than plugins but plugins way better than macro.
Welp, I don't play private, it's troublesome coz of the customization. Too lazy
That reactOnNPC.pl would be better if you know how.
I like easy solution
Last edited by fadreus on 09 Oct 2018, 11:13, edited 1 time in total.
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: bot check math ADDITION CAPTCHA
no no no fadreus !!!
ex:
console /Red Flame Compass.*: (\d+) + (\d+)/
or
console /Red Flame Compass.*: (\d+) (?:\+) (\d+)/
catch with ()
if start with this (?:) , will not catch
in macro, result for both is @eval($.lastMatch1+$.lastMatch2)
\d is number
\. is single dot
. is any single character
.* is hmmm try read somewhere else
try read perl regex
http://jkorpela.fi/perl/regexp.html
or google
ex:
console /Red Flame Compass.*: (\d+) + (\d+)/
or
console /Red Flame Compass.*: (\d+) (?:\+) (\d+)/
catch with ()
if start with this (?:) , will not catch
in macro, result for both is @eval($.lastMatch1+$.lastMatch2)
\d is number
\. is single dot
. is any single character
.* is hmmm try read somewhere else
try read perl regex
http://jkorpela.fi/perl/regexp.html
or google
Last edited by c4c1n6kr3m1 on 09 Oct 2018, 11:24, edited 4 times in total.
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: bot check math ADDITION CAPTCHA
Code: Select all
automacro qgreen {
console /Forest Compass.*: (\d+) (?:\+) (\d+) (?:x) (\d+) /
#exclusive 1
#run-once 1
#overrideAI 1
#priority 1
macro_delay 0.01
timeout 2
delay 1
call {
[
$hasilg = @eval($.lastMatch1+$.lastMatch2*$.lastMatch3)
log result $hasilg
]
do talk num $hasilg
}
}
Last edited by c4c1n6kr3m1 on 09 Oct 2018, 11:06, edited 1 time in total.
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: bot check math ADDITION CAPTCHA
Oh!!c4c1n6kr3m1 wrote:http://jkorpela.fi/perl/regexp.html
This what I've been looking for; simple & neat.
It just I don't know what to ask google for this
I always found a piece of remnant for some usage while some long text just doesn't make sense to me hahahaha..
Thanks for the link.
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: bot check math ADDITION CAPTCHA
but is not completefadreus wrote:Oh!!c4c1n6kr3m1 wrote:http://jkorpela.fi/perl/regexp.html
This what I've been looking for; simple & neat.
It just I don't know what to ask google for this
I always found a piece of remnant for some usage while some long text just doesn't make sense to me hahahaha..
Thanks for the link.
ex : it does not have ?:
alot of perl document i've ever seen in www is bad for my eyes , especially perldoc.perl.org
bad font
bad structure
bla bla bla
and make it hard to understand
- fadreus
- The Kore Devil
- Posts: 708
- Joined: 17 Nov 2017, 23:32
- Noob?: No
- Location: Genting Highland, Malaysia
- Contact:
Re: bot check math ADDITION CAPTCHA
Still better than what I usually found; your link give more than what could found.c4c1n6kr3m1 wrote:but is not complete
ex : it does not have ?:
I usually found +/- 10 examples; need to go through various sites just to get more but end up more confused.
Totally agree. Hahahac4c1n6kr3m1 wrote:alot of perl document i've ever seen in www is bad for my eyes , especially perldoc.perl.org
bad font
bad structure
bla bla bla
and make it hard to understand
I prefer short-briefed explanation and followed by example and result. Easier to understand.
iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.