responseOnASCIInumber.pl #for response BotKiller(ASCII)

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

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

#201 Post by j0ey1510 »

Mucilon wrote: j0ey1510
If you are newbie, try to read every manual or FAQ you find... I can't write to you every thing that is already write at the manuals.
I can tell you where you can find the manuals and explain any doubts you have, but not further...
Well, reading your lasts posts, it seems that you read everything!
About your character number question:
You can configure 8 characters and if appear a letter or number with less then 8, for example 6, add it like this: ==######, where the 2 first columns are blank.
yah i read alot here in your thread and i learned alot.. thanks for your help..
about my question.. if i have a 4 character like this:

Code: Select all

[Aug 13 22:18:01 2008.65] [12] : =####===================
[Aug 13 22:18:01 2008.66] [13] : ====#===========########
[Aug 13 22:18:01 2008.67] [14] : =####==########=##====##
[Aug 13 22:18:01 2008.68] [15] : ====#========##===####==
[Aug 13 22:18:01 2008.69] [16] : =####====######=##====##
[Aug 13 22:18:01 2008.69] [17] : ===========##===########
[Aug 13 22:18:01 2008.71] [18] : =========##=============
[Aug 13 22:18:01 2008.74] [ASCIInumber v2.2.1(fix)] Executing command "talk num 78".
[Aug 13 22:18:01 2008.75] [ASCIInumber v2.2.1(fix)] *** Delay 1-3 sec. before talk num 78 ***.
the number 3..
####
===#
####
===#
####
then i will make it like this??
====####
=======#
====####
=======#
====####

in the plugin:
'====####=======#====####=======#====####' => 3,

i this correct?? i just want to make it clear..
j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

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

#202 Post by j0ey1510 »

@ mucilon
oh i tested what you have told me... but still my bot answer the wrong one...
look at my console..:
console.txt
i think the problem with this is because my server has a random character lenght..
i hope you can help me with this...

@all myro players...
can you also help me with this...
You do not have the required permissions to view the files attached to this post.
cuteakoeh50000
Noob
Noob
Posts: 12
Joined: 05 Aug 2008, 22:08
Noob?: Yes

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

#203 Post by cuteakoeh50000 »

welcome back mucilon... ive waited for you for many days!! ^_^

joey... yah im a filipino but im playing at Vanro...
cuteakoeh50000
Noob
Noob
Posts: 12
Joined: 05 Aug 2008, 22:08
Noob?: Yes

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

#204 Post by cuteakoeh50000 »

######### mucilon i used what you said to me

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

reactOnNPC ASCIInumberKiller text {
type text
msg_0 /\[Police\]/
msg_1 /./
msg_2 /Enter the following letters:/
}

**************************************************************
then i got this message

[Aug 20 05:05:24 2008.42] [GM] Police: I really sorry but i need to know if you are Playing or Boting.
[Aug 20 05:05:24 2008.54] Unknown #110848256: [Police]
[Aug 20 05:05:24 2008.70] [Convert NPC message] to : ########
[Aug 20 05:05:24 2008.75] [reactOnNPC] NPC message saved (0): "[^0000FFPolice^000000]".
[Aug 20 05:05:24 2008.75] Unknown #110848256:
[Aug 20 05:05:24 2008.75] [Convert NPC message] to : #
[Aug 20 05:05:24 2008.76] [reactOnNPC] NPC message saved (1): " ".
[Aug 20 05:05:24 2008.76] Unknown #110848256: Enter the following letters:
[Aug 20 05:05:24 2008.96] [Convert NPC message] to : ############################
[Aug 20 05:05:24 2008.97] [reactOnNPC] NPC message saved (2): "^F51200Enter the following letters:^000000".
[Aug 20 05:05:24 2008.97] Unknown #110848256:
[Aug 20 05:05:24 2008.97] [Convert NPC message] to : #
[Aug 20 05:05:24 2008.97] [reactOnNPC] NPC message saved (3): " ".
[Aug 20 05:05:24 2008.99] Unknown #110848256: ninêtÿ seconds to respond
[Aug 20 05:05:24 2008.99] [Convert NPC message] to : ###########################
[Aug 20 05:05:25 2008.99] [reactOnNPC] NPC message saved (4): "^75B73D ^AAC539^C197BAninêtÿ ^A17E6F^000000^00B765 seconds to respond".
[Aug 20 05:05:25 2008.18] Unknown #110848256: Auto-continuing talking
[Aug 20 05:05:25 2008.57] [reactOnNPC] onNPCAction type is: continue.
[Aug 20 05:05:25 2008.11] [reactOnNPC] Conditions for reactOnNPC_0 not met.
[Aug 20 05:05:25 2008.11] Monster Died: Nine Tail (5)
[Aug 20 05:05:25 2008.11] Item Appeared: Panacea (0) x 1 (173, 194)
[Aug 20 05:05:25 2008.21] Item Appeared: Royal Jelly (1) x 1 (172, 195)
[Aug 20 05:05:25 2008.27] Item Appeared: Dead Branch (2) x 1 (172, 193)
[Aug 20 05:05:25 2008.28] Item Appeared: Old Blue Box (3) x 1 (173, 193)
[Aug 20 05:05:25 2008.32] Item Appeared: Glass Bead (8) x 1 (173, 194)
[Aug 20 05:05:25 2008.33] Item Appeared: Nine Tails (9) x 1 (174, 194)
[Aug 20 05:05:25 2008.33] Target died
[Aug 20 05:05:25 2008.46] Monster Moved: Dokebi (2) - (171, 181) -> (171, 183)
[Aug 20 05:05:25 2008.46] Monster Moved: Dokebi (3) - (181, 193) -> (178, 197)
[Aug 20 05:05:25 2008.47] Unknown #110848256: [Police]
[Aug 20 05:05:25 2008.47] [Convert NPC message] to : ########
[Aug 20 05:05:25 2008.47] [reactOnNPC] NPC message saved (0): "[^0000FFPolice^000000]".
[Aug 20 05:05:25 2008.48] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 20 05:05:25 2008.49] [Convert NPC message] to : ####===#######=#=====####===
[Aug 20 05:05:25 2008.49] [reactOnNPC] NPC message saved (1): "^02754DS^804568S^75BC6BS^04364DS^F4FFD8S^DBF5E2SS^000000^4609ABS^4F5F28S^161C19S^264481S^B5599DS^C0F9DFSS^000000^F0F5E6S^CFFBD3S^E1FCDDS^E9FEE1S^E2F9F9S^F7FADDSS^000000^C7FBFAS^C6B859S^C1FCF7S^C6F9FFS^DFFFF3S^D6FCD3SS^000000".
[Aug 20 05:05:25 2008.54] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 20 05:05:25 2008.55] [Convert NPC message] to : #==#####==#====#=#====#===##
[Aug 20 05:05:25 2008.55] [reactOnNPC] NPC message saved (2): "^733843S^FEF5D8S^D9F8EBS^99A930S^C4F8EDS^BFFAD8SS^000000^B92F26S^E1F8FFS^F8F6DAS^CAFAF9S^F8F8D2S^D7F5E3SS^000000^DFF7D4S^967FB5S^DBF6FBS^A0611FS^F3FDDDS^FCF8F0SS^000000^E0F6E7S^09B45ES^E5FCF4S^F1FADCS^DFF6F0S^C2FFFBSS^000000".
[Aug 20 05:05:25 2008.55] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 20 05:05:25 2008.56] [Convert NPC message] to : ##=#===#=###===#=#=##=#=####
[Aug 20 05:05:25 2008.56] [reactOnNPC] NPC message saved (3): "^31A57BS^CDF5E6S^EBFDEFS^AF8A30S^E7FFF5S^EDFBEFSS^000000^421643S^F8FFE6S^1328AES^7E4909S^C60738S^D0F6FDSS^000000^F5F8D7S^27A9B3S^D1F9E7S^1F2110S^D0FAD5S^C4FCE9SS^000000^FBF5FES^272C93S^DFFCE4S^C6FEDES^C5FDFFS^C2F5FASS^000000".
[Aug 20 05:05:25 2008.57] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 20 05:05:25 2008.57] [Convert NPC message] to : #==#=###==#=##=#=#=##=#==###
[Aug 20 05:05:25 2008.57] [reactOnNPC] NPC message saved (4): "^264520S^E7FBF0S^F9F6E9S^088746S^DFFDE9S^C7FFF6SS^000000^343547S^EFF6E7S^FAF9F4S^C3BE5DS^D2F6E2S^C5F7DBSS^000000^DEF8F6S^A7BFC5S^D4FAF8S^6227A6S^FAFFF2S^C5FFE0SS^000000^EFFBF2S^0E8617S^F2F8E1S^F6FAFDS^C9FEE9S^CDFFF0SS^000000".
[Aug 20 05:05:25 2008.58] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 20 05:05:25 2008.58] [Convert NPC message] to : ####===#####===######=####==
[Aug 20 05:05:25 2008.58] [reactOnNPC] NPC message saved (5): "^8F151BS^67C5A5S^970BA8S^055E4ES^D5FEDBS^D2FBF1SS^000000^B873A5S^6CC0BDS^758B92S^7B4A2BS^CBFFDDS^D4F7DFSS^000000^D7FCF9S^9E718CS^AE8897S^C25F3DS^CCFEE2S^CCF5EESS^000000^D4FEF2S^6E176DS^8D192FS^370990S^C7585AS^D2FDE9SS^000000".
[Aug 20 05:05:25 2008.58] Unknown #110848256:
[Aug 20 05:05:25 2008.59] [Convert NPC message] to :
[Aug 20 05:05:25 2008.59] [reactOnNPC] NPC message saved (6): "".
[Aug 20 05:05:25 2008.59] Unknown #110848256:
[Aug 20 05:05:25 2008.60] [Convert NPC message] to :
[Aug 20 05:05:25 2008.60] [reactOnNPC] NPC message saved (7): "".
[Aug 20 05:05:25 2008.60] Unknown #110848256: Auto-continuing talking
[Aug 20 05:05:25 2008.61] [reactOnNPC] onNPCAction type is: continue.
[Aug 20 05:05:25 2008.61] [reactOnNPC] Conditions for reactOnNPC_0 not met.
[Aug 20 05:05:26 2008.15] NPC Exists: Unknown #110848256 (173, 195) (ID 110848256) - (0)
[Aug 20 05:05:26 2008.54] Unknown #110848256: Type 'talk text' (Respond to NPC)
[Aug 20 05:05:26 2008.61] [reactOnNPC] onNPCAction type is: text.
[Aug 20 05:05:26 2008.80] [reactOnNPC] Matching "[Police]" to "/\[Police\]/" (0)... [Aug 20 05:05:26 2008.10] regexp ok.
[Aug 20 05:05:26 2008.10] [reactOnNPC] Matching "SSSSSSSSSSSSSSSSSSSSSSSSSSSS" to "/./" (1)... [Aug 20 05:05:26 2008.10] regexp ok.
[Aug 20 05:05:26 2008.10] [reactOnNPC] Matching "SSSSSSSSSSSSSSSSSSSSSSSSSSSS" to "/Enter the following letters:/" (2)... [Aug 20 05:05:26 2008.11] doesn't match.
[Aug 20 05:05:26 2008.14] [reactOnNPC] One or more lines doesn't match for "reactOnNPC_0" (2).
*****************************************************************
if i use this the regexp is all ok.

reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
msg_7 /.*/
}

but it then it says i must specify a string..
cuteakoeh50000
Noob
Noob
Posts: 12
Joined: 05 Aug 2008, 22:08
Noob?: Yes

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

#205 Post by cuteakoeh50000 »

ok i made changes in my config.txt

##################################
ASCIInumberKiller {
lengthCharNumber 5
BgColor ^[B-Fb-f][A-Fa-f0-9][C-Fc-f][A-Fa-f0-9]{3}
}

reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
msg_7 /.*/
}

###################################



[Aug 22 01:12:25 2008.10] [GM] Police: I really sorry but i need to know if you are Playing or Boting.
[Aug 22 01:12:25 2008.88] Unknown #110848256: [Police]
[Aug 22 01:12:29 2008.17] Unknown #110848256:
[Aug 22 01:12:29 2008.22] Unknown #110848256: Enter the following letters:
[Aug 22 01:12:29 2008.41] Unknown #110848256:
[Aug 22 01:12:29 2008.45] Unknown #110848256: ninêtÿ seconds to respond
[Aug 22 01:12:29 2008.73] Unknown #110848256: Auto-continuing talking
[Aug 22 01:12:29 2008.87] Item Appeared: Rough Oridecon (4) x 1 (263, 131)
[Aug 22 01:12:29 2008.89] Item Appeared: Panacea (5) x 1 (265, 132)
[Aug 22 01:12:29 2008.90] Item Appeared: Royal Jelly (6) x 1 (265, 131)
[Aug 22 01:12:29 2008.91] Item Appeared: Dead Branch (7) x 1 (265, 131)
[Aug 22 01:12:29 2008.93] Item Appeared: Old Blue Box (8) x 1 (264, 132)
[Aug 22 01:12:29 2008.93] Item Appeared: Glass Bead (9) x 1 (263, 131)
[Aug 22 01:12:29 2008.95] Item Appeared: Nine Tails (10) x 1 (264, 132)
[Aug 22 01:12:29 2008.96] Target died
[Aug 22 01:12:30 2008.10] Unknown #110848256: [Police]
[Aug 22 01:12:30 2008.14] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 22 01:12:30 2008.20] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 22 01:12:30 2008.21] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 22 01:12:30 2008.21] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 22 01:12:30 2008.22] Unknown #110848256: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[Aug 22 01:12:30 2008.23] Unknown #110848256:
[Aug 22 01:12:30 2008.23] Unknown #110848256:
[Aug 22 01:12:30 2008.23] Unknown #110848256: Auto-continuing talking
[Aug 22 01:12:30 2008.26] Priority Attacking: Monster Poison Spore (1)
[Aug 22 01:12:30 2008.91] NPC Exists: Unknown #110848256 (263, 132) (ID 110848256) - (0)
[Aug 22 01:12:30 2008.93] Unknown #110848256: Type 'talk text' (Respond to NPC)
[Aug 22 01:12:31 2008.67] [reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller text".
[Aug 22 01:12:31 2008.15] [1] : ########
[Aug 22 01:12:31 2008.16] [2] : #
[Aug 22 01:12:31 2008.16] [3] : ############################
[Aug 22 01:12:31 2008.16] [4] : #
[Aug 22 01:12:31 2008.16] [5] : ###########################
[Aug 22 01:12:31 2008.17] [6] : ########
[Aug 22 01:12:31 2008.17] [7] : =####==####====#=======###==
[Aug 22 01:12:31 2008.17] [8] : =#=====#==#====#========#===
[Aug 22 01:12:31 2008.17] [9] : =####==#==#====#========#===
[Aug 22 01:12:31 2008.18] [10] : =#=====#==#====#========#===
[Aug 22 01:12:31 2008.18] [11] : =#=====####====####====###==
[Aug 22 01:12:31 2008.19] [12] :
[Aug 22 01:12:31 2008.19] [13] :
[Aug 22 01:12:31 2008.48] [ASCIInumber v2.2.1.b] Executing command "talk text ".
[Aug 22 01:12:31 2008.49] [ASCIInumber v2.2.1.b] *** Delay 1-3 sec. before talk text ***.
[Aug 22 01:12:34 2008.77] Attacking: Monster Dokebi (0)
[Aug 22 01:12:34 2008.13] Error in function 'talk text' (Respond to NPC)
You must specify a string.

#####################################################

i have already put those letters on asciinumberkiller but it didnt respond

example

'=#====#====#====#====####' => 'L',


please help.. i just want to ask... if one letter is wrong does it send nothing because i havent put the letter F yet before this police came.. i forgot when i edited it... but other letters are ok.. is that the reason why i got no string?
Last edited by cuteakoeh50000 on 23 Aug 2008, 01:02, edited 1 time in total.
j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

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

#206 Post by j0ey1510 »

@mucilon
do you know how to solve my problems in this plugin..??
plsss... help me...
atimets
Noob
Noob
Posts: 1
Joined: 07 Aug 2008, 00:08
Noob?: Yes

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

#207 Post by atimets »

wow :arrow: http://board.opkwin.com <$$$$$$$$$$$$>

windows98SE 's web board

:o
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

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

#208 Post by Mucilon »

j0ey1510
Sorry, but the plugin doesn't support this variable length, we need to change it to solve this problem!
Can you wait that?


EDIT
Good news....
I just edited the plugin to solve your problem! But I didn't test it.
So please download the file and test it!
Now you need to input a minimum and maximum length, like this:

Code: Select all

 ASCIInumberKiller {
	  lengthCharNumberMin 4
	  lengthCharNumberMax 8
	  BgColor ^[D-Fd-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}
The plugin will test every length inside the range, but if the min were higher than the max, the plugin won't work!
I hope it works!
ASCIInumberKiller23.pl
PS: Win98, please take a look at this code, may be you can make it better!
You do not have the required permissions to view the files attached to this post.
j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

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

#209 Post by j0ey1510 »

ok thanks mucilon...
better to try this one..
j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

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

#210 Post by j0ey1510 »

@mucilon

i already tested this new plugin..
it is now working.. can answer 4 - 8 character lenght
but some problems occur.. look at my console..
console.txt
when it try to answer a 4 character lenght no. at the last
it will answer it 5 times..

example:
the correct answer - 432
the bot will answer 4322222

do you know how to fix this thing??
thanks a lot!
You do not have the required permissions to view the files attached to this post.