Openkore.com

OpenKore Forums
It is currently 19 Jun 2018, 23:18

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: [bypass Antibot] - NPC asks for fake name
PostPosted: 10 May 2010, 14:09 
Offline
Perl Monk
Perl Monk
User avatar

Joined: 04 Apr 2008, 14:04
Posts: 428
Location: Brazil
The plugin is made. It answers the NPC when it asks for your name ONLY. Still needs to be tested.

Instructions:
1- Copy-paste the plugin on plugins folder and name it to answerFakeName.pl.
2- Run Openkore and wait :)

Code:
package answerFakeName;

use strict;
use Plugins;

use Globals qw($accountID);
use Log qw(message);

Plugins::register('answerFakeName', 'Answers Anti-bot with defined name.', \&onUnload);

my $hooks = Plugins::addHooks(
   ['packet/npc_talk_text', \&typeText, undef],
   ['packet/actor_info', \&checkName, undef],
);

sub onUnload {
   Plugins::delHooks($hooks);
}

my $name;

sub checkName {
   my ($self, $args) = @_;
   if ($args->{ID} eq $accountID) {
      $name = $args->{name};
      message "Fake name found: $name\n";
   }
}

sub typeText {
   if ($name) {
      Commands::run("talk text $name");
      undef $name;
   }
}

1;

_________________
Quit.


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 10 May 2010, 14:20 
Offline
Noob
Noob

Joined: 08 May 2010, 19:23
Posts: 2
here's mine console
pls help here Mushroom
thanks


Attachments:
console.txt [47.09 KiB]
Downloaded 641 times
Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 10 May 2010, 17:22 
Offline
Developers
Developers

Joined: 05 Dec 2008, 05:42
Posts: 1811
Quote:
Code:
[May 11 02:01:58 2010.54] [packetParser] Received packet: 0095 Handler: actor_info

[May 11 02:01:58 2010.54] [parseMsg_presence/name] Received object info: BotCheck10


I guess server sends fake name with actor_info.
So hook it, check if $args->{ID} is your account ID ($accountID), and take $args->{name} if it does.


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 10 May 2010, 21:16 
Offline
Perl Monk
Perl Monk
User avatar

Joined: 04 Apr 2008, 14:04
Posts: 428
Location: Brazil
Test and report with logs.
Code:
package answerFakeName;

use strict;
use Plugins;

use Globals qw($accountID);
use Log qw(message);

Plugins::register('answerFakeName', 'Answers Anti-bot with defined name.', \&onUnload);

my $hooks = Plugins::addHooks(
   ['packet/npc_talk_text', \&typeText, undef],
   ['packet/actor_info', \&checkName, undef],
);

sub onUnload {
   Plugins::delHooks($hooks);
}

my $name;

sub checkName {
   my ($self, $args) = @_;
   if ($args->{ID} eq $accountID) {
      $name = $args->{name};
      message "Fake name found: $name\n";
   }
}

sub typeText {
   if ($name) {
      Commands::run("talk text $name");
      undef $name;
   }
}

1;

_________________
Quit.


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 11 May 2010, 05:04 
Offline
Noob
Noob

Joined: 15 Apr 2010, 08:47
Posts: 1
is that a .pl file?


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 11 May 2010, 07:41 
Offline
Noob
Noob

Joined: 08 May 2010, 19:23
Posts: 2
wow dudes
it working now
thanks for your time on this antibot system
thanks alot
=)


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 11 May 2010, 21:56 
Offline
Noob
Noob

Joined: 03 May 2010, 21:29
Posts: 1
Location: brasil
thanks a lot for helping mushroon now yes you showed to be worthy of my confidence and an excellent moderator. e to that not yet they know as to make antibot to function is easy to some topics and manuals in the forum do not go here to be difficult to understand.

thx


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 06 Sep 2010, 14:19 
Offline
Noob
Noob

Joined: 25 Jun 2008, 21:23
Posts: 15
It's been a years since i post here and create a macro in DarkRO! And now my attention catch with another private server! OldschoolRO! Thanks for this plugin! I hope i can still create a macro for OldschoolRO! Token bot, YGG bot, etc...


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 16 Nov 2010, 03:31 
Offline
Noob
Noob

Joined: 10 Sep 2010, 20:06
Posts: 4
how too put some timer at this plugin..??
becouse it goes so fast to type answer fake name..
can u help me mushroom??
i try put pause, but did`t work..


Top
 Profile  
 
 Post subject: Re: [Anti-bot] NPC asks for fake name
PostPosted: 12 Jan 2011, 16:07 
Offline
Noob
Noob

Joined: 07 Nov 2008, 16:21
Posts: 1
how about replying fakename that is written in numbers not words, im trying to figure this out last 3 days but still cant figure it out, maybe i need some help or a clue.

thanks sir mushroom


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  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