Page 10 of 11

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 26 Jun 2014, 12:36
by 4epT
kevinner, here is the solution for the server ForsakenRO:
1. Download the latest version of the plugin responseOnNPCImage.pl
2. Download the latest version of the plugin reactOnNPC.pl
3. Copy them to a folder "plugins"
4. Add this to config.txt:

Code: Select all

reactOnNPC talkImage text {
	type text
	delay 10
	msg_0 [Bot Check]
	msg_1 Please type in the security number/word in the picture!
}


my %imageTable = (
	'botcheck1' => '234',
	'botcheck2' => '786',
	'botcheck3' => '568',
	'botcheck4' => '311',
	'botcheck5' => '682',
	'botcheck6' => '166',
	'botcheck7' => 'PORING',
	'botcheck8' => 'RODA',
	'botcheck9' => 'ALICE',
	'botcheck10' => 'ACIDUS',
	'botcheck11' => 'HARPY',
	'botcheck12' => 'HEATER',
	'botcheck13' => 'KIEL',
	'botcheck14' => 'ORC',
	'botcheck15' => 'PRIEST',
	'botcheck16' => 'PALADIN',
);
Example:

Image
You are now attacking Monster Lunatic (0)
[100/100] You attack Monster Lunatic (0) (Dmg: 237) (Delay: 333ms)
Exp gained: 36000/12000 (35.13%/0.00%)
You are now: state: Frozen
Options changed.
You are now: Endure
You are now: Berserk
Unknown #201908521: [Bot Check]
Unknown #201908521: Please type in the security number/word in the picture!
Unknown #201908521: Auto-continuing talking
[responseOnNPCImage] Image name >> "botcheck8"
[responseOnNPCImage] Image name >> "botcheck8"
[responseOnNPCImage] Image name >> "botcheck9"
NPC Exists: Unknown #201908521 (203, 144) (ID 201908521) - (0)
Unknown #201908521: Type 'talk text' (Respond to NPC)
[reactOnNPC] Reacting to NPC. Executing command "talkImage text".
[responseOnNPCImage] Executing command "talk text ALICE".
Unknown #201908521: [Bot Check]
Unknown #201908521: Correct! Thank you for your cooperation!
You are no longer: state: Frozen
Options changed.
You are no longer: Endure
You are no longer: Berserk
Unknown #201908521: Done talking

tthatswhy, you must use without ".bmp"

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 26 Jun 2014, 12:50
by 4epT
Attention, a new version (SVN r8879):

v.2 by ya4epT (26/06/2014)
- delete file respImageTable.txt
- settings from the file "respImageTable.txt" transferred to "config.txt" and "responseOnNPCImage.pl"

responseOnNPCImage.pl (pastebin)

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 28 Jun 2014, 13:54
by -Saint Seiya-

Code: Select all

Error in function 'talk text' (Respond to NPC)
You are not talking to any NPC.
im getting this error when the antibot prompt. anyway to fix it? but it worked once and thats all

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 28 Jun 2014, 14:02
by 4epT
need more logs

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 28 Jun 2014, 22:37
by -Saint Seiya-
is there any way to let openkore answer the antibot question first before doing any other things? i think its because my bot keep tele around to find monster thats why its not answering back to the npc

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 29 Jun 2014, 07:31
by 4epT
need see the logs

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 29 Sep 2014, 02:57
by nd26zero
Thanks Sir 4epT...

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 07 Oct 2014, 12:11
by Winterjaa
Hello guys, i got this error X_X

Image

im not so good on this, but hope you help me X_X :o

i change inside responseONPCImage.pl " my $imgf = Settings::addControlFile('config.txt', loader => [\&parseDataFile, \%imageTable]);"
config.txt is on plugin/config.txt ( but what i must to do with config.txt ?? it is empty inside! ) @ @ help please!

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 09 Oct 2014, 02:04
by 4epT
why did you change something in the plugin?
the plugin does not have such lines, what are you?

Re: responseOnNPCImage "response base on NPC Image" by abt123

Posted: 09 Oct 2014, 20:31
by Winterjaa
can i send you my openkore.zip? help please..

well ahm i make that change following guides ( i think so ) but i dont know for example when bot killer ask me
"botchecking" image 8 etc i have to respond " talk text "image 8", so what i got to do to this ting respond in automatic way..
secondly
i need to farm treasures on abyss_03 and i got a hw for that, but i really dont knwo how to do " cast SG - warp - Cast SG - warp etc..

sry im pretty newby, if im wrong let me know and please asnwer me rtw to send you my openkore file Please! :) :?: :?: