Originally posted by Solecord
View Post
Announcement
Collapse
No announcement yet.
15 second search wait
Collapse
X
-
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:
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
-
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
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
-
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