Does SVN 2.0.7 support reactOnNPC

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

Message
Author
MaJesTy
Noob
Noob
Posts: 10
Joined: 30 Nov 2009, 05:59
Noob?: Yes

Does SVN 2.0.7 support reactOnNPC

#1 Post by MaJesTy »

Hi, i'm just wondering if 2.0.7 still supports reactOnNPC, cause i can't make it work to use for an anti bot...

Here's how the anti bot works..

Image

Image

then, i put this in my config to recognize the color of the numbers and its working..

Code: Select all

ASCIInumberKiller {
	lengthCharNumber 8
	BgColor ^[D-Fd-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}
then for the reaction, this is what i put to my config...

Code: Select all

reactOnNPC talk text @eval(#3~1) {
	msg_0 /[Easy Treasure Room Waper]/
	msg_1 /Do you want to be warped to [Treasure Room ]?/
	msg_2 /Please type the following number:/
	msg_3 /^(\d+)$/
}
but bot won't trigger it.. already tried many things and still no response...

a already read this topic.. http://forums.openkore.com/viewtopic.php?f=34&t=198

so anyone can help me this?.. Thanks in advance!.. :)
Last edited by MaJesTy on 30 Sep 2011, 07:32, edited 1 time in total.

MaJesTy
Noob
Noob
Posts: 10
Joined: 30 Nov 2009, 05:59
Noob?: Yes

Re: Does SVN 2.0.7 support reactOnNPC

#2 Post by MaJesTy »

hmmm.. now i can trigger it now..

Code: Select all

reactOnNPC talk text (\d+)$ {
	msg_0 /Please type the following number: (\d+)$/i
}
but now, i can't configure to answer it right.. could anyone help me with this?.. :D

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: Does SVN 2.0.7 support reactOnNPC

#3 Post by Mortimal »

Code: Select all

reactOnNPC talk num #0~1 {
   msg_0 /Please type the following number: (\d+)$/i
}
no?
Please use pin function for uploading your file contents!

MaJesTy
Noob
Noob
Posts: 10
Joined: 30 Nov 2009, 05:59
Noob?: Yes

Re: Does SVN 2.0.7 support reactOnNPC

#4 Post by MaJesTy »

Mortimal wrote:

Code: Select all

reactOnNPC talk num #0~1 {
   msg_0 /Please type the following number: (\d+)$/i
}
no?
thanks to you mortimal.. hmm.. just added something and it works perfectly now..

Code: Select all

reactOnNPC talk text @eval(#0~1) {
	msg_0 /Please type the following number: (\d+)$/i
}
God bless!

Post Reply