Jump to content
  • 0

Anti-Bot Script


Budots

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Hi guys,

I have found a simple Anti-Bot Script somewhere in this forum,

I wanna ask if its possible to use this anti-bot script in a specific map only? I want to put this anti-bot script inside my farm zone area which there are lots of BOTS there.

And also it will trigger every 15 minutes.

 

 

HOPEFULLY YOU CAN HELP ME GUYS

 

Here are the scripts;
 

anti_bot.txt

farm_zone.txt

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

not working. got this error

1.jpg.4f471a0e879f1e223832a744e46a5205.jpg

Edited by hendra814
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

Try this

// to set monster just change  if( Kill >= rand( 35,50 ) ){  // 30 - 50 Monster
-	script	bot2	-1,{
OnInit:
if ( strcharinfo(3) == "bat_c01" ) {
end;

OnPCLoadMapEvent:
if( !Checking ) end;

OnNPCKillEvent:
set Kill,Kill+1;
if( Kill >= rand( 35,50 ) ){
	set Checking,1;
	announce "RO Guard : Bot Check time! Thank you for your patience!",bc_yellow|bc_self;
	atcommand "@option 2";
	mes "[^ff557fRO Guard^000000]";
	mes "Please enter the ^FF0000RED COLOUR NUMBER^000000";
	next;
	set .@Number,rand( 999999 );
	mes "[^ff557fRO Guard^000000]";
	mes "Number : ";
	mes rand( 999999 )+"^ff0000"+.@Number+"^000000"+rand( 999999 );
	input @Number;
	if( @Number != .@Number ){
		mes "Sorry, WRONG.";
		atcommand "@kick "+strcharinfo(0);
	}else{
		mes "Thank you. You now can move!.";
	dispbottom "100% of effectiveness.";
	announce "RO Guard : To rewared your kindness, please take a bonus of some Buffs.",bc_blue|bc_self;
		sc_start SC_INCREASEAGI,500000,10;
		sc_start SC_BLESSING,500000,10;
		percentheal 100,100;
			atcommand "@option 0 0 0";
	if(@cart == 1) {
		setcart;
		set @cart,0;
	}
	if(@falcon == 1) {
		setfalcon;
		set @falcon,0;
	}
	if(@riding == 1) {
		setriding;
		set @riding,0;
	}
		set Checking,0;
		set Kill,0;
	}
close;
}
		
}
}
bat_c01	mapflag	loadevent
Edited by Yoga
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

 

Try this

// to set monster just change  if( Kill >= rand( 35,50 ) ){  // 30 - 50 Monster
-	script	bot2	-1,{
OnInit:
if ( strcharinfo(3) == "bat_c01" ) {
end;

OnPCLoadMapEvent:
if( !Checking ) end;

OnNPCKillEvent:
set Kill,Kill+1;
if( Kill >= rand( 35,50 ) ){
	set Checking,1;
	announce "RO Guard : Bot Check time! Thank you for your patience!",bc_yellow|bc_self;
	atcommand "@option 2";
	mes "[^ff557fRO Guard^000000]";
	mes "Please enter the ^FF0000RED COLOUR NUMBER^000000";
	next;
	set .@Number,rand( 999999 );
	mes "[^ff557fRO Guard^000000]";
	mes "Number : ";
	mes rand( 999999 )+"^ff0000"+.@Number+"^000000"+rand( 999999 );
	input @Number;
	if( @Number != .@Number ){
		mes "Sorry, WRONG.";
		atcommand "@kick "+strcharinfo(0);
	}else{
		mes "Thank you. You now can move!.";
	dispbottom "100% of effectiveness.";
	announce "RO Guard : To rewared your kindness, please take a bonus of some Buffs.",bc_blue|bc_self;
		sc_start SC_INCREASEAGI,500000,10;
		sc_start SC_BLESSING,500000,10;
		percentheal 100,100;
			atcommand "@option 0 0 0";
	if(@cart == 1) {
		setcart;
		set @cart,0;
	}
	if(@falcon == 1) {
		setfalcon;
		set @falcon,0;
	}
	if(@riding == 1) {
		setriding;
		set @riding,0;
	}
		set Checking,0;
		set Kill,0;
	}
close;
}
		
}
}
bat_c01	mapflag	loadevent

Thanks for the reply sir Yoga, but can i ask how does this script work?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

Op some fixed, 

-	script	bot2	-1,{
OnInit:
OnPCLoadMapEvent:
if( !Checking ) end;
OnNPCKillEvent:
if ( strcharinfo(3) == "bat_c01" ) {
set Kill,Kill+1;
if( Kill >= rand( 15,35 ) ){
	set Checking,1;
	announce "RO Guard : Bot Check time! Thank you for your patience!",bc_yellow|bc_self;
	atcommand "@option 2";
	mes "[^ff557fRO Guard^000000]";
	mes "Please enter the ^FF0000RED COLOUR NUMBER^000000";
	next;
	set .@Number,rand( 999999 );
	mes "[^ff557fRO Guard^000000]";
	mes "Number : ";
	mes rand( 999999 )+"^ff0000"+.@Number+"^000000"+rand( 999999 );
	input @Number;
	if( @Number != .@Number ){
		mes "Sorry, WRONG.";
		atcommand "@kick "+strcharinfo(0);
	}else{
		mes "Thank you. You now can move!.";
	dispbottom "100% of effectiveness.";
	announce "RO Guard : To rewared your kindness, please take a bonus of some Buffs.",bc_blue|bc_self;
		sc_start SC_INCREASEAGI,500000,10;
		sc_start SC_BLESSING,500000,10;
		percentheal 100,100;
			atcommand "@option 0 0 0";
	if(@cart == 1) {
		setcart;
		set @cart,0;
	}
	if(@falcon == 1) {
		setfalcon;
		set @falcon,0;
	}
	if(@riding == 1) {
		setriding;
		set @riding,0;
	}
		set Checking,0;
		set Kill,0;
	}
close;
}
		
}
}
bat_c01	mapflag	loadevent

 

but can i ask how does this script work?

Try it .

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

I'll just make sure if this will only work @ bat_c01

Reason: it might disturb players most especially in pvp room if it will work in the whole server

 

 

BUMP!

Edited by GM Montoy
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

i know lol.. check second update

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Ok sir thanks a lot.

Link to comment
Share on other sites

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.

×
×
  • Create New...