Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#26 2015-04-07 22:29:01

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: Anti Bot?

Jabatheblob1 wrote:

Just have them type a string that contains letters numbers and symbols. Or have them answer easy math problems. You could also have the question written in the world with blocks. You could also have the sign say, "Stand on the blue block and hit the up arrow key". You could have the user do numerous amounts of things that easily prevent bots from getting access to the world.

A randomized string would definitely be a great idea.
I was gonna post about math problems but then I realized that you could just

//GOEYFUN: USERNAME: 5+2?
string question = msg.Split(' ')[2].Replace("?", "");
if (question[1] == '+')
con.Send("say", (int.Parse(question[0]) + int.Parse(question[2])).ToString());
if (question[1] == '-')
con.Send("say", (int.Parse(question[0]) - int.Parse(question[2])).ToString());

I'm not sure if thats that way you'd deal with chars but, it'd still work.
Hitting an arrow on a specific block is easier for a bot than it is for a user, you could send a movement message. :p
Although indeed, there are lots of ways you can do this, each with it's own pros and cons.

Offline

DarkDragon49001428442141492073

Board footer

Powered by FluxBB

[ Started around 1732805298.3087 - Generated in 0.063 seconds, 12 queries executed - Memory usage: 1.37 MiB (Peak: 1.45 MiB) ]