Announcement

Collapse
No announcement yet.

15 second search wait

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Solecord View Post
    lol @ quakeone.net
    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 ...

    Comment


    • #17
      I would just run this when a client connects to the site:

      if (other == bot)
      {
      centerprint(other, "fuck you /n");
      remove(other);
      return;
      }
      Problem solved. Y'all are WAY overthinking this.
      'Replacement Player Models' Project

      Comment


      • #18
        /me considers debugging that code snippet... [Edit: Dutch's pseudo-code]
        /me decides thatt it would be better not to...
        Last edited by Spike; 05-26-2016, 12:24 AM.
        Some Game Thing

        Comment


        • #19
          @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
          Last edited by MadGypsy; 05-25-2016, 01:52 PM.
          http://www.nextgenquake.com

          Comment


          • #20
            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
            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! R00k would not be pleased.
            QuakeOne.com
            Quake One Resurrection

            QuakeOne.com/qrack
            Great Quake engine

            Qrack 1.60.1 Ubuntu Guide
            Get Qrack 1.60.1 running in Ubuntu!

            Comment


            • #21
              @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.
              http://www.nextgenquake.com

              Comment


              • #22
                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.
                I would have edited that but I believe in standing by what I say(type), even if it overrides data and breaks things.

                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.
                QuakeOne.com
                Quake One Resurrection

                QuakeOne.com/qrack
                Great Quake engine

                Qrack 1.60.1 Ubuntu Guide
                Get Qrack 1.60.1 running in Ubuntu!

                Comment


                • #23
                  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 rank
                  Last edited by MadGypsy; 05-26-2016, 12:40 AM.
                  http://www.nextgenquake.com

                  Comment


                  • #24
                    Originally posted by Spike View Post
                    /me considers debugging that code snippet... [Edit: Dutch's pseudo-code]
                    /me decides thatt it would be better not to...
                    hahaha
                    'Replacement Player Models' Project

                    Comment

                    Working...
                    X