Navigation

    CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Matrix Bot Remover (Legacy)

    Scripts
    antibot matrix
    21
    69
    1443
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by A Former User

      有问题请反馈,感激不尽!
      Please give feedback if you find any problems in the code, thank you very much!

      It’s legacy, I think CzechHek have a better one.

      /// api_version=1
      var scriptName = "MatrixBotRemover";
      var scriptAuthor = "Anonzme";
      var scriptVersion = 3.0;
      
      var EntityPlayer = Java.type("net.minecraft.entity.player.EntityPlayer");
      var HashMap = Java.type("java.util.HashMap");
      var ArrayList = Java.type("java.util.ArrayList");
      
      var next;
      
      var playerList;
      
      var notAlwaysInRadius;
      var xHash;
      var zHash;
      
      function isBot(entity, speed) {
      	return entity != mc.thePlayer && 
      	speed > 6.75 && 
              speed < 27.5 &&
          mc.thePlayer.getDistanceToEntity(entity) <= 5.5 &&
          within(entity.posY, mc.thePlayer.posY - 1.5, mc.thePlayer.posY + 1.5);
      }
      
      function within(n, mi, ma) {
      	return n <= ma && n >= mi;
      }
      
      function MatrixBotRemoverModule() {
          this.getName = function() {
              return "MatrixBotRemover";
          };
          
          this.getDescription = function() {
              return "Remove the bots made by Matrix AntiCheat.";
          };
          
          this.getCategory = function() {
              return "Misc";
          };
          
          this.onEnable = function() {
              next = false;
      
      		notAlwaysInRadius = new ArrayList();
              playerList = new ArrayList(); // <EntityPlayer>
      		
              xHash = new HashMap(); // <EntityPlayer, Double>
              zHash = new HashMap(); // <EntityPlayer, Double>
          };
      	
      	this.onMotion = function(motionEvent) {
      		if (notAlwaysInRadius.size() > 1000)
      			notAlwaysInRadius.clear();
      		
      		for (var i in mc.theWorld.getLoadedEntityList()) {
      			var entity = mc.theWorld.getLoadedEntityList()[i];
      			if (entity instanceof EntityPlayer && (mc.thePlayer.getDistanceToEntity(entity) > 10.0 || !within(entity.posY, mc.thePlayer.posY - 1.5, mc.thePlayer.posY + 1.5)) && !notAlwaysInRadius.contains(entity))
      				notAlwaysInRadius.add(entity);
      		}
      	};
      	
          this.onUpdate = function() {
              if (!next) {
                  for (var i in mc.theWorld.getLoadedEntityList()) {
                      var entity = mc.theWorld.getLoadedEntityList()[i];
      
                      if (!(entity instanceof EntityPlayer) || notAlwaysInRadius.contains(entity))
                          continue;
      
                      playerList.add(entity);
      
                      xHash.put(entity, entity.posX);
                      zHash.put(entity, entity.posZ);
                  }
              } else {
                  for (var i = 0; i < playerList.size(); ++i) {
                      var entity = playerList.get(i);
      
                      var xDiff = entity.posX - xHash.get(entity);
                      var zDiff = entity.posZ - zHash.get(entity);
      
                      var speed = Math.sqrt(xDiff * xDiff + zDiff * zDiff) * 10;
      				
                      if (speed != undefined && speed != NaN && isBot(entity, speed)) {
                          mc.theWorld.removeEntity(entity);
                          Chat.print("§8[§9§lMatrixBotRemover§8] §3Remove §a" + entity.getName() + "§3.");
                      }
                  }
      
                  playerList.clear();
                
                  xHash.clear();
                  zHash.clear();
              }
      
              next = !next;
          };
      
          this.onDisable = function() {
              playerList.clear();
      
              xHash.clear();
              zHash.clear();
          };
      }
      
      var matrixBotRemoverModule = new MatrixBotRemoverModule();
      
      function onEnable() {
          moduleManager.registerModule(matrixBotRemoverModule);
      }
      
      function onDisable() {
          moduleManager.unregisterModule(matrixBotRemoverModule);
      }
      
      Reply Quote 0
        VisionFX Asutoboki-kun A 3 Replies Last reply
      • Aftery
        Aftery last edited by

        What is this pseudo antibot that falses

        Reply Quote 0
          1 Reply Last reply
        • Asutoboki-kun
          Asutoboki-kun last edited by

          This post is deleted!
          Reply Quote 0
            1 Reply Last reply
          • Sonya_ADM
            Sonya_ADM last edited by

            patched :c

            Reply Quote 0
              1 Reply Last reply
            • VisionFX
              VisionFX @Guest last edited by

              @Anonzme doesn't work.

              Reply Quote 0
                1 Reply Last reply
              • Asutoboki-kun
                Asutoboki-kun last edited by Asutoboki-kun

                ok this work on a memetrix pvp server

                Reply Quote 0
                  VisionFX infAura 3 Replies Last reply
                • VisionFX
                  VisionFX @Asutoboki-kun last edited by

                  @Conclusion aac4 doesn't have bot check player cheat

                  Reply Quote 0
                    1 Reply Last reply
                  • Asutoboki-kun
                    Asutoboki-kun last edited by

                    also this antibot is very buggy, it may remove player at anytime

                    Reply Quote 0
                      1 Reply Last reply
                    • M
                      mems last edited by

                      @Conclusion i also agree, sometimes it removes the players and causes me to respawn so it gets fixed

                      Reply Quote 0
                        1 Reply Last reply
                      • Asutoboki-kun
                        Asutoboki-kun last edited by

                        ye and in pvp arena, this is even worse

                        Reply Quote 0
                          1 Reply Last reply
                        • M
                          mems last edited by

                          other than that, i don't see any other bug

                          Reply Quote 0
                            1 Reply Last reply
                          • R
                            randomsize last edited by

                            How to install?

                            Reply Quote 0
                              ChocoPie_isme 1 Reply Last reply
                            • ChocoPie_isme
                              ChocoPie_isme Banned @randomsize last edited by ChocoPie_isme

                              @randomsize said in Matrix AntiBot:

                              How to install?

                              i have a tutorial for it lmao
                              edit: here's the link:
                              https://forums.ccbluex.net/topic/192/tutorial-how-to-add-scripts-into-liquidbounce

                              Reply Quote 0
                                R 1 Reply Last reply
                              • R
                                randomsize @ChocoPie_isme last edited by

                                @ChocoPie_isme said in Matrix AntiBot:

                                @randomsize said in Matrix AntiBot:

                                How to install?

                                i have a tutorial for it lmao
                                edit: here's the link:
                                https://forums.ccbluex.net/topic/192/tutorial-how-to-add-scripts-into-liquidbounce

                                I not understand 😄

                                Reply Quote 0
                                  Leejames2305 1 Reply Last reply
                                • Leejames2305
                                  Leejames2305 @randomsize last edited by

                                  @randomsize Create a txt , paste the code in it , rename the extension from .txt to .js , put it into LB folder .

                                  Reply Quote 0
                                    R 1 Reply Last reply
                                  • R
                                    randomsize @Leejames2305 last edited by

                                    @Leejames2305 said in Matrix AntiBot:

                                    @randomsize Create a txt , paste the code in it , rename the extension from .txt to .js , put it into LB folder .

                                    so?
                                    d20c9f01-bc36-4380-9ed3-f105f06b6337-image.png

                                    Reply Quote 0
                                      ChocoPie_isme 1 Reply Last reply
                                    • ChocoPie_isme
                                      ChocoPie_isme Banned @randomsize last edited by

                                      @randomsize said in Matrix AntiBot:

                                      @Leejames2305 said in Matrix AntiBot:

                                      @randomsize Create a txt , paste the code in it , rename the extension from .txt to .js , put it into LB folder .

                                      so?
                                      d20c9f01-bc36-4380-9ed3-f105f06b6337-image.png

                                      can you just look at my tutorial carefully

                                      Reply Quote 0
                                        R 1 Reply Last reply
                                      • Aftery
                                        Aftery last edited by

                                        use anything to increase your velocity and you'll win every hvh against people who use this

                                        Reply Quote 0
                                          ? 1 Reply Last reply
                                        • R
                                          randomsize @ChocoPie_isme last edited by

                                          @ChocoPie_isme said in Matrix AntiBot:

                                          @randomsize said in Matrix AntiBot:

                                          @Leejames2305 said in Matrix AntiBot:

                                          @randomsize Create a txt , paste the code in it , rename the extension from .txt to .js , put it into LB folder .

                                          so?
                                          d20c9f01-bc36-4380-9ed3-f105f06b6337-image.png

                                          can you just look at my tutorial carefully

                                          i install script, but it bad work, me kick in killaura

                                          Reply Quote 0
                                            ChocoPie_isme ? 2 Replies Last reply
                                          • ChocoPie_isme
                                            ChocoPie_isme Banned @randomsize last edited by

                                            @randomsize said in Matrix AntiBot:

                                            @ChocoPie_isme said in Matrix AntiBot:

                                            @randomsize said in Matrix AntiBot:

                                            @Leejames2305 said in Matrix AntiBot:

                                            @randomsize Create a txt , paste the code in it , rename the extension from .txt to .js , put it into LB folder .

                                            so?
                                            d20c9f01-bc36-4380-9ed3-f105f06b6337-image.png

                                            can you just look at my tutorial carefully

                                            i install script, but it bad work, me kick in killaura

                                            ur english is worse than the script

                                            Reply Quote 0
                                              1 Reply Last reply

                                            Powered by NodeBB | Contributors