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

kingkevz
Human
Human
Posts: 25
Joined: 04 Apr 2008, 22:55

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

#141 Post by kingkevz »

my bot is now okay thx guys
RagSweet
Noob
Noob
Posts: 4
Joined: 13 Jun 2008, 04:54
Noob?: No

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

#142 Post by RagSweet »

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!
You do not have the required permissions to view the files attached to this post.
windows98SE
Human
Human
Posts: 22
Joined: 31 May 2008, 21:40
Noob?: No

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

#143 Post by windows98SE »

@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 :) ]
Free !!, All about BOT SETTING, Plz. Read Openkore Manual
RagSweet
Noob
Noob
Posts: 4
Joined: 13 Jun 2008, 04:54
Noob?: No

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

#144 Post by RagSweet »

@windows98SE

thx for hlp man.

I did this, put the letters. No sucess. :cry:
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. :D
You do not have the required permissions to view the files attached to this post.
windows98SE
Human
Human
Posts: 22
Joined: 31 May 2008, 21:40
Noob?: No

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

#145 Post by windows98SE »

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}
Free !!, All about BOT SETTING, Plz. Read Openkore Manual
RagSweet
Noob
Noob
Posts: 4
Joined: 13 Jun 2008, 04:54
Noob?: No

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

#146 Post by RagSweet »

@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. :cry:
Tank's. ;)
i'm waiting your reply :D
You do not have the required permissions to view the files attached to this post.
krrado
Noob
Noob
Posts: 6
Joined: 20 May 2008, 00:30
Noob?: No
Location: Brazil

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

#147 Post by krrado »

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
windows98SE
Human
Human
Posts: 22
Joined: 31 May 2008, 21:40
Noob?: No

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

#148 Post by windows98SE »

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)
Free !!, All about BOT SETTING, Plz. Read Openkore Manual
RagSweet
Noob
Noob
Posts: 4
Joined: 13 Jun 2008, 04:54
Noob?: No

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

#149 Post by RagSweet »

krrado > windows98SE

Thx my bot now is working perfectly.
:D /no1
neocotine
Noob
Noob
Posts: 1
Joined: 20 Jun 2008, 04:41
Noob?: Yes

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

#150 Post by neocotine »

sorry.......
Last edited by neocotine on 27 Jun 2008, 12:29, edited 2 times in total.