Page 1 of 1

Please,how to use reactOnNPC to anti botkiller

Posted: 10 May 2018, 18:08
by ikkk5000
this is my console look like,need key in 38662 to pass anti botkiller.
How to write in config?
Thank you.


[npc] Unknown #110002250: [反外掛程式]
[npc] Unknown #110002250: 您好!為了降低外掛對伺服器的侵擾,
[npc] Unknown #110002250: 我們需要驗證才能讓您繼續遊戲,
[npc] Unknown #110002250: 請您正確輸入下面的驗證碼。
[npc] Unknown #110002250: ╔════╦═══╗
[npc] Unknown #110002250: ║驗證碼:║38662║
[npc] Unknown #110002250: ╚════╩═══╝
[schat] ║ 反外掛程式 ║ : 請輸入對話框內的驗證碼,您有10秒的輸入時間.
[npc] : 請輸入 'talk cont' 以繼續交談
[parseMsg_statuslook] You are no longer: 動作延遲
[npc] itself: 請輸入 'talk text' (回應給NCP)

Re: Please,how to use reactOnNPC to anti botkiller

Posted: 10 May 2018, 19:29
by fadreus
Try something like this?
*If the text pattern remain the same each time it appear*

Code: Select all

automacro AntiBot {
	console /[npc] Unknown #110002250: ║驗證碼:║(.*?)║/
	call {
		pause 2 (depends on how long the text would appear before need to reply the number)
		do talk text $.lastMatch1
	}
}


Re: Please,how to use reactOnNPC to anti botkiller

Posted: 10 May 2018, 20:07
by ikkk5000
fadreus wrote:Try something like this?
*If the text pattern remain the same each time it appear*

Code: Select all

automacro AntiBot {
	console /[npc] Unknown #110002250: ║驗證碼:║(.*?)║/
	call {
		pause 2 (depends on how long the text would appear before need to reply the number)
		do talk text $.lastMatch1
	}
}

Thank you for support,but it not work.
Image as below. NPC dialogue box
Image

Re: Please,how to use reactOnNPC to anti botkiller

Posted: 10 May 2018, 23:13
by c4c1n6kr3m1
try edit this

Code: Select all

console /110002250: .*?(\d+)/
or this

Code: Select all

console /\[npc\] Unknown #110002250: .*?(\d+)/
@fadreus, you need to escape special metacharacters with \
but i forget the list :D
just google it, i don't know why i got redirected to ip4.google , that F* chaptcha

Re: Please,how to use reactOnNPC to anti botkiller

Posted: 11 May 2018, 02:27
by fadreus
c4c1n6kr3m1 wrote: you need to escape special metacharacters with \
but i forget the list :D
just google it,
0,o :o
Ooo.. That's why many use that.
Now I know. I learn something today. :D
Thx.

Re: Please,how to use reactOnNPC to anti botkiller

Posted: 11 May 2018, 17:30
by ikkk5000
c4c1n6kr3m1 wrote:try edit this

Code: Select all

console /110002250: .*?(\d+)/
or this

Code: Select all

console /\[npc\] Unknown #110002250: .*?(\d+)/
@fadreus, you need to escape special metacharacters with \
but i forget the list :D
just google it, i don't know why i got redirected to ip4.google , that F* chaptcha


It's ok!

Thank you very much.