Originally posted by Solecord
View Post
Announcement
Collapse
No announcement yet.
15 second search wait
Collapse
X
-
I didn't catch that
Laughed a bit now that I see that, +1 Phenom.
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.
So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
-
I would just run this when a client connects to the site:
Problem solved. Y'all are WAY overthinking this.if (other == bot)
{
centerprint(other, "fuck you /n");
remove(other);
return;
}
Comment
-
@spike
If you meant phenoms code it's just a concept. I'm assuming he knew sole would know what he was getting at. Of course you can't if(ip='someStringWithTheWordArrayInIt') cause everything about that is syntactically wrong and functionally impossible in its gist.
He meant something more like
foreach (ip in badBotArray)
if(ip === userIp) goto quakeone.netLast edited by MadGypsy; 05-25-2016, 01:52 PM.
Comment
-
I was going to add a foreach to my example but decided sole would know what I was getting at, and most who maintain/develop websites, i was just trying to get my idea out there without having to write a whole block of code which would 80%-90% not work as initially expected even if it were fleshed out... It was a pre-alpha-concept without any debugging or proof-reading or... comments!Originally posted by MadGypsy View Post@spike
If you meant phenoms code it's just a concept. I'm assuming he knew sole would know what he was getting at. Of course you can't if(ip='someStringWithTheWordArrayInIt') cause everything about that is syntactically wrong and functionally impossible in its gist.
He meant something more like
foreach (ip in badBotArray)
if(ip === userIp) goto quakeone.net
R00k would not be pleased.
Comment
-
@phenom
I knew that and knew exactly what you meant by your code. Frankly, I felt it was obvious what your code was implying. I write concept code all the time. The only points off I give you is for if( -> = <- ) that's an evil mistake.
Comment
-
I would have edited that but I believe in standing by what I say(type), even if it overrides data and breaks things.Originally posted by MadGypsy View Post@phenom
I knew that and knew exactly what you meant by your code. Frankly, I felt it was obvious what your code was implying. I write concept code all the time. The only points off I give you is for if( -> = <- ) that's an evil mistake.
P.S I'll fix my mistakes if/when I update my 1337 anti-bad-bot code I provided. v0.0.001a still has some bugs.
Comment
-
here brah I got an update for ya. Nothin is getting through this.
Just replace the goto's with the location stuff I don't feel like phone typing.
$badBotArray = str_getcsv(file_get_contents("badBot.csv"));
forEach($ip in $badBotArray)
if($ip === $userIp) goto "www.quakeone.net";
//if not redirected
file_put_contents("badBot.csv", ',$userIp');
goto "www.quakeone.com"; //catch on reload bwaahaa
if you don't want to store a list of all the ips you autobanned just replace the above with
goto "www.quakeone.com" //so you can get a lot of hits and a high google rankLast edited by MadGypsy; 05-26-2016, 12:40 AM.
Comment
Comment