Page 54 of 58

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 00:35
by 4epT
you did not change the background color, you have it the same as the previous picture

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 01:18
by PepsiCoke
4epT wrote:you did not change the background color, you have it the same as the previous picture
How?

can u help me with this one?

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 02:58
by 4epT
I did it for PrismRO!!!

Image

you need a plugins: reactOnNPC.pl and responseOnASCIInumber.pl

add to the file config.txt:

Code: Select all

ASCIInumberKiller {
	lengthCharNumber 9
	BgColor ^83F52C
}
reactOnNPC ASCIInumberKiller num {
	type number
	msg_0 /[#=]*/
	msg_1 /[#=]*/
	msg_2 /[#=]*/
	msg_3 /[#=]*/
	msg_4 /[#=]*/
	msg_5 /[#=]*/
	msg_6 /[#=]*/
}
add to the file responseOnASCIInumber.pl after pattern " my %digit = (" (approximately 226 line):

Code: Select all

	'###==#######==#######==#######==#####======##' => 1,
	'#=======#==#####==#######==#=======#==#######' => 2,
	'#######==#=======########====#####==#=======#' => 3,
	'==####==#==####==#=========######==#######==#' => 4,
	'==#######=======########==#==####==##======##' => 5,
	'==#######========#==#####====#####==#======##' => 6,
	'========#==####==#####==######==#######==####' => 7,
	'==#####==#=======#==#####====#####==#=======#' => 8,
	'==#####==#========#######====#####==#=======#' => 9,
#################==################
###############====################
#################==################
#################==################
#################==################
#################==################
###############======##############

#############=======###############
############==#####==##############
###################==##############
#############=======###############
############==#####################
############==#####################
############=========##############

#############=======###############
############==#####==##############
###################==##############
#############=======###############
###################==##############
############==#####==##############
#############=======###############

############==#####################
############==####==###############
############==####==###############
############==####==###############
############=========##############
##################==###############
##################==###############

############========###############
############==#####################
############==#####################
############=======################
##################==###############
############==####==###############
#############======################

#############=======###############
############==#####==##############
############==#####################
############========###############
############==#####==##############
############==#####==##############
#############======################

############========###############
############==####==###############
################==#################
###############==##################
###############==##################
###############==##################
###############==##################

#############=======###############
############==#####==##############
############==#####==##############
#############=======###############
############==#####==##############
############==#####==##############
#############=======###############

#############=======###############
############==#####==##############
############==#####==##############
#############========##############
###################==##############
############==#####==##############
#############=======###############

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 03:27
by PepsiCoke
thank you very mush sir...

i did my best to make an asci code for this one and my guess is right @ lengthCharNum is 9
this is my asci code xD still learning how to fix this one..ahahaha

Code: Select all

#####==#####====#######==#######==#######==#######==#####======' => 1,
#=======#==#####==#######==#=======#==#######==#######=========' => 2,
#=======#==#####==#######==#=======########====#####==#=======#' => 3,
==#######==####==#==####==#==####==#=========######==#######==#' => 4,
========#==#######==#######=======########==#==####==##======##' => 5,
#=======#==#####====#######========#==#####====#####==#======##' => 6,
========#==####==#####==######==#######==#######==#######==####' => 7,
#=======#==#####====#####==#=======#==#####====#####==#=======#' => 8,
#=======#==#####====#####==#========#######====#####==#=======#' => 9,
anyways thanks again sir.. /no1

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 04:09
by 4epT
PepsiCoke, do not quote large posts!!! Edit your previous posts!!!

== A VERY IMPORTANT MESSAGE (MANUAL) ==
anyone add a link to this post in a hat


Here we must take into account the peculiarity of the plugin. He is looking for numbers, consisting of 5 lines, and in your NPC is used 7 lines:
1: ############==#####################
2: ############==####==###############

3: ############==####==###############
4: ############==####==###############
5: ############=========##############
6: ##################==###############
7: ##################==###############

1: ############========###############
2: ############==####==###############
3: ################==#################
4: ###############==##################
5: ###############==##################
6: ###############==##################
7: ###############==##################
But you can use a trick! You can cut our numbers up to 5 lines (above, below or one line from above and one line from below - it does not matter):
3: ############==####==###############
4: ############==####==###############
5: ############=========##############
6: ##################==###############
7: ##################==###############

1: ############========###############
2: ############==####==###############
3: ################==#################
4: ###############==##################
5: ###############==##################
Then need to select our number consisting of 5 lines and 9 characters:
3: ==####==#
4: ==####==#
5: =========
6: ######==#
7: ######==#

1: ========#
2: ==####==#
3: ####==###
4: ###==####
5: ###==####
Then convert that number in one line:
'==####==#==####==#=========######==#######==#' => 4,

'========#==####==#####==######==#######==####' => 7,

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 13:15
by PepsiCoke
*Sorry* done editing

can i cut it 1 from above and 1 from the bottom?

as long as i have 5 lines?

this is number 3 i cut 2 lines from above, is this correct?

Code: Select all

'#######==#=======########====#####==#=======#' => 3,
------------------------------------------------------------------------------------------
1: #=======#  <<< deleted
2: ==#####==  <<< deleted
3: #######==
4: #=======#
5: #######==
6: ==#####==
7: #=======#
-----------------------------------------------------------------------------------------
3: #######==
4: #=======#
5: #######==
6: ==#####==
7: #=======#


Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 14:53
by 4epT
can i cut it 1 from above and 1 from the bottom?
yes
this is number 3 i cut 2 lines from above, is this correct?
yes, see my post

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 15:15
by PepsiCoke
YEAH! \m/ thnx again for giving me ur little/too much time answering my questions Godbless OPENKORE!

maybe i should go and make 3 asci code for each numbers to avoid errors.. just to make sure :P

1st: delete 2 lines from above
2nd: delete 2 lines from the bottom
3rd: delete 1 line from above and 1 line from the bottom

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 08 Aug 2013, 16:15
by 4epT
For what? It works 100%!

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

Posted: 13 Aug 2013, 01:53
by allswellthatendswell
is there a working bot for zeta RO?