Jump to content
  • 0

When you Log In this will check you if you are BOT or NOT.


Question

Posted (edited)

anyone have this script?
* When you Log In this will check you if you are BOT or NOT.

* if you didn't answer correctly you will be kick in the server. (3 attempts)


here is the link that ive read before, but i don't want the other features.
http://www.eathena.ws/board/lofiversion/index.php/t240945.html


I want to make it Simple Anti Bot Check only when login in game.

* When you Log In this will check you if you are BOT or NOT.

Sample picture 1
r89esy.jpg

Sample picture 2

19useh.jpg

Sample picture 3

2ldim2g.jpg

Sample picture 4

2mrsm6e.jpg

* if you didn't answer correctly you will be kick in the server. (3 attempts)

 

Edited by Renji Abarai

19 answers to this question

Recommended Posts

Posted

Here's a quick example npc I'll probably finish this one up later today.

prontera,150,150,5	script	Anti-bot-tests#1	100,{
		mes "[^FF0000Anti Bot Checking^000000]";
		mes "Are you a bot?";
		mes "You have 5 minutes to follow the directions bellow and verify your a real player.";
		mes "Choose the correct colour and number to enter.";
		next;
		.@correct = rand(.length);
		copyarray .@colour$, .colour$, getarraysize(.colour$);
		for( .@a = 0; .@a < .length; .@a++ ) {
			for( .@b = 0; .@b < .numbers; .@b++ )
				.@part$[.@b] = ""+rand(10);
			.@r = rand(getarraysize(.@colour$));
			.@answers$[.@a] = ( .@a_c$[.@a] = .@colour$[.@r] )+( .@parts$[.@a] = implode(.@part$,""))+"^000000";
			deletearray .@colour$[.@r], 1;
			mes "   "+.@answers$[.@a];
		}
		while( getstrlen(.@c$) < .numbers ) .@c$ = .@c$ + "#";
		mes "The correct answer is: "+.@a_c$[.@correct]+.@c$;
		set .@input$,"";
		input( .@input$ );
		if( compare( .@answers$[.@correct], .@a_c$[.@correct]+.@input$+"^000000" ) ) {
			mes "Correct!";
		} else {
			mes "Wrong!";
		}
		close;
		
OnInit:
	setarray .colour$, "^00FF00", "^FF0000", "^0000FF", "^0FF0FF", "^CCCCCC", "^CBCBCB";
	.length = 6; //Length of the list.
	.numbers = 6; //Length of the numbers.
}
Posted (edited)

 

Here's a quick example npc I'll probably finish this one up later today.

prontera,150,150,5	script	Anti-bot-tests#1	100,{
		mes "[^FF0000Anti Bot Checking^000000]";
		mes "Are you a bot?";
		mes "You have 5 minutes to follow the directions bellow and verify your a real player.";
		mes "Choose the correct colour and number to enter.";
		next;
		.@correct = rand(.length);
		for( .@a = 0; .@a < .length; .@a++ ) {
			for( .@b = 0; .@b < .numbers; .@b++ )
				.@part$[.@b] = ""+rand(10);
			.@r = rand(getarraysize(.colour$));
			.@answers$[.@a] = ( .@a_c$[.@a] = .colour$[.@r] )+( .@parts$[.@a] = implode(.@part$,""))+"^000000";
			deletearray .colour$[.@r], 1;
			mes "   "+.@answers$[.@a];
		}
		while( getstrlen(.@c$) < .numbers ) .@c$ = .@c$ + "#";
		mes "The correct answer is: "+.@a_c$[.@correct]+.@c$;
		set .@input$,"";
		input( .@input$ );
		if( compare( .@answers$[.@correct], .@a_c$[.@correct]+.@input$+"^000000" ) ) {
			mes "Correct!";
		} else {
			mes "Wrong!";
		}
		close;
		
OnInit:
	setarray .colour$, "^00FF00", "^FF0000", "^0000FF", "^0FF0FF", "^CCCCCC", "^CBCBCB";
	.length = 6; //Length of the list.
	.numbers = 6; //Length of the numbers.
}

 

OW YEAH ! GONNA TEST IT RIGHT NOW !!! THANKS SKORM!!! :)))

Sir Skorm ive got this error

http://i58.tinypic.com/11b7lp0.png

Edited by Renji Abarai
Posted

 

probably, changing line 7 to

set .@correct, rand(.length);
will do the trick

 

 

stil nothing happen. :( 

 

 

Well he would have to change it in a few other places as well... Why not just use rAthena. x_x

can you help me with this in eathena

Posted (edited)

Hi man. That is stupid.

Why? Because it will make unhappy players at your server via 100500 times per day popup message from NPC antibot.

 

And do you know the most bad thing?

This is NOT WORK against bosts.

 

Why?

https://svn.code.sf.net/p/openkore/code/plugins/responseOnASCIInumber/trunk/

 

 

+ i wanna add:

harmony WONT WORK against bots too:)

Funny, but that is real truth.

 

Solution to fix?

bump a hashield or internalguard development, or build yours.,

 

Sad, but true..

Edited by Anacondaqq
Posted (edited)

 

 

harmony WONT WORK against bots too:)

Funny, but that is real truth.

 

Is there any proven cases of this?

 

 

Sure.

 

 

...aand where are they? >.>

Are you talking about visual bots?

Edited by CandyCandy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...