Page 3 of 5

Re: [bypass Antibot] - Enter the colored symbols

Posted: 16 Apr 2014, 02:09
by 4epT
PepsiCoke wrote:How about this one sir? can you make the macro?

Image

Code: Select all

reactOnNPC talk text #1~1 {
   type text
   delay 2
   msg_0 /Type the Correct Sentences./
   msg_1 / (\S+)/
}

Re: [bypass Antibot] - Enter the colored symbols

Posted: 16 Apr 2014, 06:27
by paraotik
Image
Image

How about this sir.

cant seem to find the right macro to answer this.
need help

TIA :)

Re: [bypass Antibot] - Enter the colored symbols

Posted: 16 Apr 2014, 06:54
by 4epT

Re: [bypass Antibot] - Enter the colored symbols

Posted: 16 Apr 2014, 11:11
by PepsiCoke
how about the automacro in macros.txt? i tried it but it does not trigger :(

Re: [bypass Antibot] - Enter the colored symbols

Posted: 16 Apr 2014, 15:25
by 4epT
PepsiCoke, it is not macros!
read this topic: http://forums.openkore.com/viewtopic.php?f=34&t=198

Re: [bypass Antibot] - Enter the colored symbols

Posted: 17 Apr 2014, 23:01
by paraotik
cant really find the right code.
none works. if color code apear in the console. it would be easy.
but it dont. :(
elp

Re: [bypass Antibot] - Enter the colored symbols

Posted: 18 Apr 2014, 03:04
by 4epT
paraotik, you need to configure the plugin, see examples

Re: [bypass Antibot] - Enter the colored symbols

Posted: 19 Apr 2014, 05:46
by paraotik
4epT wrote:paraotik, you need to configure the plugin, see examples
here is my code. . can you check whats wrong??

Code: Select all

reactOnNPC talk num @eval(my $color1 = '#0~1';my $color2 = '#1~1';if ($color1 eq $color2@) {return '#1~2'}) {
	type number
	useColors 1
	delay 2
	msg_0 /Please Enter \^([0-9a-fA-F]{6})Red Color\^000000 Key in the Code.../i
	msg_1 /\d+\^([0-9a-fA-F]{6})(\d+)\^[0-9a-fA-F]{6}\d+/
}
TIA

Re: [bypass Antibot] - Enter the colored symbols

Posted: 19 Apr 2014, 16:15
by 4epT
place the config.txt "reactOnNPC_debug 1"
and show log console

Re: [bypass Antibot] - Enter the colored symbols

Posted: 21 Jun 2014, 22:01
by isjan
@4ept
This server has the same anti bot, but different dialogue.

Here is the logconsole with reactonNPC debug

Code: Select all

[Jun 22 09:21:00 2014.39] Allowed other player invite to Party
[Jun 22 09:21:00 2014.39] Other players are not allowed to view your Equipment.
[Jun 22 09:21:00 2014.40] You are not a guildmaster.
[Jun 22 09:21:00 2014.50] You are now immune to attacks.
[Jun 22 09:21:00 2014.50] You are now: state: Frozen
[Jun 22 09:21:00 2014.50] You are now: look: Sight
[Jun 22 09:21:00 2014.51] Options changed.
[Jun 22 09:21:00 2014.51] Unknown #110010072: You Have 3 Chance to Type the Red Text Correctly
[Jun 22 09:21:00 2014.52] [reactOnNPC] NPC message saved (0): "You Have 3 Chance to Type the Red Text Correctly".
[Jun 22 09:21:00 2014.52] Unknown #110010072: If you failed- You will be jailed
[Jun 22 09:21:00 2014.52] [reactOnNPC] NPC message saved (1): "If you failed- You will be jailed".
[Jun 22 09:21:00 2014.53] Unknown #110010072: Input the RED COLOUR part
[Jun 22 09:21:00 2014.53] [reactOnNPC] NPC message saved (2): "Input the ^FF0000RED COLOUR^000000 part".
[Jun 22 09:21:00 2014.53] Unknown #110010072: QSqGUkxQpXJFQtQS
[Jun 22 09:21:00 2014.53] [reactOnNPC] NPC message saved (3): "^0000FFQSqGU^FF0000kxQpXJ^0000FFFQtQS^000000".
[Jun 22 09:21:00 2014.54] Unknown #110010072: Type 'talk text' (Respond to NPC)
[Jun 22 09:21:00 2014.54] [reactOnNPC] onNPCAction type is: text.
[Jun 22 09:21:00 2014.55] [reactOnNPC] Conditions for reactOnNPC_0 (npc:text , rect:text) is met.
[Jun 22 09:21:00 2014.55] [reactOnNPC] Matching [msg (0)] "You Have 3 Chance to Type the Red Text Correctly" to "/You Have 3 Chance to Type the Red Text Correctly/" ... regexp ok.
[Jun 22 09:21:00 2014.55] [reactOnNPC] Matching [msg (1)] "If you failed- You will be jailed" to "/If you failed- You will be jailed/" ... regexp ok.
[Jun 22 09:21:00 2014.56] [reactOnNPC] Matching [msg (2)] "Input the ^FF0000RED COLOUR^000000 part" to "/Input the \^([0-9a-fA-F]{6})RED COLOUR\^000000 part/" ... regexp ok.
[Jun 22 09:21:00 2014.56] [reactOnNPC] Matching [msg (3)] "^0000FFQSqGU^FF0000kxQpXJ^0000FFFQtQS^000000" to "/\s+\^([0-9a-fA-F]{6})(\S+)\^000000\s+/" ... doesn't match.
[Jun 22 09:21:00 2014.56] [reactOnNPC] One or more lines doesn't match for "reactOnNPC_0" (3).
Thanks in advance! :D