cheese Posted February 29, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 02/29/16 Last Seen: May 1, 2016 Share Posted February 29, 2016 Hi, I want to request a simple anti-bot script.There is a shop with specific10 items. for example :Blue Potion Apple etc...And the script random show like Apple *1030 seconds for the player to choose (Apple) and input the amount (10)There are three chance to choose if wrong choiceAnd the random chance to input this anti-botThank you very much Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted March 13, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 1 hour ago Share Posted March 13, 2016 something like this ? https://pastebin.com/YpNZMDSr Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted March 2, 2016 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted March 2, 2016 (edited) You can use this simple anti bot - 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(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; } Edited March 2, 2016 by Emistry codebox Quote Link to comment Share on other sites More sharing options...
0 cheese Posted March 5, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 02/29/16 Last Seen: May 1, 2016 Author Share Posted March 5, 2016 (edited) I think yours is goodBut I still want this.I make a picture to illustrate this. Thank youPlease help me Edited March 5, 2016 by cheese Quote Link to comment Share on other sites More sharing options...
0 cheese Posted March 12, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 02/29/16 Last Seen: May 1, 2016 Author Share Posted March 12, 2016 Bump Please HelpThank You Quote Link to comment Share on other sites More sharing options...
0 cheese Posted March 13, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 02/29/16 Last Seen: May 1, 2016 Author Share Posted March 13, 2016 (edited) something like this ? https://pastebin.com/YpNZMDSr Yes It exactly what I NEED thank you emistry thank you very much What can I modify it to random time to attempt the anti-bot? Edited March 13, 2016 by cheese Quote Link to comment Share on other sites More sharing options...
0 bdgro Posted June 9, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 37 Reputation: 0 Joined: 05/05/17 Last Seen: August 2, 2018 Share Posted June 9, 2017 On 3/13/2016 at 3:00 PM, Emistry said: something like this ? https://pastebin.com/YpNZMDSr can bypass use flywing or @go Quote Link to comment Share on other sites More sharing options...
Question
cheese
Hi, I want to request a simple anti-bot script.
There is a shop with specific10 items. for example :Blue Potion Apple etc...
And the script random show like Apple *10
30 seconds for the player to choose (Apple) and input the amount (10)
There are three chance to choose if wrong choice
And the random chance to input this anti-bot
Thank you very much
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.