Openkore.com

OpenKore Forums
It is currently 22 Sep 2019, 20:40

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 572 posts ]  Go to page Previous  1 ... 54, 55, 56, 57, 58  Next
Author Message
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 17 Jun 2014, 13:16 
Offline
Human
Human

Joined: 11 Jun 2014, 12:13
Posts: 32
This is the log.
Quote:
[npc] Unknown #110028175: Type 'talk text' (Respond to NPC)
[plugin] [reactOnNPC] onNPCAction type is: text.
[plugin] [reactOnNPC] Conditions for reactOnNPC_0 (npc:text, rect:number) 'type' not met.
[plugin] [reactOnNPC] Conditions for reactOnNPC_1 (npc:text , rect:text) is met.
[plugin] [reactOnNPC] Matching [msg (0)] "[Police]" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (1)] "HHHHHHHHHHHHHHHHHHHHHHHHHHHH" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (2)] "HHHHHHHHHHHHHHHHHHHHHHHHHHHH" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (3)] "HHHHHHHHHHHHHHHHHHHHHHHHHHHH" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (4)] "HHHHHHHHHHHHHHHHHHHHHHHHHHHH" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (5)] "HHHHHHHHHHHHHHHHHHHHHHHHHHHH" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (6)] "" to "/[#=]*/" ... regexp ok.
[plugin] [reactOnNPC] Matching [msg (7)] "" to "/[#=]*/" ... regexp ok.
[success] [reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller text".
[success] [responseOnASCIInumber] lengthCharNumber is 7
[success] [01] : ########
[success] [02] : ############################
[success] [03] : #
[success] [04] : ##########################################
[success] [05] : ######################
[success] [06] : ########
[success] [07] : #
[success] [08] : ############################
[success] [09] : #
[success] [10] : ############################
[success] [11] : ########
[success] [12] : ####=====#====#####==#####==
[success] [13] : #==#====#=#===#===#==#======
[success] [14] : ###====#===#==####===####===
[success] [15] : #==#===#####==#===#==#======
[success] [16] : #===#==#===#==#####==#####==
[success] [17] :
[success] [18] :
[success] [responseOnASCIInumber] Wait 3 sec. and executing command: "talk text ".
[console] Error in function 'talk text' (Respond to NPC)
You must specify a string.


This is my config.
Code:
ASCIInumberKiller {
   lengthCharNumber 7
   useColors 1
   BgColor ^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}
}

reactOnNPC ASCIInumberKiller num {
   type number
msg_0 /[#=]*/
msg_1 /[#=]*/
msg_2 /[#=]*/
msg_3 /[#=]*/
msg_4 /[#=]*/
msg_5 /[#=]*/
msg_6 /[#=]*/
}

reactOnNPC ASCIInumberKiller text {
   type text
msg_1 /[#=]*/
msg_2 /[#=]*/
msg_3 /[#=]*/
msg_4 /[#=]*/
msg_5 /[#=]*/
msg_6 /[#=]*/
}

######## Main configuration ########

reactOnNPC_debug 1



And this is the .pl file edited by me.
Code:
###########################
# Plugin: responseOnASCIInumber.pl
# Version: 3 (24/08/2013)
#
package responseOnASCIInumber;

use strict;
use Plugins;
use Utils;
use Globals;
use Misc;
use Log qw(message debug);

my $line_msgNum;
my $prefix = "ASCIInumberKiller";
my @num_0;
my @num_1;
my @num_2;
my @num_3;
my %reactOnNPC;

Plugins::register('responseOnASCIInumber', 'response On ASCII number', \&onUnload, \&onUnload);
my $cmd = Commands::register(['ASCIInumberKiller', 'talk response On ASCII number', \&onASCIICmd]);
my $cmd2 = Commands::register(['z', 'talk response On ASCII number', \&onASCIICmd]);

my $hooks = Plugins::addHooks(
   ['packet/npc_talk', \&onNPCTalk],
   ['packet/npc_talk_close', \&onUndef]
);

sub onUnload {
   Plugins::delHooks($hooks);
   Commands::unregister($cmd);
   undef $line_msgNum;
   undef $prefix;
   undef @num_0;
   undef @num_1;
   undef @num_2;
   undef @num_3;
   undef %reactOnNPC;
   message "responseOnASCIInumber plugin unloading or reloading\n", 'success';
}

sub onUndef {
   undef %reactOnNPC;
}

sub onNPCTalk {
   my (undef, $args) = @_;
   my $msg = I18N::bytesToString(unpack("Z*", substr($args->{RAW_MSG}, 8)));
   my @npcMsg = split(/\^/,$msg);
   $msg ='';
   my $code = (defined $config{$prefix."_0_BgColor"})?$config{$prefix."_0_BgColor"}:"^[B-Fb-f][A-Fa-f0-9][D-Fd-f][A-Fa-f0-9]{3}";
   debug "[responseOnASCIInumber] BgColor is '$code'\n", "success";
   foreach my $line (@npcMsg) {
# Convert ASCII Background to '='
      if ($line =~ s/$code//) {
         $line =~ s/./=/g;
      } else {
# Convert ASCII Number to '#'
         $line =~ s/^[A-Fa-f0-9]{6}//;
         $line =~ s/./#/g;
      }
      $msg .= $line;
   }
   debug "[responseOnASCIInumber] Convert NPC message to: $msg\n", "success";
   if (!%reactOnNPC || $reactOnNPC{action}) {
      undef %reactOnNPC if %reactOnNPC;
      $reactOnNPC{index} = 1;
      $reactOnNPC{msg}[$reactOnNPC{index}] = $msg;
   } else {
      $reactOnNPC{index}++;
      $reactOnNPC{msg}[$reactOnNPC{index}] = $msg;
   }
}

sub onCheckASCII {
   undef @num_0;
   undef @num_1;
   undef @num_2;
   undef @num_3;
   my $line_msg = $reactOnNPC{index};
   $line_msgNum = 0;
   my $lengthCharNumber = (defined $config{$prefix."_0_lengthCharNumber"})?$config{$prefix."_0_lengthCharNumber"}:8;
   debug "[responseOnASCIInumber] lengthCharNumber is $lengthCharNumber\n", "success";
   for (my $i = 1; $i < $reactOnNPC{index}+1; $i++) {
      $i = "0$i" if $i < 10;
      message "[$i] : $reactOnNPC{msg}[$i]\n", "success";
   }
   #get num & position
   for (my $i = 0; $i <= length($reactOnNPC{msg}[$line_msg-1]); $i++) {
      for (my $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;
   }
   undef %reactOnNPC if %reactOnNPC;
}

sub onASCIICmd {
   my (undef, $args) = @_;
   &onCheckASCII;
   my %digit = (
   '#########====###====###====########' => 0,
   '==####=##==#####====#####==#==####=' => 0,
   '==####=##====###====###====#==####=' => 0,
   '==####=##==##=====##=====##=#######' => 1,
   '==####=====##=====##=====##=#######' => 1,
   '==####=##====#====##===##===#######' => 2,
   '######=======#==#######=====#######' => 2,
   '#######======##########=====#######' => 2,
   '######=======#==####=======#######=' => 3,
   '#######======########======########' => 3,
   '==####=##====#====#####====#==####=' => 3,
   '##====###====########======#======#' => 4,
   '====###==##==###====########======#' => 4,
   '======#====###==##==########======#' => 4,
   '#########=====#######======########' => 5,
   '==#######=====######=======#######=' => 5,
   '====##===##===#########====#==####=' => 6,
   '==####=##=====#########====#==####=' => 6,
   '#########=====#########====########' => 6,
   '#######======#====##===##===##=====' => 7,
   '#######=====##=######===##===##====' => 7,
   '#######======#======#======#======#' => 7,
   '#########====#==####=##====########' => 8,
   '#########====##########====########' => 8,
   '==####=##====#==####=##====#==####=' => 8,
   '#########====#==#####====##=####===' => 9,
   '#########====########======########' => 9,
   '==####=##====#==#####====##===##===' => 9,
   '==#=====#=#===#===#==#####==#===#==' => 'a',
   '#####==#===#==####===#===#==#####==' => 'b',
   '#####==#======#======#======#####==' => 'c',
   '###====#==#===#===#==#===#==####===' => 'd',
   '#####==#======####===#======#####==' => 'e',
   '#####==#======####===#======#======' => 'f',
   '#####==#======#==##==#===#==#####==' => 'g',
   '#===#==#===#==#####==#===#==#===#==' => 'h',
   '=###=====#======#======#=====###===' => 'i',
   '==###=====#======#===#==#===####===' => 'j',
   '#==#===#=#====##=====#=#====#==#===' => 'k',
   '#======#======#======#======#####==' => 'l',
   '#===#==##=##==#=#=#==#===#==#===#==' => 'm',
   '#===#==##==#==#=#=#==#==##==#===#==' => 'n',
   '#####==#===#==#===#==#===#==#####==' => 'o',
   '#####==#===#==#####==#======#======' => 'p',
   '####===#==#===###====#==#===#===#==' => 'r',
   '#####==#======#####======#==#####==' => 's',
   '#####====#======#======#======#====' => 't',
   '#===#==#===#==#===#==#===#==#####==' => 'u',
   '#===#==#===#===#=#====#=#=====#====' => 'v',
   '#===#==#===#==#=#=#==#=#=#===#=#===' => 'w',
   '#===#===#=#=====#=====#=#===#===#==' => 'x',
   '=#==#===#==#====##=====#=====#=====' => 'y',
   '#####=====#=====#=====#=====#####==' => 'z',
   );

   my @result_;
   my $ans = '';
   
   foreach (keys %digit) {
      for (my $k = 0; $k <= $line_msgNum; $k++) {
         if ($_ eq $num_0[$k] ) {
            $result_[$k] = $digit{$_};
         }
         if ($_ eq $num_1[$k] ) {
            $result_[$k] = $digit{$_};
         }
         if ($_ eq $num_2[$k] ) {
            $result_[$k] = $digit{$_};
         }
         if ($_ eq $num_3[$k] ) {
            $result_[$k] = $digit{$_};
         }
      }
   }
   for (my $k = 0; $k <= @result_; $k++) {
      $ans .= $result_[$k]
   }
   $cmd = "talk $args ".$ans;
   message "[responseOnASCIInumber] Wait 3 sec. and executing command: \"$cmd\".\n", "success";
# add delay 1-3 sec before $cmd
   my $startTime = time;
   while (1) {
      last if (timeOut($startTime,3));
   }
   Commands::run($cmd);
   undef $cmd;
}

1;


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 18 Jul 2014, 22:33 
Offline
Noob
Noob

Joined: 18 Jul 2014, 01:07
Posts: 7
sorry can someone help me i cant understand any of this.did i do this correctly reactOnNPC.pl & responseOnASCIInumber.pl are in my C:\Users\RaeRon\Desktop\Bot\bot\plugins\macro

and my config block

Code:
getAuto Fire Arrow {
   minAmount 0
   maxAmount 1000
   passive 0
}

getAuto Butterfly Wing {
   minAmount 0
   maxAmount 5
   passive 0
}


ASCIInumberKiller {
   lengthCharNumber 9
   BgColor ^83F52C
}

rreactOnNPC ASCIInumber num {
type number
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
msg_4 /.*/
msg_5 /.*/
msg_6 /.*/
}


@responseOnASCIInumber.pl
Code:
sub onASCIICmd {
   my (undef, $args) = @_;
   &onCheckASCII;
   my %digit = (
   
   '###==#######==#######==#######==#####======##' => 1,
      '#=======#==#####==#######==#=======#==#######' => 2,
      '#######==#=======########====#####==#=======#' => 3,
      '==####==#==####==#=========######==#######==#' => 4,
      '==#######=======########==#==####==##======##' => 5,
      '==#######========#==#####====#####==#======##' => 6,
      '========#==####==#####==######==#######==####' => 7,
      '==#####==#=======#==#####====#####==#=======#' => 8,
      '==#####==#========#######====#####==#=======#' => 9,
   );


this is for


snichi wrote:
Hi,

I need some assistance on getting a macro to bypass this antibot security.

Here are the screenshots:

Image

Image


Hoping for kind response on this concern.

Thanks in advance...

BTW i've tried to use this responseOnASCIInumber.pl #for response BotKiller(ASCII)

but still not working for me...


Top
 Profile  
 
 Post subject: Re: <<< Anti BotKiller >>>
PostPosted: 19 Jul 2014, 15:46 
Offline
Noob
Noob

Joined: 18 Jul 2014, 01:07
Posts: 7
help anyone???

autoTalkCont 1 not working with anti bot i need to press next first..

i tried using xkore 1 when i login and press enter(next) my bot auto answer the question.


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 20 Jul 2014, 10:20 
Offline
Developers
Developers
User avatar

Joined: 30 Apr 2008, 14:17
Posts: 621
Location: Moskow (Russia)
chubz080511, use this settings:

Code:
ASCIInumberKiller {
   lengthCharNumber 9
   BgColor ^83F52C
}

reactOnNPC ASCIInumberKiller num {
   type number
   msg_0 /[#=]*/
   msg_1 /[#=]*/
   msg_2 /[#=]*/
   msg_3 /[#=]*/
   msg_4 /[#=]*/
   msg_5 /[#=]*/
   msg_6 /[#=]*/
}
...
...
autoTalkCont 1


I use "XKore 0", it works:
Quote:
Unknown #110990216: Done talking
You are now: state: Frozen
Options changed.
You are now immune to attacks.
You are now: look: Hiding
Unknown #110990213: [Anti Bot]
Unknown #110990213: Bot checking time
Unknown #110990213: Please input the number you see
Unknown #110990213: Auto-continuing talking
Allowed other player invite to Party
Other players are not allowed to view your Equipment.
Unknown #110990213: ###################################
Unknown #110990213: ###################################
Unknown #110990213: ###################################
Unknown #110990213: ###################################
Unknown #110990213: ###################################
Unknown #110990213: ###################################
Unknown #110990213: ###################################
NPC Exists: Unknown #110990213 (115, 113) (ID 110990213) - (0)
Unknown #110990213: Type 'talk num <number #>' to input a number.
[reactOnNPC] Reacting to NPC. Executing command "ASCIInumberKiller num".
[01] : ##########
[02] : #################
[03] : ###############################
[04] : ############========###############
[05] : ############==####==###############
[06] : ################==#################
[07] : ###############==##################
[08] : ###############==##################
[09] : ###############==##################
[10] : ###############==##################
[responseOnASCIInumber] Wait 3 sec. and executing command: "talk num 7".

_________________
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 20 Jul 2014, 22:28 
Offline
Human
Human

Joined: 11 Jun 2014, 12:13
Posts: 32
mine only can unswer for number ascii antibot, but cant answer text antibot til now meh ~_~"


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 21 Jul 2014, 02:43 
Offline
Developers
Developers
User avatar

Joined: 30 Apr 2008, 14:17
Posts: 621
Location: Moskow (Russia)
k1nt4r0, give me your servers.txt

_________________
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 22 Jul 2014, 04:33 
Offline
Noob
Noob

Joined: 18 Jul 2014, 01:07
Posts: 7
its ok now i monitored the bot and discovered that it answers my bot..my bad..but heres the problem.in my server once you login and your character is in the field with maps it automatically froze you and ask the antibot but the bot wont answer any guide to help me with this?but if you are in town theres when you login theres no security check there.so what im doing is login in the character normal way then back to town then open the bot..so once i get dc or my net gets dc when the bot reconnects its jst frozen.


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 25 Jul 2014, 15:44 
Offline
Developers
Developers
User avatar

Joined: 30 Apr 2008, 14:17
Posts: 621
Location: Moskow (Russia)
chubz080511, show a screenshot

_________________
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 27 Jul 2014, 00:54 
Offline
Human
Human

Joined: 11 Jun 2014, 12:13
Posts: 32
4epT wrote:
I'm sorry, I meant servers.txt


ohh
here sir http://www.4shared.com/office/tH0xpcjAba/servers.html


Top
 Profile  
 
 Post subject: Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)
PostPosted: 28 Dec 2014, 22:35 
Offline
Plain Yogurt
Plain Yogurt

Joined: 24 Jul 2014, 23:37
Posts: 69
Here's my problem :(
Image


---------
Image

------

They only require "1number" to type so that the bot can back to normal from frozen state.


This server >>> http://www.legendofragnarok.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 572 posts ]  Go to page Previous  1 ... 54, 55, 56, 57, 58  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group