Page 44 of 44

Re: reactOnNPC v.2.0.2 by hakore

Posted: 20 Nov 2018, 14:30
by headlesscarmen
c4c1n6kr3m1 wrote:
headlesscarmen wrote: anyone has a solution, for 3 days im dreading this.haha
can you test this style? this one accept plus minus sign or others math operator

Code: Select all

reactOnNPC_debug 1
reactOnNPC eval {my $number1 = "#1~1";my $number2 = "#1~1";my $opsign = "#2~1";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")} {
type number
useColors 1
delay 5
msg_0 /\[ Anti BOT System \]/
msg_1 /If A = (\d+)\s+B = (\d+)/
msg_2 /How many is A (.) B ?/
}
Hi,thanks for the god's work u doing here answering question.

here is the debug code after i tested it.
You are now: state: Frozen
Options changed.
You are now immune to attacks.
You are now: Endure
You are now: Berserk (Duration: 1000000s)
Unknown #110014448: [ Anti BOT System ]
[reactOnNPC] NPC message saved (0): "[ Anti BOT System ]".
Unknown #110014448: If A = 67 B = 5
[reactOnNPC] NPC message saved (1): "If A = 67 B = 5".
Unknown #110014448: How many is A - B ?
[reactOnNPC] NPC message saved (2): "How many is A - B ?".
[reactOnNPC] onNPCAction type is: number.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:number , rect:number) is met.
[reactOnNPC] Matching [msg (0)] "[ Anti BOT System ]" to "/\[ Anti BOT System \]/" ... regexp ok.
[reactOnNPC] Matching [msg (1)] "If A = 67 B = 5" to "/If A = (\d+)\s+B = (\d+)/" ... regexp ok.
[reactOnNPC] Matching [msg (2)] "How many is A - B ?" to "/How many is A (.) B ?/" ... regexp ok.
[reactOnNPC] React to NPC with delay. Execute command "eval {my $number1 = "67";my $number2 = "67";my $opsign = "-";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")}" after 5 seconds.
: Type 'talk num <number #>' to input a number.
Allowed other player invite to Party
Other players are not allowed to view your Equipment.
[reactOnNPC] Reacting to NPC. Executing command "eval {my $number1 = "67";my $number2 = "67";my $opsign = "-";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")}".
The answer is 0
Syntax Error in function 'talk' (Talk to NPC)
Usage: talk <NPC # | "NPC name" | cont | resp | num | text > [<response #>|<number #>]

this work very well but only for addition question. The anti bot system ask addition and subtraction question.

Re: reactOnNPC v.2.0.2 by hakore

Posted: 21 Nov 2018, 04:03
by c4c1n6kr3m1
headlesscarmen wrote:
c4c1n6kr3m1 wrote:
headlesscarmen wrote: anyone has a solution, for 3 days im dreading this.haha
can you test this style? this one accept plus minus sign or others math operator

Code: Select all

reactOnNPC_debug 1
reactOnNPC eval {my $number1 = "#1~1";my $number2 = "#1~1";my $opsign = "#2~1";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")} {
type number
useColors 1
delay 5
msg_0 /\[ Anti BOT System \]/
msg_1 /If A = (\d+)\s+B = (\d+)/
msg_2 /How many is A (.) B ?/
}
Hi,thanks for the god's work u doing here answering question.

here is the debug code after i tested it.
You are now: state: Frozen
Options changed.
You are now immune to attacks.
You are now: Endure
You are now: Berserk (Duration: 1000000s)
Unknown #110014448: [ Anti BOT System ]
[reactOnNPC] NPC message saved (0): "[ Anti BOT System ]".
Unknown #110014448: If A = 67 B = 5
[reactOnNPC] NPC message saved (1): "If A = 67 B = 5".
Unknown #110014448: How many is A - B ?
[reactOnNPC] NPC message saved (2): "How many is A - B ?".
[reactOnNPC] onNPCAction type is: number.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:number , rect:number) is met.
[reactOnNPC] Matching [msg (0)] "[ Anti BOT System ]" to "/\[ Anti BOT System \]/" ... regexp ok.
[reactOnNPC] Matching [msg (1)] "If A = 67 B = 5" to "/If A = (\d+)\s+B = (\d+)/" ... regexp ok.
[reactOnNPC] Matching [msg (2)] "How many is A - B ?" to "/How many is A (.) B ?/" ... regexp ok.
[reactOnNPC] React to NPC with delay. Execute command "eval {my $number1 = "67";my $number2 = "67";my $opsign = "-";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")}" after 5 seconds.
: Type 'talk num <number #>' to input a number.
Allowed other player invite to Party
Other players are not allowed to view your Equipment.
[reactOnNPC] Reacting to NPC. Executing command "eval {my $number1 = "67";my $number2 = "67";my $opsign = "-";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $anwser")}".
The answer is 0
Syntax Error in function 'talk' (Talk to NPC)
Usage: talk <NPC # | "NPC name" | cont | resp | num | text > [<response #>|<number #>]

this work very well but only for addition question. The anti bot system ask addition and subtraction question.
ah sorry i made mistake, it's because 67 - 67 = 0

$number2 should "#1~2"
try this

Code: Select all

reactOnNPC eval {my $number1 = "#1~1";my $number2 = "#1~2";my $opsign = "#2~1";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $answer")} {


or this, change Commands::run("talk num $answer") with $messageSender->sendTalkNumber($talk{'ID'}, $answer)

Code: Select all

reactOnNPC eval {my $number1 = "#1~1";my $number2 = "#1~2";my $opsign = "#2~1";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");$messageSender->sendTalkNumber($talk{'ID'}, $answer)} {

Re: reactOnNPC v.2.0.2 by hakore

Posted: 06 Apr 2019, 02:10
by rjl1989
反外挂验证人员: [ 反外挂剩余 3 次验证机会]
[reactOnNPC] NPC message saved (0): "[ 反外挂剩余 ^ff00003^000000 次验证机会]".
反外挂验证人员: - 您还剩余 1分30秒验证时间。
[reactOnNPC] NPC message saved (1): "- 您还剩余 ^ff00001^000000分^ff000030^000000秒验证时间。".
反外挂验证人员: 防止挂机,请用数字完成验证.
[reactOnNPC] NPC message saved (2): " 防止挂机,请用数字完成验证.".
反外挂验证人员: 7 + 10 〓 ( ? )
[reactOnNPC] NPC message saved (3): " ^e5387d7^000000 + ^0066FF10^000000 〓 ( ? )".
反外挂验证人员: 输入 'talk num <nomer #>' 指定对话内容.
[reactOnNPC] onNPCAction type is: number.




reactOnNPC_debug 1
reactOnNPC eval {my $number1 = "#1~1";my $number2 = "#1~3";my $opsign = "#1~2";my $answer = eval("$number1 $opsign $number2");message("The answer is $answer\n","info");Commands::run("talk num $answer")} {
type number
useColors 1
delay 5
msg_0 / 防止挂机,请用数字完成验证./
msg_1 /\^[0-9a-fA-F]{6}(\d+)\^000000\s(.)\s\^[0-9a-fA-F]{6}(\d+)\^000000/


}

Image

Image
Numbers are special characters,Can not work
help me

Re: reactOnNPC v.2.0.2 by hakore

Posted: 08 Sep 2019, 03:47
by expelliarmus
anyone know why my npc react with "^000000" at the end? .. i dont know how to solve this..

Image

Image


i'm using this right now :

Code: Select all

reactOnNPC_debug 1
reactOnNPC talk num @eval(my $color1 = '#0~0';my $color2 = '#1~0';if ($color1 eq $color2@) {return '#1~1'}) {
	type number
	useColors 1
	delay 2
	msg_0 /Please Enter The \^([0-9a-fA-F]{6})Blue\^000000 Code/
	msg_1 /.*\^0000FF(\S+)\^[0-9a-fA-F]{6}\S+\^000000/
}

Re: reactOnNPC v.2.0.2 by hakore

Posted: 03 Oct 2021, 04:29
by adccnoxy981
Air Jordan 5 What The
Nike Shoes
Air Jordan 30
Adidas Yeezy Boost 350 V2
Christian Louboutin Shoes
Nike Shoes Canada
Nike Cyber Monday
Jordan 15
Jordan Retro 11
Rings Pandora
Nike Foamposite
Nike Free
Adidas Yeezy
Nike Shoes
Air Jordan 32
Nike Shoes
Air Force 1
Nikes Wholesale
Off White Nike Shoes
Nike
Cheap Jordan 1
Nike Air Force
Nike Outlet
Jordan Shoes For Kids
Air Force 1
Nike Shoes
Jordan 6
Adidas Factory Outlet
Nike Clearance
Nikes
Air Jordan 23
Wholesale Nike Shoes
Nike Air Force 1
Nike Air Max Men
Jordan 1
Fjallraven Backpack
Air Jordan 33
Wholesale Nikes Free Shipping
Wholesale Adidas
Jordan Retro 12
Nike Cortez
Pandora Rings
Pandora Jewelry
Nike Huarache
Nike Air Max 270
NMD R1
Nike Shoes For Women
Nike Store
Jordan Shoes From China
Pandora Canada
Jordan 33 Shoes
Jordan AJ 1
Air Max
Jordan 21
Louboutin Shoes
Nike Zoom Fly
Jordans 33
Nike Women's Shoes
Nike
Jordan 25
Cheap Soccer Jerseys
Retro 12
Air Max 2019
Nike Air Force Ones
Nike Wholesale Suppliers
Air Max 270
Nike Air Foamposite
Nike Shoes
Wholesale Jordans From China Factory
Jordans 13
Jordan 2s
Red Bottom Shoes Christian Louboutin
Pandora Bracelet Charms
Wholesale Shoes And Clothing
Hockey Jerseys
Air Jordan 34
NBA Uniforms
Cheap Jordans
Nike Running Shoes
Lebron Shoes
Nike Uptempo
Nike Air Huarache
Nikes Wholesale
Air Jordan 20
Wholesale Nike Shoes
Wholesale Sneakers
Air Jordan 35
Nike Running Shoes
Infant Jordans
Jordans 12
Jordans 22
Nike Jordan
Pandora Jewelry Official Site
Jordan 24
Nike Outlet Store
Jordan Retro
Wholesale Adidas
Cheap Nike Shoes From China
Wholesale Cheap Jordans
Jordan 17
Dior Jordans
Nike Outlet
Nike Air Max 720
Cheap Jordans
Jordans 26
Nike Store
NFL Shop
Jordan 31
Michael Jordan Shoes
Adidas Yeezy
Jordan 14
Jordans 2021
Nike Sneakers
Adidas Store
Men Nike Shoes
Jordans 29
Nike Free
Cheap Jordans
Nike Outlet
Jordan 19
Jordan 11 Concord
Nike Slides
Air Jordan 27
Huaraches
Jordan 18
Nike Running Shoes For Women
Jordan Retro 4
Jordan 16
Jordan Retro 11 Low
Nike Air Zoom
Pandora Jewelry
Nike Blazers
Adidas Shoes For Women
Air Force 1s
Nike Outlet Store Online Shopping
Nike Jordan 1
Nike Outlet Store Online Shopping
Jordan 11 Retro
Jordan Shoes
Air Jordan 13 Retro
Nike Dunk
Nike Roshe Men
NHL Jerseys
Custom Jerseys
Pandora Charms
MLB Jerseys
Adidas
Cheap Wholesale Nike Shoes Free Shipping
Nike Flex
Jordan Retro
Wholesale Jerseys
Pandora Jewelry Official Site
Air Jordan 28
Nike Outlet Store Online Shopping
Pandora

Re: reactOnNPC v.2.0.2 by hakore

Posted: 06 Oct 2021, 16:49
by adccnoxy981

Re: reactOnNPC v.2.0.2 by hakore

Posted: 10 Oct 2021, 18:09
by adccnoxy981

Re: reactOnNPC v.2.0.2 by hakore

Posted: 10 Oct 2021, 19:52
by adccnoxy981
Yeezy Boost 350 V2
Jordan Retro 1
Ferragamo
New Nike Shoes
Pandora
Moncler Jacket
Pandora Bracelets
Pandora Charms
Nike Store UK
Nike Outlet
Jordan 1 Lows
Moncler Outlet
Pandora Jewelry Official Site
Wholesale Jordan
Nike Shoes
Nike Canada
Puma Shoes
Pandora
Nike Canada Online Shopping
Asics Shoes
Balenciaga
Adidas Yeezy
Moncler Jackets
Pandora Charms
Cheap Jordan Shoes
Asics Kayano
Moncler Sale
Pandora Jewelry
Pandora Charms
Jordan 1
Air Jordan 1
Nike Shoes For Women
Pandora Bracelets
Pandora Charms Sale Clearance
Goyard Outlet
Pandora Jewelry
Pandora Charms
Pandora Bracelets Clearance
Adidas Clearance
Asics Shoes Women
Nike Air Jordan 1
Moncler
Nike Outlet Store
Wholesale Retro Jordans
Balenciaga Triple S
Pandora Jewelry Outlet
Pandora Charms Outlet
Pandora Outlet
Adidas Store
Nike Men's Shoes
Pandora Jewelry Official Site
Asics Sneakers
Adidas Running Shoes
Air Jordan 1 Low
Pandora Jewelry
Pandora Jewelry
Air Jordan 1 Retro
Jordan Ones
Pandora Jewelry
Nike Sneakers
Pandora Rings
Pandora Jewelry
Women Nike Sneakers
Jordan 1 Retro
Wholesale Jordan Shoes From China
Nike Canada Online Shopping
Nike Outlet Store
Pandora Jewelry Official Site
Pandora Jewelry Bracelets
Pandora Bracelets
Asics Outlet
Asics Running Shoes
Pandora Charms
Nike Sneakers For Men
Cheap Mens Adidas Shoes
Salvatore Ferragamo
Pandora Jewelry Official Site
Nike Canada
Pandora Charms
Pandora Jewelry
Pandora Jewellery
Cheap Moncler
Pandora Jewelry
Pandora Jewelry
Nike Outlet
Nike Shoes
Pandora Jewelry
Nike Outlet Store
Adidas Official Site
Balenciaga Shoes
Adidas Sneakers Men
Ferragamo Shoes Men
Adidas Shoes Men
Pandora Outlet
Jordan 1 High
Balenciaga
Adidas Trainers
Jordan 1 Dior
Pandora Charms Outlet
Pandora Jewelry
Ferragamo Belt Men
Yeezy Shoes
Pandora Charms
Pandora Charms
Nike Shoes
Adidas Canada
Cheap Nike Shoes
Pandora
Yeezy Shoes
Pandora Jewelry
Pandora Jewelry Official Site
Adidas Shoes
Outlet Moncler
Adidas Canada Online
Adidas Shoes
Nike Running Shoes Sale
Pandora Charms
Goyard Bag
Air Jordan 1s
Shoes Adidas
Pandora Bracelet Charms
Pandora
Pandora
Balenciaga
Moncler Coat
Balenciaga Sneakers
Nike Shoes For Men
Pandora Jewelry Outlet
Balenciaga
Air Jordans 1
Mens Basketball Shoes
Nike Canada
Nike Shoes Canada
Adidas Shoes For Women
Adidas NMD
Pandora
Nike Air Max 720
Moncler Outlet
Pandora Rings
Ferragamo Belts
Nike Factory Store
Asics Outlet Store
Pandora Outlet Online
Pandora Charms
Nike Store
Nike Shoes Women

Re: reactOnNPC v.2.0.2 by hakore

Posted: 13 Oct 2021, 18:28
by adccnoxy981
Nike Factory Store
Ultraboost
Nike Running Shoes
Nike Zoom
Lebron 16
Jordans Sneakers
Nike Hyperadap
Cheap Nike Shoes
Nike Basketball Shoes
Nike Cortez
Nike Free
Jordan Shoes
Valentino Shoes
Pandora Jewelry
Air Force One Nike
Adidas Ultra Boost Women
Adidas Yeezy
Air Force 1
Louboutin Shoes
Air Jordan 11
Nike Air Presto
Nike Factory Store
Nike Factory Outlet Store Online
Christian Louboutin Shoes
Red Bottom Shoes
Lebron 16 Shoes
Moncler Outlet
Louboutin Heels
Christian Louboutin Sale
Mens Nike Shoes
Nike Air Max 98
Nike Air Max 2019
Nike Outlet Store
Pandora Charms
Nike Clearance Sale
Nike Factory Store
Nike Shoes
Nike Clearance
Nike Black Friday Sales
Adidas Yeezy
Air Force 1
Huarache
Pandora Canada
Pandora Charms
Nike Outlet Store Online
Nike KD Shoes
Nike Outlet Store
Nike Outlet
Nike Shoes
Lebron James Shoes
Adidas Stan Smith
Christian Louboutin Shoes
Adidas Sneakers For Men
Pandora Jewelry
Pandora Jewelry Official Site
Jordan 11 Blue
Nike Shoes For Men Basketball
Golden Goose Sneakers
Kyrie Irving Shoes
Nike
Pandora Bracelets
Nike Sneakers For Women
Pandora Jewelry
Christian Louboutin UK
Ferragamo
Adidas Yeezy Shoes
Yeezy 700
Pandora Earrings
Yeezys
Sneakers Website
Pandora
Pandora
Ferragamo
Nike Air Max 720
Yeezy Boost
Nike Outlet
Pandora Jewelry
Red Bottom Heels
Pandora
Air Jordan Sneakers
Nike Air Max
Yeezy 500 Utility Black
Nike Air Max 2019
Nike Sneakers For Men
Adidas NMD
Nike Free
Pandora Bracelets For Women
Kyrie Shoes
Christian Louboutin Shoes
Nike Air Max 270 Men
Womens Nike Shoes
Nike Shoes
Lebron James Shoes
Nike Air Max 95 Essential
Nike Epic React
Yeezy Boost
Nike Outlet
Nike Sneakers For Women
Nike Outlet Store
Jordan 13 Retro
Jordan Kids
Nike Cortez Women
Nike 720
Nike Outlet Store Online Shopping
Nike Clearance Outlet
Christian Louboutin Outlet
Lebron 17
Nike Outlet
Nike Air Zoom
Nike Store
Ferragamo
Jordan Retro
Nike Shoes For Women
Jordans Retro
Nike Outlet Store
Christian Louboutin
Red Bottom Shoes For Women
Pandora Rings
Nike Shoes
Pandora Necklace Women
Nike Shoes
Nike Running Shoes
Kanken Backpack
Michael Jordan Shoes
Yeezy Shoes
Nike Running Shoes For Women
New Nike
Nike Air Max 98
Nike Air Force
Christian Louboutin Sale
Louboutin shoes
Pandora UK
Nike Outlet Store
Adidas Yeezy Boost 350
Asics Shoes Outlet
Vans
Louboutin Shoes
Fjallraven Kanken Backpack
Nike Shoes
Adidas NMD
Christian Louboutin Outlet
Nike Clearance Store

Re: reactOnNPC v.2.0.2 by hakore

Posted: 14 Oct 2021, 00:20
by adccnoxy981
Air Max 95
New Jordans 2018
Nike Outlet Store
Yeezys
Adidas NMD
Golden Goose Sneakers Sale
Moncler Jackets
Air Jordan 3 Retro
New Nikes
Nike Outlet Store
Louboutin shoes
Pandora Bracelet
Jordan Shoes
Pandora
Air Jordan 4
Air Jordan 3 Retro
Fitflop Shoes
Golden Goose Sneakers
Pandora Ring
Pandora Charms Outlet
Moncler Vest
Moncler
New Jordans 2021
Nike Outlet Shoes
Jordan Shoes
Air Jordan Retro 14
ECCO
Air Max 90
Air Force One Shoes
Jordan Retro 11
Louboutin Shoes
Kyrie Shoes
Nike Shoes For Women
Air Jordan
Ferragamo
Golden Goose Shoes
Jordan Retro 4
Air Jordan 12
Jordan 5
Pandoras Jewelry
NMD
Retro Jordan
Mens Nike
Fitflops Sale Clearance
Jordans 11 Low
Hermes Birkin
Nike Shoes
Jordan Shoes For Men
Jordan Win Like 96
Air Jordan Sneakers
Jordan 5
Golden Goose
Jordan 8
Red Bottoms
Air Jordan Sneakers
Pandora Jewelry
Pandora
Golden Gooses Sneakers
Pandora Jewelry Official Site
Jordans 4
Jordan Sneakers
Pandora
Nike Air Max 98 Cone
Red Bottom Shoes
Nike Factory
Moncler Store
Nike Website
Moncler Jackets
Golden Goose Outlet
Yeezy Shoes
Jordan Retro 11
Nike Air Max
Snkrs Nike
Moncler Outlet Online
Moncler Outlet
Jordan 11's
Air Jordan 6 Retro
Jordan 12 Retro
Golden Goose Sneakers Sale
Air Jordan Sneakers
Air Max 270
Jordan 11's
Air Jordans
Harden Shoes
Air Jordan 10
Nike Shoes
Yeezys
Cheap Jordan Shoes
Ferragamo
Air Jordan
Balenciaga Shoes
Air Jordan 12 Retro
Kanken Backpack
Jordan 12 Retro
Nike Sale
James Harden shoes
Nike Outlet
Jordan 6 Rings
Golden Goose Mid Star
Jordan 1 Retro
Soccer Cleats
Pandora Canada
GGDB Sneaker
Jordan 9
Huaraches Nike
Adidas Yeezy Boost 350
Jordan Retro 5
Air Jordan 4
Pandora Charms
Triple S Balenciaga
Jordans 11
Jordan Retros
Cheap Jordan Shoes
Nike Outlet
Jordan Retro
Air Jordan
Golden Goose Factory Outlet
Moncler Jackets
GGDB Shoes
Moncler
Yeezy
New Jordan 11
Jordan Retro 11 Mens
Jordan 13s
Valentino Shoes
Jordan Retros
Pandora Rings
Yeezy
Jordan 11 Red
Jordan 11
Air Max 2018
Red Bottom Shoes
Jordan Retro 6
Pandora Jewelry Official Site
GGDB
Nike Air Force 1 Low