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

Avior
Noob
Noob
Posts: 7
Joined: 25 Jan 2011, 23:23
Noob?: No

No one can help this topic?

#511 Post by Avior »

Since my post already almost 4days and nobody respond, i will post more spesifictly, cross my finger.. HOPE somebody could help ^__^


Iam using "debug 0"

Console
[May 3 11:27:36 2013.80] You are now: look: GM Perfect Hide
[May 3 11:27:36 2013.87] You are now: look: Ruwach
[May 3 11:27:37 2013.58] You are now: state: Frozen
[May 3 11:27:37 2013.12] [responseOnNPCImage] Image name >> "mets_alpha.bmp"
[May 3 11:27:37 2013.19] Unknown #110012667: [Police]
[May 3 11:27:37 2013.25] Unknown #110012667:
[May 3 11:27:37 2013.32] Unknown #110012667: Enter the following letters:
[May 3 11:27:37 2013.39] Unknown #110012667:
[May 3 11:27:37 2013.45] Unknown #110012667: ninêtÿ seconds to respond
[May 3 11:27:37 2013.52] Unknown #110012667: Auto-continuing talking
[May 3 11:27:37 2013.59] [reactOnNPC] onNPCAction type is: continue.
[May 3 11:27:37 2013.67] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:37 2013.74] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:37 2013.85] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:37 2013.93] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:38 2013.13] Item added to inventory: Bronze Coin (4) x 1 - Non-usable
[May 3 11:27:38 2013.81] Item added to inventory: Old Blue Box (6) x 1 - Usable
[May 3 11:27:38 2013.15] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:38 2013.22] Packet Parser: Unhandled Packet: 07F6 Handler: exp
[May 3 11:27:38 2013.67] Unknown #110012667: [Police]
[May 3 11:27:38 2013.73] Unknown #110012667: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
[May 3 11:27:38 2013.81] Unknown #110012667: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
[May 3 11:27:38 2013.87] Unknown #110012667: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
[May 3 11:27:38 2013.95] Unknown #110012667: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
[May 3 11:27:39 2013.17] Unknown #110012667: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
[May 3 11:27:39 2013.84] Unknown #110012667:
[May 3 11:27:39 2013.15] Unknown #110012667:
[May 3 11:27:39 2013.22] Unknown #110012667: Auto-continuing talking
[May 3 11:27:39 2013.29] [reactOnNPC] onNPCAction type is: continue.
[May 3 11:27:39 2013.65] NPC Exists: Unknown #110012667 (142, 112) (ID 110012667) - (0)
[May 3 11:27:39 2013.72] Unknown #110012667: Type 'talk text' (Respond to NPC)
[May 3 11:27:39 2013.78] [reactOnNPC] onNPCAction type is: text.
[May 3 11:27:39 2013.85] [reactOnNPC] Reacting to NPC. Executing command "ASCIItextKiller text".
[May 3 11:27:39 2013.91] [ASCIItext v2.2.1.b] There is no lengthChartext option at your config.txt file, assuming lengthChartext 8.
[May 3 11:27:39 2013.98] [1] : ########
[May 3 11:27:40 2013.44] [2] : #
[May 3 11:27:40 2013.10] [3] : ############################
[May 3 11:27:40 2013.17] [4] : #
[May 3 11:27:40 2013.23] [5] : ###########################
[May 3 11:27:40 2013.29] [6] : ########
[May 3 11:27:40 2013.36] [7] : #####==#===#====#====#####==
[May 3 11:27:40 2013.42] [8] : #======#==#====#=#===#===#==
[May 3 11:27:40 2013.49] [9] : ####===###====#===#==####===
[May 3 11:27:40 2013.55] [10] : #======#==#===#####==#===#==
[May 3 11:27:40 2013.61] [11] : #####==#===#==#===#==#####==
[May 3 11:27:40 2013.68] [12] :
[May 3 11:27:40 2013.74] [13] :
[May 3 11:27:40 2013.81] [AvioR ASCIItext] Executing command "talk text ".
[May 3 11:27:40 2013.88] [AvioR ASCIItext] *** Delay 1-4 sec. before talk text ***.
[May 3 11:27:44 2013.15] Error in function 'talk text' (Respond to NPC)
You must specify a string.
I split the words

[May 3 11:27:40 2013.36] [07] : ##### == #===# == ==#== == ##### ==
[May 3 11:27:40 2013.42] [08] : #==== == #==#= == =#=#= == #===# ==
[May 3 11:27:40 2013.49] [09] : ####= == ###== == #===# == ####= ==
[May 3 11:27:40 2013.55] [10] : #==== == #==#= == ##### == #===# ==
[May 3 11:27:40 2013.61] [10] : ##### == #===# == #===# == ##### ==

i combine the words to be a method

E: ######====####=#====#####

K: #===##==#=###==#==#=#===#

A: ==#===#=#=#===#######===#

B: ######===#####=#===######

Now.. i will post my method on plugins
'######===#######===##===#' => 'A',
'=###=#===#######===##===#' => 'A',
'======###=#===#######===#' => 'A',
'###==#=#==###==#=#==#=#==' => 'A',
'==#===#=#=#===#######===#' => 'A',
'=##==#==#=####=#==#======' => 'A',
'######===#####=#===######' => 'B',
'#=####===#####=#===######' => 'B',
'#====#====###==#=#==###==' => 'B',
'###==#==#=###==#==#=###==' => 'B',
'######====#====#====#####' => 'C',
'####=#====#====#====####=' => 'C',
'###==#====#====#====###==' => 'C',
'=====###==#====#====###==' => 'C',
'=====####=#====#====####=' => 'C',
'###==#==#=#===##===#####=' => 'D',
'####=#===##===##===#####=' => 'D',
'####=#===##===#####======' => 'D',
'=====####=#===##===#####=' => 'D',
'###==#==#=#==#=#==#=###==' => 'D',
'=====###==#==#=#==#=###==' => 'D',
'=###==#==#=#==#=###======' => 'D',
'######====####=#====#####' => 'E',
'######====######====#####' => 'E',
'####=#====####=#====####=' => 'E',
'####=#====###==#====####=' => 'E',
'###==#====###==#====###==' => 'E',
'###==#====##===#====###==' => 'E',
'####=#====##===#====####=' => 'E',
'######====####=#====#====' => 'F',
'####=#====####=#====#====' => 'F',
'###==#====##===#====#====' => 'F',
'####=#====###==#====#====' => 'F',
'###==#====###==#====#====' => 'F',
'######====#==###===######' => 'G',
'######====#=####===######' => 'G',
'=####=#====#=##=#==#=####' => 'G',
'####=#====#=##=#==#==####' => 'G',
'#===##===#######===##===#' => 'H',
'#=#==#=#==###==#=#==#=#==' => 'H',
'#==#=#==#=####=#==#=#==#=' => 'H',
'=###===#====#====#===###=' => 'I',
'#####==#====#====#==#####' => 'I',
'=====###===#====#===###==' => 'I',
'###===#====#===###=======' => 'I',
'###===#====#====#===###==' => 'I',
'=###===#====#==#=#==###==' => 'J',
'=###===#==#=#==###=======' => 'J',
'#===##==#=###==#==#=#===#' => 'K',
'#====#====#====#====#####' => 'L',
'#====#====#====#====####=' => 'L',
'#====#====#====###=======' => 'L',
'=====#====#====#====###==' => 'L',
'#====#====#====#====###==' => 'L',
'#===###=###=#=##===##===#' => 'M',
'=====#===###=###=#=##===#' => 'M',
'#===###=###=#=##===#=====' => 'M',
'#===#=====##=##=====#=#=#' => 'M',
'##==##=#=##==###===#=====' => 'N',
'=====##==##=#=##==###===#' => 'N',
'#===###==##=#=##==###===#' => 'N',
'######===##===##===######' => 'O',
'###=##===##===##===######' => 'O',
'####=#==#=#==#=#==#=####=' => 'O',
'####=#==#=#==#=####======' => 'O',
'=====####=#==#=#==#=####=' => 'O',
'=====###==#=#==#=#==###==' => 'O',
'###==#=#==#=#==###=======' => 'O',
'######===#######====#====' => 'P',
'####=#==#=####=#====#====' => 'P',
'###==#=#==###==#====#====' => 'P',
'####=#==#=###==#==#=#===#' => 'R',
'####=#==#=###==#====#===#' => 'R',
'###==#==#=#==#=###==#==#=' => 'R',
'###==#==#=###==#==#=#===#' => 'R',
'###==#==#=#==#=###==#===#' => 'R',
'######====#####====######' => 'S',
'####=#====####====#=####=' => 'S',
'#####==#====#====#====#==' => 'T',
'=====###===#====#====#===' => 'T',
'###===#====#====#========' => 'T',
'###===#====#====#====#===' => 'T',
'#===##===##===##===######' => 'U',
'#===##===##===##===#=###=' => 'U',
'#==#=#==#=#==#=#==#=####=' => 'U',
'#==#=#==#=#==#=#==#==##==' => 'U',
'#===##===#=#=#==#=#===#==' => 'V',
'#===#======#=#===#=======' => 'V',
'=====#===##===#=#=#===#==' => 'V',
'#===##===##===#=#=#===#==' => 'V',
'#===#====##=#=##=#=#=#=#=' => 'W',
'#===##===##=#=##=#=#=#=#=' => 'W',
'#===##=#=##=#=#=###======' => 'W',
'#===##===##=#=##=#=#=###=' => 'W',
'=====#===##=#=##=#=#=###=' => 'W',
'#===#=#=#===#===#=#=#===#' => 'X',
'#=#===#===#=#============' => 'X',
'==========#=#===#===#=#==' => 'X',
'=====#=#===#===#=#=======' => 'X',
'=#==#=#==#==##===#===#===' => 'Y',
'=#==#=#==#==#====#===#===' => 'Y',
'#===#=#=#===#====#====#==' => 'Y',
'#####===#===#===#===#####' => 'Z',
wohoo... see? i have already that method.. the question is.. WHY the plugins still not answered even just one word!

my server using 2 police randomly, 1st: number and the 2nd: words.

for number, the plugins just did perfectly.. but, for the words doesnt work!

maybe some of you out there have any solution for this... i wish you could help me. thanks
pepengmaghapon
Human
Human
Posts: 21
Joined: 03 Nov 2011, 03:53
Noob?: Yes

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

#512 Post by pepengmaghapon »

glennlevi wrote: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.
The code doesn't seem to work. I was unable to get a screenshot of the console but I got jailed though the monster talk is working. Could you help me out?
willpitt
Noob
Noob
Posts: 5
Joined: 23 Apr 2013, 16:53
Noob?: Yes

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

#513 Post by willpitt »

hi guys please help me
im on try to using ASCIInumberKiller

i am already add this one to my config.txt and macros.txt

Code: Select all

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

Code: Select all

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+.?(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+.?(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+.?(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+.?(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*$/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
}
but there is have a problem

this is the problem
http://i44.tinypic.com/35lybh5.jpg


but when i remove the macros
everything is running well


may anyone solve this problem please?
help me....
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

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

#514 Post by glennlevi »

pepengmaghapon wrote: The code doesn't seem to work. I was unable to get a screenshot of the console but I got jailed though the monster talk is working. Could you help me out?
The problem ~ You just copy pasted everything. The macro you quoted was unedited. In the bottom of that post I put what you should still edit to make it work. Read it again. Dont just copy paste stuff without reading the whole post, thats just plain lazy.


willpitt wrote:hi guys please help me
im on try to using ASCIInumberKiller

but there is have a problem

this is the problem
http://i44.tinypic.com/35lybh5.jpg


but when i remove the macros
everything is running well


may anyone solve this problem please?
help me....
Obviously you didnt browse around this forum long enough. Your problem is a common one. You are getting the UTF-8 error thing. The solution is simple. Open your macros.txt with notepad. Save it with "Save As" and under encoding options, select "UTF-8".
willpitt
Noob
Noob
Posts: 5
Joined: 23 Apr 2013, 16:53
Noob?: Yes

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

#515 Post by willpitt »

glennlevi wrote:
Obviously you didnt browse around this forum long enough. Your problem is a common one. You are getting the UTF-8 error thing. The solution is simple. Open your macros.txt with notepad. Save it with "Save As" and under encoding options, select "UTF-8".
thanks dude
its work full
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: No one can help this topic?

#516 Post by Mucilon »

Avior wrote:Since my post already almost 4days and nobody respond, i will post more spesifictly, cross my finger.. HOPE somebody could help ^__^

Iam using "debug 0"

wohoo... see? i have already that method.. the question is.. WHY the plugins still not answered even just one word!

my server using 2 police randomly, 1st: number and the 2nd: words.

for number, the plugins just did perfectly.. but, for the words doesnt work!

maybe some of you out there have any solution for this... i wish you could help me. thanks
Has been a long time since I stopped playing Ragnarok... it seems that this macro is still very usefull!
In your case, you haven't used this code in the config file:

Code: Select all

lengthChartext 5
Can you see the line:
[May 3 11:27:39 2013.91] [ASCIItext v2.2.1.b] There is no lengthChartext option at your config.txt file, assuming lengthChartext 8.

Good luck!
Avior
Noob
Noob
Posts: 7
Joined: 25 Jan 2011, 23:23
Noob?: No

Re: No one can help this topic?

#517 Post by Avior »

Mucilon wrote: Has been a long time since I stopped playing Ragnarok... it seems that this macro is still very usefull!
In your case, you haven't used this code in the config file:

Code: Select all

lengthChartext 5
Can you see the line:
[May 3 11:27:39 2013.91] [ASCIItext v2.2.1.b] There is no lengthChartext option at your config.txt file, assuming lengthChartext 8.

Good luck!
it is very usefull and thanks to you to coming back here..

actualy i duplicate that plugins so i have 2
1. responseOnASCIInumber.pl
2. responseOnASCIItext.pl

i did that because the police asking randomly to answer number and text, they got deferent length and deferent colours so in my config i got 2
reactOnNPC ASCIInumberKiller num {
type number
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
}

#Use this when you need to answer a text
reactOnNPC ASCIItextKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
}

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

ASCIItextKiller {
lengthChartext 5
BgColor ^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}
and also.. i did some changes in the plugins.. in this line.. please check it as well maybe its wrong.. or cousing trouble

inside responseOnASCIInumber.pl
for ($i = 0;$i <= length($reactOnNPC{msg}[$line_msg-1]);$i++) {
for ($j=0;$j <= length($reactOnNPC{msg}[$line_msg-1]) - $lengthCharNumber;$j++) {
$num_0[$i] = substr($reactOnNPC{msg}[$line_msg-4], $i, $lengthCharNumber);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $lengthCharNumber);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-2], $i, $lengthCharNumber);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-1], $i, $lengthCharNumber);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg], $i, $lengthCharNumber);

$num_1[$i] = substr($reactOnNPC{msg}[$line_msg-5], $i, $lengthCharNumber);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $lengthCharNumber);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $lengthCharNumber);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-2], $i, $lengthCharNumber);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-1], $i, $lengthCharNumber);

$num_2[$i] = substr($reactOnNPC{msg}[$line_msg-6], $i, $lengthCharNumber);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-5], $i, $lengthCharNumber);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $lengthCharNumber);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $lengthCharNumber);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-2], $i, $lengthCharNumber);

$num_3[$i] = substr($reactOnNPC{msg}[$line_msg-7], $i, $lengthCharNumber);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-6], $i, $lengthCharNumber);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-5], $i, $lengthCharNumber);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $lengthCharNumber);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $lengthCharNumber);
}
$line_msgNum += 1;
}
inside responseOnASCIItext.pl
for ($i = 0;$i <= length($reactOnNPC{msg}[$line_msg-2]);$i++) {
for ($j=0;$j <= length($reactOnNPC{msg}[$line_msg-2]) - $panjangChartext;$j++) {
$num_0[$i] = substr($reactOnNPC{msg}[$line_msg-5], $i, $panjangChartext);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $panjangChartext);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $panjangChartext);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-2], $i, $panjangChartext);
$num_0[$i] .= substr($reactOnNPC{msg}[$line_msg-1], $i, $panjangChartext);

$num_1[$i] = substr($reactOnNPC{msg}[$line_msg-6], $i, $panjangChartext);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-5], $i, $panjangChartext);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $panjangChartext);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $panjangChartext);
$num_1[$i] .= substr($reactOnNPC{msg}[$line_msg-2], $i, $panjangChartext);

$num_2[$i] = substr($reactOnNPC{msg}[$line_msg-7], $i, $panjangChartext);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-6], $i, $panjangChartext);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-5], $i, $panjangChartext);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $panjangChartext);
$num_2[$i] .= substr($reactOnNPC{msg}[$line_msg-3], $i, $panjangChartext);

$num_3[$i] = substr($reactOnNPC{msg}[$line_msg-8], $i, $panjangChartext);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-7], $i, $panjangChartext);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-6], $i, $panjangChartext);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-5], $i, $panjangChartext);
$num_3[$i] .= substr($reactOnNPC{msg}[$line_msg-4], $i, $panjangChartext);
}
$line_msgNum += 1;
}
its works BUT.. sometimes my bot answering double text.. example...
[May 20 02:28:09 2013.38] You are now: state: Frozen
[May 20 02:28:09 2013.39] Unknown #110012668: [Police]
[May 20 02:28:09 2013.40] Unknown #110012668:
[May 20 02:28:09 2013.41] Unknown #110012668: Enter the following letters:
[May 20 02:28:09 2013.41] [macro] automacro TextAntiBot triggered.
[May 20 02:28:09 2013.43] Unknown #110012668:
[May 20 02:28:09 2013.44] Unknown #110012668: ninêtÿ seconds to respond
[May 20 02:28:09 2013.44] Unknown #110012668: Auto-continuing talking
[May 20 02:28:09 2013.45] [reactOnNPC] onNPCAction type is: continue.
[May 20 02:28:10 2013.50] Unknown #110012668: [Police]
[May 20 02:28:10 2013.50] Unknown #110012668: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[May 20 02:28:10 2013.51] Unknown #110012668: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[May 20 02:28:10 2013.52] Unknown #110012668: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[May 20 02:28:10 2013.53] Unknown #110012668: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[May 20 02:28:10 2013.54] Unknown #110012668: SSSSSSSSSSSSSSSSSSSSSSSSSSSS
[May 20 02:28:10 2013.54] Unknown #110012668:
[May 20 02:28:10 2013.55] Unknown #110012668:
[May 20 02:28:10 2013.56] Unknown #110012668: Auto-continuing talking
[May 20 02:28:10 2013.57] [reactOnNPC] onNPCAction type is: continue.
[May 20 02:28:14 2013.33] NPC Exists: Unknown #110012668 (162, 48) (ID 110012668) - (0)
[May 20 02:28:14 2013.40] Unknown #110012668: Type 'talk text' (Respond to NPC)
[May 20 02:28:14 2013.48] [reactOnNPC] onNPCAction type is: text.
[May 20 02:28:14 2013.56] [reactOnNPC] Reacting to NPC. Executing command "ASCIItextKiller text".
[May 20 02:28:14 2013.64] [ASCIItext v2.2.1.b] There is no panjangChartext option at your config.txt file, assuming panjangChartext 8.
[May 20 02:28:14 2013.71] [1] : ##########
[May 20 02:28:14 2013.77] [2] : #########################################################################
[May 20 02:28:14 2013.85] [3] : ##########
[May 20 02:28:14 2013.91] [4] : ##############################
[May 20 02:28:14 2013.98] [5] : ##########
[May 20 02:28:14 2013.10] [6] : ######################################################################################
[May 20 02:28:14 2013.11] [7] : ########
[May 20 02:28:14 2013.11] [8] : #
[May 20 02:28:14 2013.12] [9] : ############################
[May 20 02:28:14 2013.13] [10] : #
[May 20 02:28:14 2013.14] [11] : ###########################
[May 20 02:28:14 2013.14] [12] : ########
[May 20 02:28:14 2013.15] [13] : #===#==#===#====#====#======
[May 20 02:28:14 2013.16] [14] : #===#==##=##===#=#===#======
[May 20 02:28:14 2013.16] [15] : #===#==#=#=#==#===#==#======
[May 20 02:28:14 2013.17] [16] : #===#==#===#==#####==#======
[May 20 02:28:14 2013.18] [17] : #####==#===#==#===#==#####==
[May 20 02:28:14 2013.18] [18] :
[May 20 02:28:14 2013.19] [19] :
[May 20 02:28:14 2013.21] [AvioR ASCIItext] Executing command "talk text UTMAL".
[May 20 02:28:14 2013.21] [AvioR ASCIItext] *** Delay 1-3 sec. before talk text UTMAL ***.
[May 20 02:28:17 2013.11] Unknown #110012668: Auto-continuing talking
[May 20 02:28:17 2013.11] [reactOnNPC] onNPCAction type is: continue.
[May 20 02:28:17 2013.27] Unknown #110012668: [Police]
[May 20 02:28:17 2013.28] Unknown #110012668: No, the right answer is: umal
whats wrong with that? otherwise, it's works fine with "ASCIInumber" only for the "ASCIItext" also.. i have the complete data from
'######===#######===##===#' => 'A',
until
'#####===#===#===#===#####' => 'Z'

can you help me mate?
rafi007
Noob
Noob
Posts: 2
Joined: 01 Jun 2013, 10:02
Noob?: No

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

#518 Post by rafi007 »

is there someone can help my anti bot ?
this is a botkiller#1

here's my log console
[Jun 12 10:53:14 2013.75] You have look: GM Perfect Hide.
[Jun 12 10:53:14 2013.75] You have look: Ruwach.
[Jun 12 10:53:14 2013.75] You have look: Orc Head.
[Jun 12 10:53:14 2013.75] You are in Frozen state.
[Jun 12 10:53:14 2013.75] You uses effect: 135
[Jun 12 10:53:14 2013.76] Unknown #111280688: [Kafra]
[Jun 12 10:53:14 2013.76] Unknown #111280688: Look all 3 digits that will be appear in your screen then input the complete number:
[Jun 12 10:53:14 2013.76] Unknown #111280688:
[Jun 12 10:53:14 2013.76] Unknown #111280688: * Attempt 1 of 5 *
[Jun 12 10:53:14 2013.76] Unknown #111280688: Auto-continuing talking
[Jun 12 10:53:14 2013.82] Unknown #111280688: [Kafra]
[Jun 12 10:53:14 2013.82] Unknown #111280688: First digit:
[Jun 12 10:53:14 2013.83] Unknown #111280688: ?--
[Jun 12 10:53:14 2013.83] Unknown #111280688:
[Jun 12 10:53:14 2013.83] Unknown #111280688: * Attempt 1 of 5 *
[Jun 12 10:53:14 2013.83] Unknown #111280688: Auto-continuing talking
Jun 12 10:53:14 2013.90] Unknown #111280688: [Kafra]
[Jun 12 10:53:14 2013.90] Unknown #111280688: Second digit:
[Jun 12 10:53:14 2013.91] Unknown #111280688: -?-
[Jun 12 10:53:14 2013.91] Unknown #111280688:
[Jun 12 10:53:14 2013.91] Unknown #111280688: * Attempt 1 of 5 *
[Jun 12 10:53:14 2013.91] Unknown #111280688: Auto-continuing talking
[Jun 12 10:53:14 2013.96] Unknown #111280688: [Kafra]
[Jun 12 10:53:14 2013.97] Unknown #111280688: Last digit:
[Jun 12 10:53:14 2013.97] Unknown #111280688: --?
[Jun 12 10:53:14 2013.97] Unknown #111280688:
[Jun 12 10:53:14 2013.97] Unknown #111280688: * Attempt 1 of 5 *
[Jun 12 10:53:14 2013.97] Unknown #111280688: Auto-continuing talking
[Jun 12 10:53:15 2013.16] NPC Exists: Unknown #111280688 (116, 111) (ID 111280688) - (0)
[Jun 12 10:53:15 2013.18] ----------Responses-----------
# Response
0 I have it!
1 View digits again.
2 Cancel Chat

and i put this in my config.txt

reactOnNPC talkImage num {
type number
msg_0 [Bot Check]
msg_1 Please enter the 3 numbers you see in order:
}

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


i need our help, sorry for my bad english, thankyou sir :)
kisslovemeeh
Noob
Noob
Posts: 2
Joined: 01 Jan 2010, 13:06
Noob?: Yes

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

#519 Post by kisslovemeeh »

Image

Hello can you guys help about this anti bot?
angelozoid
Noob
Noob
Posts: 1
Joined: 09 Jul 2013, 03:28
Noob?: Yes

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

#520 Post by angelozoid »

anyone can help AntiBot like this?

Image
[Jul 9 15:11:59 2013.39] Anda memiliki status: state: Frozen
[Jul 9 15:11:59 2013.39] Options changed.
[Jul 9 15:11:59 2013.39] You are now immune to attacks.
[Jul 9 15:11:59 2013.40] Anda memiliki status: look: Hiding
[Jul 9 15:11:59 2013.40] Anda memiliki status: Endure (Durasi: 1000000s)
[Jul 9 15:11:59 2013.40] Anda memiliki status: Berserk (Durasi: 1000000s)
[Jul 9 15:11:59 2013.46] [responseOnNPCImage] Image name >> "BKD1.bmp"
[Jul 9 15:11:59 2013.46] Unknown #113948610: Bot checking time
[Jul 9 15:11:59 2013.46] Unknown #113948610: Tolong dibaca
[Jul 9 15:11:59 2013.46] Unknown #113948610: Cara menjawab Antibot adalah sebagai berikut
[Jul 9 15:11:59 2013.47] Unknown #113948610: Perhatikan RUMUS yang akan muncul setelah ini
[Jul 9 15:11:59 2013.47] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.47] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.47] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.48] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.48] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.25] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.25] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.25] Unknown #113948610: ##########################
[Jul 9 15:11:59 2013.25] Unknown #113948610: Secara otomatis melanjutkan pembicaraan
[Jul 9 15:11:59 2013.26] Mengijinkan player lain untuk diundang dalam grup
[Jul 9 15:11:59 2013.26] Tidak memperbolehkan player lain melihat equipment anda.
[Jul 9 15:11:59 2013.34] Unknown #113948610: ANGKA BERWARNA HITAM '+' GAMBAR = HASIL
[Jul 9 15:11:59 2013.34] Unknown #113948610: ###############################################################################################################################################################################
[Jul 9 15:11:59 2013.35] Unknown #113948610: Hasilnya adalah ? ? ? ?
[Jul 9 15:11:59 2013.35] Terdapat NPC : Unknown #113948610 (147, 313) (ID 113948610) - (0)
[Jul 9 15:11:59 2013.35] Unknown #113948610: Ketik 'talk num <nomor #>' untuk memasukkan nomor.
[Jul 9 15:11:59 2013.36] [reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller num".
[Jul 9 15:11:59 2013.36] [1] : #################
[Jul 9 15:11:59 2013.36] [2] : #############
[Jul 9 15:11:59 2013.36] [3] : ############################################
[Jul 9 15:11:59 2013.36] [4] : #############################################
[Jul 9 15:11:59 2013.37] [5] : ==========================
[Jul 9 15:11:59 2013.37] [6] : ==========================
[Jul 9 15:11:59 2013.37] [7] : ==========================
[Jul 9 15:11:59 2013.37] [8] : ==========================
[Jul 9 15:11:59 2013.42] [9] : ==========================
[Jul 9 15:11:59 2013.42] [10] : ==========================
[Jul 9 15:11:59 2013.43] [11] : ==========================
[Jul 9 15:11:59 2013.43] [12] : ==========================
[Jul 9 15:11:59 2013.43] [13] : ##########################################
[Jul 9 15:11:59 2013.43] [14] : ==#######====#######=================#=====#==========#=================#######====#######=======================#==========#=================#######====#######===============
[Jul 9 15:11:59 2013.43] [15] : ########################
[Jul 9 15:11:59 2013.62] [ASCIInumber v2.2.1(fix)] Executing command "talk num ".
[Jul 9 15:11:59 2013.62] [ASCIInumber v2.2.1(fix)] *** Delay 1-3 sec. before talk num ***.
[Jul 9 15:12:01 2013.17] Error in function 'talk num' (Respond to NPC)
You must specify a number.
this my config*
ASCIInumberKiller {
lengthCharNumber 7
BgColor ^[D-Fd-f][B-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}

#Use this when you need to answer a number
reactOnNPC ASCIInumberKiller num {
type number
}

reactOnNPC ASCIInumberKiller cont {
type number
}

#Use this when you need to answer a text
reactOnNPC ASCIInumberKiller text {
type text
}
Very Confuse......(sorry my bad english)
Thanks