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

Deckillme
Noob
Noob
Posts: 1
Joined: 22 Nov 2010, 04:38
Noob?: Yes

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

#461 Post by Deckillme »

This is my PS botKiller
Image
http://imageshack.us/photo/my-images/843/ragnaroki.png/

and this when I use the OK
Image
http://imageshack.us/photo/my-images/83 ... login.png/

this is console.txt
You are now: Night
Unknown #110101904: [Bot Check]: Type this number:
Unknown #110101904: |000000000000000000000000000000000|
Unknown #110101904: 11505|050521624033921895545340|
Unknown #110101904: 15797|02255137974673144793260|
Unknown #110101904: 3616|028601677583891567257670|
Unknown #110101904: 19898|029631825738961825797920|
Unknown #110101904: |000000000000000000000000000000000|
NPC Exists: Alice (158, 186) (ID 110101904) - (0)
Alice: Type 'talk num <number #>' to input a number.
[reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller num".
[1] : ##############################
[2] : ###################################
[3] : =====##======================##
[4] : =====##=====================##
[5] : ====##=========####=========##
[6] : =====##======================##
[7] : ###################################
[ASCIInumber v2.2.1(fix)] Executing command "talk num ".
[ASCIInumber v2.2.1(fix)] *** Delay 1-3 sec. before talk num ***.
Error in function 'talk num' (Respond to NPC)
You must specify a number.
Allowed other player invite to Party
Other players are not allowed to view your Equipment.
You uses effect: 162
You are sitting.
note : both image is not paired, 'cause I log in with 2 Id

can anybody tell me what's the name of my PS botKiller ??
responseOnASCIInumber.pl can't work with my PS botKiller :?
User avatar
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

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

#462 Post by SkylorD »

Deckillme wrote:This is my PS botKiller
Image
http://imageshack.us/photo/my-images/843/ragnaroki.png/

and this when I use the OK
Image
http://imageshack.us/photo/my-images/83 ... login.png/

this is console.txt
You are now: Night
Unknown #110101904: [Bot Check]: Type this number:
Unknown #110101904: |000000000000000000000000000000000|
Unknown #110101904: 11505|050521624033921895545340|
Unknown #110101904: 15797|02255137974673144793260|
Unknown #110101904: 3616|028601677583891567257670|
Unknown #110101904: 19898|029631825738961825797920|
Unknown #110101904: |000000000000000000000000000000000|
NPC Exists: Alice (158, 186) (ID 110101904) - (0)
Alice: Type 'talk num <number #>' to input a number.
[reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller num".
[1] : ##############################
[2] : ###################################
[3] : =====##======================##
[4] : =====##=====================##
[5] : ====##=========####=========##
[6] : =====##======================##
[7] : ###################################
[ASCIInumber v2.2.1(fix)] Executing command "talk num ".
[ASCIInumber v2.2.1(fix)] *** Delay 1-3 sec. before talk num ***.
Error in function 'talk num' (Respond to NPC)
You must specify a number.
Allowed other player invite to Party
Other players are not allowed to view your Equipment.
You uses effect: 162
You are sitting.
note : both image is not paired, 'cause I log in with 2 Id

can anybody tell me what's the name of my PS botKiller ??
responseOnASCIInumber.pl can't work with my PS botKiller :?
TIP 1: You can find useful information about HEX code colors at: http://www.drpeterjones.com/colorcalc/
TIP 2: If after all, your bot got the error Error in function 'talk num' (Respond to NPC). You must specify a number, this means that you need to input your server's numbers to the plugin, so there is a mini Tutorial of how input your server numbers to the plugin file.
TIP 3: And if you can't see any number at your console, you probable forgot to add the ASCIInumberKiller block at your config.txt file.
TIP 4: You can find useful information about regexp (the code used to compare the colors) at the quick regexp tutorial or at the complete regexp tutorial. Regexp = Perl Regular Expression.
TIP 5: Beware, during the procedure of inputing your server's numbers to the plugin, you may lost some accounts banned or chars jailed to get the correct number and / or letters.

Read on the next time.
Learn rules
bats
Noob
Noob
Posts: 1
Joined: 30 Mar 2012, 04:42
Noob?: Yes

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

#463 Post by bats »

Mortimal wrote:Solution for this post.

In 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 /.*/
}
And set:

Code: Select all

autoTalkCont 1
Use this edited plugins:
Megaupload link.

megaupload is down, can someone upload this updated plugin please thanks ^_^
natsume1st
Noob
Noob
Posts: 1
Joined: 31 Mar 2012, 20:01
Noob?: Yes

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

#464 Post by natsume1st »

hey i got problem with the bg color how did you match the server's anti bot color to hexcode ? i mean there's many color like limegreen turquoise and so on ...
could you help me find the solution ... sometimes there's number in my console but only 2 or 1 number shown ... you see i think its because each number has different background in my server's bot check
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#465 Post by glennlevi »

My server (ZetaRO) uses 3 methods, namely : number image, monster talk, and number words. The Police asks 5 questions. So far it can only answer monster talk perfectly. I just wanna ask is there a way to modify the plugin so that if it doesnt know the answer, it will just type any random number and proceed to the next question? I figured that out of those 5, at least one is monster talk, right? I want to make it so my bot automatically skips the other 2 methods and just answer the monster talk method. Thanks to whoever can help :D
User avatar
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

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

#466 Post by SkylorD »

glennlevi wrote:My server (ZetaRO) uses 3 methods, namely : number image, monster talk, and number words. The Police asks 5 questions. So far it can only answer monster talk perfectly. I just wanna ask is there a way to modify the plugin so that if it doesnt know the answer, it will just type any random number and proceed to the next question? I figured that out of those 5, at least one is monster talk, right? I want to make it so my bot automatically skips the other 2 methods and just answer the monster talk method. Thanks to whoever can help :D
You can start posting a image of police's question.
Modify the plugin so that if it doesnt know the answer
Hum ?
Learn rules
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#467 Post by glennlevi »

SkylorD wrote: You can start posting a image of police's question.
What I did was I made a macro where my bot types 235 (random number) in talk num when the console shows "Input this number:" (which is what the police says when it uses Botkiller-word numbers and Botkiller-image numbers). I botted overnight then found next morning that my character was jailed. Some time that night the police asked 5 questions - and none of them were monster talk. So I guess the questions are picked totally at random and my idea wont work.

Now I have another question, in my server I cant see the figures in Botkiller-Image Number, based from what I've learned in this tut, this happens because I have to change the hexcolor code... How do I do that? If I post my debugged console here, can you help me? :D

Also, is there any working macro here for Botkiller-Word Numbers? I've tried Mortimal's macro, and it only works for some questions..
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#468 Post by glennlevi »

I have come to a conclusion that my server has dynamic numbers and that I will not be able to decipher all of them. So, I went to the next best thing. I made a macro to play a sound every time a police will ask me a question. Then I'll just manually type the talk num '#'.
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#469 Post by glennlevi »

Has anyone tried to improve/edit mortimal's macro on word numbers? It doesnt work for the hundreds' part. Im still trying to read on and FULLY understand how macro works.

For the meantime, here are some of the numbers I have gotten from my server:

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

*These arent complete yet, most of the time my bot only answers 1 out of the three numbers correctly, sometimes it doesnt answer at all, meaning my server has wayyyyyyyyy more numbers than this T.T
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#470 Post by glennlevi »

Rejoice! I have found out what was wrong with mortimal's code!

automacro XYY{
console /.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+and\s+.?(tên|elêvên|twêlve|thïrtêên|föûrtêên|fïftêên|sïxtêên|sêvêntêên|eïghtêên|nïnêtêên|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen).?\s*$/i
call XYY
}
macro XYY{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$pt = @eval({"ten" => 10,"eleven" => 11,"twelve" => 12,"thirteen" => 13,"fourteen" => 14,"fifteen" => 15,"sixteen" => 16,"seventeen" => 17,"eighteen" => 18,"nineteen" => 19,"tên" => 10,"elêvên" => 11,"twêlve" => 12,"thïrtêên" => 13,"föûrtêên" => 14,"fïftêên" => 15,"sïxtêên" => 16,"sêvêntêên" => 17,"eïghtêên" => 18,"nïnêtêên" => 19}->{"$.lastMatch2"})
$res = @eval($h + $pt)
log $res
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro XXX{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+and\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call XXX
}

macro XXX{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch2"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch3"})
$res = @eval($h + $t + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro X0X{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+and\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call X0X
}

macro X0X{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch2"})
$res = @eval($h + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro XX0{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+and\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s*$/i
call XX0
}

macro XX0{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch2"})
$res = @eval($h + $t)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro X00{
console /^^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred(\s+and)?\s*$/i
call X00
}

macro X00{
[
$res = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
do talk num $res
}


automacro XX{
console /^.*:\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call XX
}

macro XX{
[
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch1"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch2"})
$res = @eval($t + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}


automacro YY{
console /^.*:\s+.?(tên|elêvên|twêlve|thïrtêên|föûrtêên|fïftêên|sïxtêên|sêvêntêên|eïghtêên|nïnêtêên|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen).?\s*$/i
call YY
}
macro YY{
[
$res = @eval({"ten" => 10,"eleven" => 11,"twelve" => 12,"thirteen" => 13,"fourteen" => 14,"fifteen" => 15,"sixteen" => 16,"seventeen" => 17,"eighteen" => 18,"nineteen" => 19,"tên" => 10,"elêvên" => 11,"twêlve" => 12,"thïrtêên" => 13,"föûrtêên" => 14,"fïftêên" => 15,"sïxtêên" => 16,"sêvêntêên" => 17,"eïghtêên" => 18,"nïnêtêên" => 19}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro X0{
console /^.*:\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s*$/i
call X0
}
macro X0{
[
$res = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}

automacro X{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call X
}

macro X{
[
$res = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}


It cannot answer numbers in hundreds because of "\s+and" << this line. When the police asks you the question, it says (one hundred forty five, two hundred sixty one, etc.) and not (one hundred and forty five, two hundred and sixty one, etc). So just remove the quoted line above and then the macro will work ^_^

Also, here's the monster talk if you havent found it yet:

automacro antiBotMonTalk {
console /^\[Guild\] .*: .*\s(\d+)\s.*$/
overrideAI 1
priority 1
call aBMT
}

macro aBMT {
pause 5
do talk num $.lastMatch1
release all
}

So for everyone out there with 3 botkillers (monster talk, word numbers, image numbers), we only got one thing left to fix>> image numbers or botkillerASCII. (this is the hardest method actually, since you need to manually input numbers, and your server can have as many diff type of numbers they want, or they can even change it periodically.


Ok so next up,... does anyone know how to make a macro that automatically types a set number when botkillerASCII is asked? Im trying but I dont know what conditions I can put for this to trigger. Thanks.