[bypass Antibot] - NPC asks for fake name

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

[bypass Antibot] - NPC asks for fake name

#1 Post by Mushroom »

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: Select all

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.

hidden8958
Noob
Noob
Posts: 2
Joined: 08 May 2010, 19:23
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#2 Post by hidden8958 »

here's mine console
pls help here Mushroom
thanks
Attachments
console.txt
(47.09 KiB) Downloaded 1002 times

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#3 Post by EternalHarvest »

Code: Select all

[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.

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: [Anti-bot] NPC asks for fake name

#4 Post by Mushroom »

Test and report with logs.

Code: Select all

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.

chugule
Noob
Noob
Posts: 1
Joined: 15 Apr 2010, 08:47
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#5 Post by chugule »

is that a .pl file?

hidden8958
Noob
Noob
Posts: 2
Joined: 08 May 2010, 19:23
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#6 Post by hidden8958 »

wow dudes
it working now
thanks for your time on this antibot system
thanks alot
=)

psycki
Noob
Noob
Posts: 1
Joined: 03 May 2010, 21:29
Noob?: No
Location: brasil

Re: [Anti-bot] NPC asks for fake name

#7 Post by psycki »

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

barakuda
Noob
Noob
Posts: 15
Joined: 25 Jun 2008, 21:23
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#8 Post by barakuda »

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...

mikawazaki
Noob
Noob
Posts: 4
Joined: 10 Sep 2010, 20:06
Noob?: Yes

Re: [Anti-bot] NPC asks for fake name

#9 Post by mikawazaki »

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..

trashee09
Noob
Noob
Posts: 1
Joined: 07 Nov 2008, 16:21
Noob?: No

Re: [Anti-bot] NPC asks for fake name

#10 Post by trashee09 »

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

Post Reply