CCBlueX Forum

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

    Packet NCP 0.6-2.5 blocks step

    Scripts
    10
    15
    931
    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.
    • yorik100
      yorik100 last edited by yorik100

      I like it, it's quite good, it should work without any problems or random flags

      var scriptName = "NCPStep";
      var scriptVersion = 1.0;
      var scriptAuthor = "york";
      var C04PacketPlayerPosition = Java.type('net.minecraft.network.play.client.C03PacketPlayer.C04PacketPlayerPosition')
      
      function NCPStep() {
          var StepHeight = value.createFloat("StepHeight", 2.5, 1, 2.5);
          this.addValues = function(values) {
              values.add(StepHeight);
          };
      	this.getTag = function() {
      		return "" + (Math.round(StepHeight.get() * 100) / 100);
      	};
          this.getName = function() {
              return "NCPStep";
          };
      
          this.getDescription = function() {
              return "Step for NCP";
          };
      
          this.getCategory = function() {
              return "Movement";
          };
          this.onEnable = function() {
              groundtick = false;
          };
          this.onUpdate = function() {
              if (groundtick && !mc.thePlayer.isOnLadder() && !mc.thePlayer.isInWeb && !mc.thePlayer.isInWater() && !mc.thePlayer.isInLava()) {
                  mc.thePlayer.stepHeight = StepHeight.get();
              } else if (groundtick && !mc.thePlayer.isInWeb) {
                  mc.thePlayer.stepHeight = 1.0;
              } else {
                  mc.thePlayer.stepHeight = 0.6;
              }
              groundtick = (mc.thePlayer.onGround && mc.thePlayer.isCollidedVertically);
          };
          this.onDisable = function() {
              mc.thePlayer.stepHeight = 0.6;
          };
          this.onStepConfirm = function(event) {
              rheight = mc.thePlayer.getEntityBoundingBox().minY - mc.thePlayer.posY;
              switch (true) {
                  case (rheight > 2.019):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.425, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.821, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.699, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.599, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.022, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.372, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.652, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.869, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 2.019, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.919, mc.thePlayer.posZ, false));
                      mc.thePlayer.motionX = mc.thePlayer.motionZ = 0;
                      break;
                  case (rheight > 1.869):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.425, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.821, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.699, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.599, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.022, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.372, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.652, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.869, mc.thePlayer.posZ, false));
                      mc.thePlayer.motionX = mc.thePlayer.motionZ = 0;
                      break;
                  case (rheight > 1.5):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.425, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.821, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.699, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.599, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.022, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.372, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.652, mc.thePlayer.posZ, false));
                      mc.thePlayer.motionX = mc.thePlayer.motionZ = 0;
                      break;
                  case (rheight > 1.015):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.42, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.7532, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.01, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.093, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 1.015, mc.thePlayer.posZ, false));
                      mc.thePlayer.motionX = mc.thePlayer.motionZ = 0;
                      break;
                  case (rheight > 0.875):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.41999998688698, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.7531999805212, mc.thePlayer.posZ, false));
                      break;
                  case (rheight > 0.6):
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.39, mc.thePlayer.posZ, false));
                      mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.6938, mc.thePlayer.posZ, false));
                      break;
              }
          };
      };
      var NCPStep = new NCPStep();
      var NCPStepClient;
      
      function onEnable() {
          NCPStepClient = moduleManager.registerModule(NCPStep);
      };
      
      function onDisable() {
          moduleManager.unregisterModule(NCPStepClient);
      };
      
      J 1 Reply Last reply Reply Quote 0
      • A
        Aftery last edited by

        so basically sigma paste
        but without loops

        hahayes icewormy3 2 Replies Last reply Reply Quote 0
        • hahayes
          hahayes @Aftery last edited by

          @Aftery shh don't talk bout sigma or omikron will mine btc on your computer !!!!1111!

          1 Reply Last reply Reply Quote 1
          • icewormy3
            icewormy3 @Aftery last edited by

            so basically sigma paste
            but without loops

            I guess you can say that
            step.PNG
            But I mean he prob just ported it to a lb script because he likes it

            yorik100 1 Reply Last reply Reply Quote 0
            • yorik100
              yorik100 @icewormy3 last edited by

              @icewormy3 said in Packet NCP 0.6-2.5 blocks step:

              so basically sigma paste
              but without loops

              I guess you can say that
              step.PNG
              But I mean he prob just ported it to a lb script because he likes it

              Nah, it's different for some stuff, like 1 block, 1.5 blocks and 0.875 blocks are diff

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

                If this script could somehow be put as a mode in the Step module, it'd be great, I guess..

                1 Reply Last reply Reply Quote 0
                • icewormy3
                  icewormy3 @yorik100 last edited by icewormy3

                  so basically sigma paste
                  but without loops

                  I guess you can say that
                  step.PNG
                  But I mean he prob just ported it to a lb script because he likes it

                  Nah, it's different for some stuff, like 1 block, 1.5 blocks and 0.875 blocks are diff

                  if u say so

                  1 Reply Last reply Reply Quote 0
                  • yorik100
                    yorik100 last edited by

                    Added a slider

                    1 Reply Last reply Reply Quote 0
                    • JACKSON DA SILVA SOUSA
                      JACKSON DA SILVA SOUSA last edited by

                      Would it be possible to increase the limit from 2.5 to 4.5 or 6.5?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jackforlife101 @JACKSON DA SILVA SOUSA last edited by

                        @jackson-da-silva-sousa nope

                        1 Reply Last reply Reply Quote 0
                        • J
                          jackforlife101 @yorik100 last edited by

                          @yorik100 can u add a timer mode

                          yorik100 1 Reply Last reply Reply Quote 0
                          • yorik100
                            yorik100 @jackforlife101 last edited by

                            @jackforlife101 said in Packet NCP 0.6-2.5 blocks step:

                            @yorik100 can u add a timer mode

                            Wtf is that, you mean motion? Not really, it is planned but not now

                            1 Reply Last reply Reply Quote 0
                            • Litely
                              Litely last edited by

                              is it bypass watchdog ?

                              DreamWasFucked 1 Reply Last reply Reply Quote 0
                              • DreamWasFucked
                                DreamWasFucked Banned @Litely last edited by

                                @idkmyname maybe

                                melih_gmc2 1 Reply Last reply Reply Quote 0
                                • melih_gmc2
                                  melih_gmc2 @DreamWasFucked last edited by

                                  @leaked-pvp 4 months necropost nice

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  About
                                  • Terms of Service
                                  • Privacy Policy
                                  • Status
                                  • Contact Us
                                  Downloads
                                  • Releases
                                  • Source code
                                  • License
                                  Docs
                                  • Tutorials
                                  • CustomHUD
                                  • AutoSettings
                                  • ScriptAPI
                                  Community
                                  • Forum
                                  • Guilded
                                  • YouTube
                                  • Twitter
                                  • D.Tube