Jump to content
  • 0

Help Anti bot script found here @ rathena forums


AinsLord

Question


  • Group:  Members
  • Topic Count:  271
  • Topics Per Day:  0.08
  • Content Count:  794
  • Reputation:   21
  • Joined:  11/21/15
  • Last Seen:  

-	script	Anti	-1,{
OnPCLoginEvent:
atcommand "@option 2";
sc_start SC_BERSERK,10000000,1;
mes "Please Red Colour Key in the Code...";
set .Code,rand(1000,99999);
mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000";
input @Code;
if( @Code != .Code ){
 atcommand "@kick "+strcharinfo(0);
}else{
atcommand "@option 0";
sc_end SC_BERSERK;
}
close;
end;
}- script Anti -1,{
OnPCLoginEvent:
atcommand "@option 2";
sc_start SC_BERSERK,10000000,1;
mes "Please Red Colour Key in the Code...";
set .Code,rand(1000,99999);
mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000";
input @Code;
if( @Code != .Code ){
 atcommand "@kick "+strcharinfo(0);
}else{
atcommand "@option 0";
sc_end SC_BERSERK;
}
close;
end;
}

it removes mount and falcons once logged back in

thnx for the help

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.06
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

Try this one bro

 

-	script	Anti Bot	-1,{
OnNPCKillEvent:
	if(getgmlevel() > 0) end;
	set @kill,@kill+1;
	if(@kill >= rand(700,1000)) goto Check;
	end;
OnPCLoginEvent:
Check:
	if(getgmlevel() > 0) end;
	getmapxy .@map$, .@x, .@y, 0;
	if (.@map$=="mellina" || .@map$=="nov_fild" || .@map$=="caspen" || .@map$=="casp_auct01" || .@map$=="casp_in01" || .@map$=="casp_in02" || .@map$=="pro_vend" || .@map$=="prontera" || .@map$=="morocc" || .@map$=="payon" || .@map$=="geffen" || .@map$=="izlude" || .@map$=="alberta" || .@map$=="aldebaran") end;
	if(checkcart() == 1) set @cart,1;
	if(checkfalcon() == 1) set @falcon,1;
	if(checkriding() == 1) set @riding,1;
	atcommand "@option 2 0 0";
	atcommand "@battleignore";
	setoption 0x2,1;
	sc_start sc_berserk, 1000000000, 1;
	mes "[Anti Bot]";
	mes "Bot checking time";
	mes "Please input the number you see";
	next;
	switch( rand(1,9) ) {
	case 1:
		mes "#################^83F52C##^000000################";
		mes "###############^83F52C####^000000################";
		mes "#################^83F52C##^000000################";
		mes "#################^83F52C##^000000################";
		mes "#################^83F52C##^000000################";
		mes "#################^83F52C##^000000################";
		mes "###############^83F52C######^000000##############";
		input @num;
		if(@num == 1) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 2:
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "###################^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C#########^000000##############";
		input @num;
		if(@num == 2) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 3:
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "###################^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		mes "###################^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		input @num;
		if(@num == 3) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 4:
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C##^000000####^83F52C##^000000###############";
		mes "############^83F52C##^000000####^83F52C##^000000###############";
		mes "############^83F52C##^000000####^83F52C##^000000###############";
		mes "############^83F52C#########^000000##############";
		mes "##################^83F52C##^000000###############";
		mes "##################^83F52C##^000000###############";
		input @num;
		if(@num == 4) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 5:
		mes "############^83F52C########^000000###############";
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C#######^000000################";
		mes "##################^83F52C##^000000###############";
		mes "############^83F52C##^000000####^83F52C##^000000###############";
		mes "#############^83F52C######^000000################";
		input @num;
		if(@num == 5) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 6:
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "############^83F52C##^000000#####################";
		mes "############^83F52C########^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C######^000000################";
		input @num;
		if(@num == 6) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 7:
		mes "############^83F52C########^000000###############";
		mes "############^83F52C##^000000####^83F52C##^000000###############";
		mes "################^83F52C##^000000#################";
		mes "###############^83F52C##^000000##################";
		mes "###############^83F52C##^000000##################";
		mes "###############^83F52C##^000000##################";
		mes "###############^83F52C##^000000##################";
		input @num;
		if(@num == 7) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 8:
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		input @num;
		if(@num == 8) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	case 9:
		mes "#############^83F52C#######^000000###############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C########^000000##############";
		mes "###################^83F52C##^000000##############";
		mes "############^83F52C##^000000#####^83F52C##^000000##############";
		mes "#############^83F52C#######^000000###############";
		input @num;
		if(@num == 9) break;
		atcommand "@kick "+strcharinfo(0);
		end;
	}
	next;
	mes "[Anti Bot]";
	mes "Thank you for your patience, you can now move on.";
	atcommand "@option 0 0 0";
	atcommand "@battleignore";
	setoption 0x2,0;
	sc_end sc_berserk;
	percentheal 100,100;
	set @kill,0;
	if(@cart == 1) {
		setcart;
		set @cart,0;
	}
	if(@falcon == 1) {
		setfalcon;
		set @falcon,0;
	}
	if(@riding == 1) {
		setriding;
		set @riding,0;
	}
	close;
}

credits to the owner !!! ^_^

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  271
  • Topics Per Day:  0.08
  • Content Count:  794
  • Reputation:   21
  • Joined:  11/21/15
  • Last Seen:  

what does this anti bot do any screen shots??

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.06
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

8 hours ago, whodhell said:

what does this anti bot do any screen shots??

This anti bot freeze the player and he/she must enter the code first to unfreeze and can walk in game

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