responseOnASCIInumber.pl #for response BotKiller(ASCII)
Moderators: Moderators, Documentation Writers
-
- Human
- Posts: 25
- Joined: 04 Apr 2008, 22:55
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
my bot is now okay thx guys
-
- Noob
- Posts: 4
- Joined: 13 Jun 2008, 04:54
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
Hi. I need hlp for this antibot: >.< look Attachments #_#
Problem:
No resp the NPC
i put this manual.
My config:
ASCIInumberKiller {
lengthCharNumber 5
BgColor ^[C-Fc-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}
reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
}
Plugin Version:
ASCIInumberKiller: Version 2.2.1.b (11/06/2008)
reactOnNPC: Version v.1.1.1
I'm w8ting reply Thx!
Problem:
No resp the NPC
i put this manual.
My config:
ASCIInumberKiller {
lengthCharNumber 5
BgColor ^[C-Fc-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}
reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
}
Plugin Version:
ASCIInumberKiller: Version 2.2.1.b (11/06/2008)
reactOnNPC: Version v.1.1.1
I'm w8ting reply Thx!
You do not have the required permissions to view the files attached to this post.
-
- Human
- Posts: 22
- Joined: 31 May 2008, 21:40
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
@RagSweet
Q: How to add another number or char
A: Read Note ^^"
line ~ 68 # C. How to add another number [ suport A-Z, if you can
]
Q: How to add another number or char
A: Read Note ^^"
line ~ 68 # C. How to add another number [ suport A-Z, if you can

-
- Noob
- Posts: 4
- Joined: 13 Jun 2008, 04:54
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
@windows98SE
thx for hlp man.
I did this, put the letters. No sucess.
Look my new log, and hlp me pls. xD
Look my new letters in ASCIInumberKiller plugin:
'######===#######====#====' => 'P',
'######===##===##===######' => 'O',
'#====#====#====#====#####' => 'L',
'######====####=#====#####' => 'E',
it's wrong?
use these letters as an example, if they are wrong.
Thx, i'm waiting your response.
thx for hlp man.
I did this, put the letters. No sucess.

Look my new log, and hlp me pls. xD
Look my new letters in ASCIInumberKiller plugin:
'######===#######====#====' => 'P',
'######===##===##===######' => 'O',
'#====#====#====#====#####' => 'L',
'######====####=#====#####' => 'E',
it's wrong?
use these letters as an example, if they are wrong.
Thx, i'm waiting your response.

You do not have the required permissions to view the files attached to this post.
-
- Human
- Posts: 22
- Joined: 31 May 2008, 21:40
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
i think you have ploblem in BG color
in config you BgColor is ^[C-Fc-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
but some BG is "BFFCE3"
fix to
[B-Fb-f][A-Fa-f0-9][C-Fc-f][A-Fa-f0-9]{3}
in config you BgColor is ^[C-Fc-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
but some BG is "BFFCE3"
fix to
[B-Fb-f][A-Fa-f0-9][C-Fc-f][A-Fa-f0-9]{3}
-
- Noob
- Posts: 4
- Joined: 13 Jun 2008, 04:54
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
@windows98SE
Bro windows98SE thx for reply.
I changed Bg color for this [B-Fb-f][A-Fa-f0-9][C-Fc-f][A-Fa-f0-9]{3}
i have no sucess:
Error in function 'talk text'
You must specify a string.
i'm posting other log console.Look and hlp me please.
Tank's.
i'm waiting your reply
Bro windows98SE thx for reply.
I changed Bg color for this [B-Fb-f][A-Fa-f0-9][C-Fc-f][A-Fa-f0-9]{3}
i have no sucess:
Error in function 'talk text'
You must specify a string.
i'm posting other log console.Look and hlp me please.

Tank's.

i'm waiting your reply

You do not have the required permissions to view the files attached to this post.
-
- Noob
- Posts: 6
- Joined: 20 May 2008, 00:30
- Noob?: No
- Location: Brazil
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
Change it in ur plugin;
sub onCheckASCII {
my (undef, $args) = @_;
# For Disply ASCII number [set "debug 2" to see detail]
@num_0 ='';
@num_1 ='';
@num_2 ='';
@num_3 ='';
$line_msg =0;
$line_msgNum =0;
my $i =0;
my $j =0;
if (!exists $config{$prefix."_0_lengthCharNumber"}) {
message "[ASCIInumber v2.2.1.b] There is no lengthCharNumber option at your config.txt file, assuming lengthCharNumber 8.\n", "success";
$lengthCharNumber = 8;
} else {
$lengthCharNumber = $config{$prefix."_0_lengthCharNumber"};
}
for ($i=1;$i < $reactOnNPC{index}+1 ;$i++) {
message "[$i] : $reactOnNPC{msg}[$i]\n", "success";
$line_msg += 1;
}
#get num & position
for ($i = 0;$i <= length($reactOnNPC{msg}[$line_msg-2]);$i++) {
for ($j=0;$j <= length($reactOnNPC{msg}[$line_msg-2]) - $lengthCharNumber;$j++) {
$num_0[$i] = substr($reactOnNPC{msg}[$line_msg-5], $i, $lengthCharNumber);
$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_1[$i] = substr($reactOnNPC{msg}[$line_msg-6], $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_2[$i] = substr($reactOnNPC{msg}[$line_msg-7], $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_3[$i] = substr($reactOnNPC{msg}[$line_msg-8], $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);
}
$line_msgNum += 1;
}
undef %reactOnNPC if defined %reactOnNPC;
}
and add that in ur config.txt
reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
msg_7 /.*/
}
Credits by windows98SE
sub onCheckASCII {
my (undef, $args) = @_;
# For Disply ASCII number [set "debug 2" to see detail]
@num_0 ='';
@num_1 ='';
@num_2 ='';
@num_3 ='';
$line_msg =0;
$line_msgNum =0;
my $i =0;
my $j =0;
if (!exists $config{$prefix."_0_lengthCharNumber"}) {
message "[ASCIInumber v2.2.1.b] There is no lengthCharNumber option at your config.txt file, assuming lengthCharNumber 8.\n", "success";
$lengthCharNumber = 8;
} else {
$lengthCharNumber = $config{$prefix."_0_lengthCharNumber"};
}
for ($i=1;$i < $reactOnNPC{index}+1 ;$i++) {
message "[$i] : $reactOnNPC{msg}[$i]\n", "success";
$line_msg += 1;
}
#get num & position
for ($i = 0;$i <= length($reactOnNPC{msg}[$line_msg-2]);$i++) {
for ($j=0;$j <= length($reactOnNPC{msg}[$line_msg-2]) - $lengthCharNumber;$j++) {
$num_0[$i] = substr($reactOnNPC{msg}[$line_msg-5], $i, $lengthCharNumber);
$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_1[$i] = substr($reactOnNPC{msg}[$line_msg-6], $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_2[$i] = substr($reactOnNPC{msg}[$line_msg-7], $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_3[$i] = substr($reactOnNPC{msg}[$line_msg-8], $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);
}
$line_msgNum += 1;
}
undef %reactOnNPC if defined %reactOnNPC;
}
and add that in ur config.txt
reactOnNPC ASCIInumberKiller text {
type text
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
msg_7 /.*/
}
Credits by windows98SE
-
- Human
- Posts: 22
- Joined: 31 May 2008, 21:40
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
why ?
Error in function 'talk text'
You must specify a string.
ans : b'cuz you server use "blank line" in 2 last line
i will update in next version (now, i reply in Class -*-, brb in 18.00)
Error in function 'talk text'
You must specify a string.
ans : b'cuz you server use "blank line" in 2 last line
i will update in next version (now, i reply in Class -*-, brb in 18.00)
-
- Noob
- Posts: 4
- Joined: 13 Jun 2008, 04:54
- Noob?: No
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
krrado > windows98SE
Thx my bot now is working perfectly.
/no1
Thx my bot now is working perfectly.

-
- Noob
- Posts: 1
- Joined: 20 Jun 2008, 04:41
- Noob?: Yes
Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
sorry.......
Last edited by neocotine on 27 Jun 2008, 12:29, edited 2 times in total.