reactOnNPC v.2.0.2 by hakore

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#361 Post by 4epT »

asengjr1,
try this:

Code: Select all

reactOnNPC talk num #2~1 {
 type number
 msg_0 /\[SATPAM\]/
 msg_1 /Silahkan Masukan Angka Yang Kamu Lihat/
 msg_2 /(\d+)/
}
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

asengjr1
Noob
Noob
Posts: 5
Joined: 11 Aug 2014, 11:11
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#362 Post by asengjr1 »

asengjr1,
try this:
Code:
reactOnNPC talk num #2~1 {
type number
msg_0 /\[SATPAM\]/
msg_1 /Silahkan Masukan Angka Yang Kamu Lihat/
msg_2 /(\d+)/
}

wow...so amazing...its working...thank you so much sir 4epT.
im new at this forum...and...if I was wrong to write...please forgive me.
sorry if my english bad.

asengjr1
Noob
Noob
Posts: 5
Joined: 11 Aug 2014, 11:11
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#363 Post by asengjr1 »

Hello sir 4epT

I need help at reactonNpc ( antibot ) , i already made a code to skip this dan this working ,

but the code was not succesfull because i got some error :::

here my reactOnNPC_debug 1 antibot log console:

Farming Room#1: [ Gold Keeper ]
[reactOnNPC] NPC message saved (0): "[^FF0000 Gold Keeper ^000000]".
Farming Room#1: Inputs number With Red Colour.
[reactOnNPC] NPC message saved (1): "Inputs number With ^FF0000 Red^000000
Colour.".
Farming Room#1: 5414947582678398
[reactOnNPC] NPC message saved (2):
"^0000FF54^FF000014947582^0000FF678398^000000".
Farming Room#1: Type 'talk cont' to continue talking
[reactOnNPC] onNPCAction type is: continue.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:continue , rect:continue) is met.
[reactOnNPC] Matching [msg (0)] "[^FF0000 Gold Keeper ^000000]" to "/[ Gold
Keeper ]/" ... regexp ok.
[reactOnNPC] Matching [msg (1)] "Inputs number With ^FF0000 Red^000000 Colour."
to "/Inputs number With \^([0-9a-fA-F]{6}) Red\^000000 Colour./" ... regexp ok.
[reactOnNPC] Matching [msg (2)] "^0000FF54^FF000014947582^0000FF678398^000000"
to "/\d+\^([0-9a-fA-F]{6})(\d+)\^[0-9a-fA-F]{6}\d+/" ... regexp ok.
[reactOnNPC] React to NPC with delay. Execute command "talk text FF0000" after
2 seconds.

Error in function 'The Number is Incorrect'
Here my error log console:
Farming Room#1: The Number is Incorrect.
[reactOnNPC] NPC message saved (0): "The Number is Incorrect.".

and here my conf code:
reactOnNPC talk text @eval(my $color1 = '#2~1';my $color2 = '#2~1';if ($color1 eq $color2@) {return '#2~1'}) {
type text
useColors 1
delay 2
msg_0 /[ Gold Keeper ]/
msg_1 /Inputs number With \^([0-9a-fA-F]{6}) Red\^000000 Colour./
msg_2 /\d+\^([0-9a-fA-F]{6})(\d+)\^[0-9a-fA-F]{6}\d+/
}

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#364 Post by 4epT »

asengjr1,
use:

Code: Select all

reactOnNPC talk text @eval(my $color1 = '#2~1';my $color2 = '#2~1';if ($color1 eq $color2@) {return '#2~2'}) {
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

asengjr1
Noob
Noob
Posts: 5
Joined: 11 Aug 2014, 11:11
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#365 Post by asengjr1 »

asengjr1,
use:
Code:
reactOnNPC talk text @eval(my $color1 = '#2~1';my $color2 = '#2~1';if ($color1 eq $color2@) {return '#2~2'}) {
wow...so amazing...its working...thank you so much sir 4epT.

but after that the npc {antibot} tell me to input my nick name... :cry:

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#366 Post by 4epT »

try this:

Code: Select all

reactOnNPC talk text @eval(my $color1 = '#2~1';my $color2 = '#2~1';if ($color1 eq $color2@) {return '#2~2'});;talk text asengjr1 {
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

asengjr1
Noob
Noob
Posts: 5
Joined: 11 Aug 2014, 11:11
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#367 Post by asengjr1 »

try this:
Code:
reactOnNPC talk text @eval(my $color1 = '#2~1';my $color2 = '#2~1';if ($color1 eq $color2@) {return '#2~2'});;talk text asengjr1 {
wow...so amazing...its working...thank you so much sir 4epT.
problem solved..thx :D

aoffer
Noob
Noob
Posts: 1
Joined: 14 Sep 2014, 22:57
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#368 Post by aoffer »

Hello 4epT

How can config this antibot?

Code: Select all

[Sep 15 09:27:50 2014.84] Unknown #110046413: [Kafra]
[Sep 15 09:27:50 2014.84] Unknown #110046413: กรุณาแก้ปัญหาต่อไปนี้ :
[Sep 15 09:27:50 2014.84] Unknown #110046413:  
[Sep 15 09:27:50 2014.85] Unknown #110046413: > ถ้า: A=2 B=2 C=2 ...
[Sep 15 09:27:50 2014.85] Unknown #110046413: ดังนั้น A - B + C ?
[Sep 15 09:27:50 2014.86] Unknown #110046413:  
[Sep 15 09:27:50 2014.86] Unknown #110046413: * พยายาม 1 ของ 5 *
[Sep 15 09:27:50 2014.86] Unknown #110046413: ดำเนินการสนธนาต่อโดยอัตโนมัติ
[Sep 15 09:27:50 2014.90] แผนที่ได้ถูกโหลดแล้ว
[Sep 15 09:27:51 2014.28] Unknown #110046413: ป้อน 'talk text' (เพื่อโต้ตอบกับ NPC)
Please help me.

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: reactOnNPC v.2.0.2 by hakore

#369 Post by 4epT »

what problem? see example.
I have no time
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

moonquartzjr
Noob
Noob
Posts: 2
Joined: 08 May 2015, 02:42
Noob?: Yes

Re: reactOnNPC v.2.0.2 by hakore

#370 Post by moonquartzjr »

Hello, can you help me solve this problem? Thanks a lot

already use the plugin (reactOnNPC.pl & responseOnASCIInumber.pl)

CONFIG.txt:

Code: Select all

reactOnNPC_debug 1

ASCIInumberKiller {
lengthCharNumber 5
BgColor ^[D-Fd-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}|FFFFFF|FFFFFA
}

reactOnNPC ASCIInumberKiller num {
   type number
	msg_0 /[#=]*/
	msg_1 /[#=]*/
	msg_2 /[#=]*/
	msg_3 /[#=]*/
	msg_4 /[#=]*/
	msg_5 /[#=]*/
	msg_6 /[#=]*/
}

reactOnNPC ASCIInumberKiller text {
   type text
	msg_0 /[#=]*/
	msg_1 /[#=]*/
	msg_2 /[#=]*/
	msg_3 /[#=]*/
	msg_4 /[#=]*/
	msg_5 /[#=]*/
	msg_6 /[#=]*/
}
CONSOLE.txt:

Code: Select all

[GM] Police: I really sorry but i need to know if you are Playing or Boting. 
Unknown #110012819: [Police]
[reactOnNPC] NPC message saved (0): "[^0000FFPolice^000000]".
Unknown #110012819: Input this number:
[reactOnNPC] NPC message saved (1): "Input this number:".
Unknown #110012819:  
[reactOnNPC] NPC message saved (2): " ".
Unknown #110012819: one of fïve
[reactOnNPC] NPC message saved (3): "^717469^A7B8C1one^000000 of ^7F1929fïve^000000".
Unknown #110012819:  
[reactOnNPC] NPC message saved (4): " ".
Unknown #110012819:  ninêtÿ  seconds to respond
[reactOnNPC] NPC message saved (5): "^163952 ^95C83B^B45306ninêtÿ ^3565C8^000000^3F0499 seconds to respond".
Unknown #110012819: Auto-continuing talking
[reactOnNPC] onNPCAction type is: continue.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:continue, rect:number) 'type' not met.
[reactOnNPC] Conditions for reactOnNPC_1 (npc:continue, rect:text) 'type' not met.
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (0): "^D1FADE^D9F7EB××××××××××^C5F6DB^CDF5F5øøøøøøøøøø^D7F8F3^F3F6EC¢¢¢¢¢¢¢¢¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (1): "^D9F7EB××^814A45××^0B1F46××^0E8414××^00C418××^BFF6E8^CDF5F5øøøøøøøøøø^F3F6EC¢¢^C4F7F6¢¢^CCF8E2¢¢^B80C32¢¢^5D493D¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (2): "^D9F7EB××^FCF9E2××^F7F8FD××^FCF5DD××^A04540××^CDF5F5øø^9B053Bøø^185B17øø^99C402øø^A434BAøø^F3F6EC¢¢^CCF6E5¢¢^4A316A¢¢^EAFCE1¢¢^349D5F¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (3): "^D9F7EB××^FBFFE1××^C3FDFF××^C07266××^FEF9EC××^CDF5F5øø^FAFFEEøø^D8FAE4øø^F6F9F5øø^0E0DC3øø^F3F6EC¢¢^4DC140¢¢^FCF8D7¢¢^C7FAF6¢¢^6B56A3¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (4): "^D9F7EB××^E3F7D5××^B3AB18××^C1FDFF××^D8F5D3××^CDF5F5øø^164042øø^6D0215øø^720BC4øø^9C2394øø^F3F6EC¢¢^88055D¢¢^931786¢¢^ABBC08¢¢^AB5D14¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (5): "^D9F7EB××^A5B39B××^F8F5D9××^D4F6F3××^FDFDDC××^CDF5F5øø^CFF6F4øø^FCF8FCøø^E3F5DAøø^C13A5Bøø^F3F6EC¢¢^E4F6E1¢¢^F9F7D3¢¢^E5FCF5¢¢^9F521D¢¢".
Unknown #110012819: ××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢
[reactOnNPC] NPC message saved (6): "^C8FBF7^D9F7EB××××××××××^CDF5F5øø^036A58øø^C66D6Eøø^0BB012øø^0DC553øø^CEF9DB^F3F6EC¢¢¢¢¢¢¢¢¢¢^000000".
Unknown #110012819: Auto-continuing talking
[reactOnNPC] onNPCAction type is: continue.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:continue, rect:number) 'type' not met.
[reactOnNPC] Conditions for reactOnNPC_1 (npc:continue, rect:text) 'type' not met.
NPC Exists: Unknown #110012819 (216, 45) (ID 110012819) - (0)
Unknown #110012819: Type 'talk num <number #>' to input a number.
[reactOnNPC] onNPCAction type is: number.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:number , rect:number) is met.
[reactOnNPC] Matching [msg (0)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (1)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (2)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (3)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (4)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (5)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Matching [msg (6)] "××××××××××øøøøøøøøøø¢¢¢¢¢¢¢¢¢¢" to "/[#=]*/" ... regexp ok.
[reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller num".
[01] : ##########
[02] : #########################################################################
[03] : ##########
[04] : ##############################
[05] : ##########
[06] : ######################################################################################
[07] : ########
[08] : ##################
[09] : #
[10] : ###########
[11] : #
[12] : ###########################
[13] : ==========##########==========
[14] : ==##################==########
[15] : ========############==####==##
[16] : ====####==##======##==##==####
[17] : ====####==##########==########
[18] : ==##======####====##========##
[19] : ==========##########==========
[responseOnASCIInumber] Wait 3 sec. and executing command: "talk num ".
Error in function 'talk num' (Respond to NPC)
You must specify a number.

Post Reply