[bypass Antibot] - Enter a sequence of colored words
Posted: 11 Jun 2014, 12:37
OpenKore Forums
https://forums.openkore.com/
yes, that is the correct answer.4epT wrote:what the correct answer? "geffen geffen morroc"???
what server?
need use "reactOnNPC" plugin, see example
Code: Select all
[plugin] [reactOnNPC] NPC message saved (1): "do you want enter this room?".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to: ############################
[npc] Gold Room: Auto-continuing talking
[plugin] [reactOnNPC] onNPCAction type is: continue.
[plugin] [reactOnNPC] Conditions for reactOnNPC_0 (npc:continue, rect:number) 'type' not met.
[plugin] [reactOnNPC] Conditions for reactOnNPC_1 (npc:continue, rect:text) 'type' not met.
[list] ----------Responses-----------
# Response
0 I want enter this Room
1 No
2 Cancel Chat
-------------------------------
[npc] Gold Room: Type 'talk resp #' to choose a response.
[plugin] [reactOnNPC] onNPCAction type is: responses.
[plugin] [reactOnNPC] Conditions for reactOnNPC_0 (npc:responses, rect:number) 'type' not met.
[plugin] [reactOnNPC] Conditions for reactOnNPC_1 (npc:responses, rect:text) 'type' not met.
[npc] Gold Room: Please Write a letter in color Blue And Green And Blue below with a space
[plugin] [reactOnNPC] NPC message saved (0): "Please Write a letter in color ^0000FFBlue^000000 And ^008000Green^000000 And ^0000FFBlue^000000 below with a space".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to: #########################################################################
[npc] Gold Room:
[plugin] [reactOnNPC] NPC message saved (1): "".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to:
[npc] Gold Room: global arrows
[plugin] [reactOnNPC] NPC message saved (2): "^008000global^000000 ^FF0000arrows^000000".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to: #######################
[npc] Gold Room: novice shadow
[plugin] [reactOnNPC] NPC message saved (3): "^FF33CCnovice^000000 ^B88A00shadow^000000".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to: #######################
[npc] Gold Room: rocker waters
[plugin] [reactOnNPC] NPC message saved (4): "^0000FFrocker^000000 ^800080waters^000000".
[success] [responseOnASCIInumber] BgColor is '^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}'
[success] [responseOnASCIInumber] Convert NPC message to: #######################
[npc] Gold Room: Type 'talk text' (Respond to NPC)
[plugin] [reactOnNPC] onNPCAction type is: text.
[plugin] [reactOnNPC] Conditions for reactOnNPC_0 (npc:text, rect:number) 'type' not met.
[plugin] [reactOnNPC] Conditions for reactOnNPC_1 (npc:text , rect:text) is met.
[plugin] [reactOnNPC] Matching [msg (0)] "Please Write a letter in color Blue And Green And Blue below with a space" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (1)] "" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (2)] "global arrows" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (3)] "novice shadow" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (4)] "rocker waters" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] One or more lines doesn't match for "reactOnNPC_1" (5).
Code: Select all
reactOnNPC talk text @eval(my @@color = ('#0~1', '#0~2', '#0~3'@);my @@array = ('#2~1','#2~2','#2~3','#2~4','#3~1','#3~2','#3~3','#3~4','#4~1','#4~2','#4~3','#4~4'@);my @@answer;for ($a = 0; $a <= 3; $a++@) {for ($b = 0; $b <= 11; $b = $b + 2@) {if (@@array[$b] eq $color[$a]@) {push @@answer, @@array[$b+1];}}}my $answer = @@answer[0]." ".@@answer[1]." ".@@answer[2];return $answer) {
type text
useColors 1
delay 2
msg_0 /Please Write a letter in color \^([0-9a-fA-F]{6})\w+\^000000 And \^([0-9a-fA-F]{6})\w+\^000000 And \^([0-9a-fA-F]{6})\w+\^000000 below with a space/
msg_1 /.*/
msg_2 /\^([0-9a-fA-F]{6})(\w+)\^000000\s+\^([0-9a-fA-F]{6})(\w+)\^000000/
msg_3 /\^([0-9a-fA-F]{6})(\w+)\^000000\s+\^([0-9a-fA-F]{6})(\w+)\^000000/
msg_4 /\^([0-9a-fA-F]{6})(\w+)\^000000\s+\^([0-9a-fA-F]{6})(\w+)\^000000/
}