CCBlueX Forum

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

    (Probably) KillAura InteractAutoBlock problem

    Bug Reports
    6
    9
    259
    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.
    • C
      commandblock2 last edited by commandblock2

      While hitting the same entity.
      This is what killaura sends.
      cadd58b1-0f14-4705-bf18-1eb990460f3f-image.png

      This is what clicking with mouse sends.
      537999f8-d70a-4f6d-808f-dae3ab597cdb-image.png

      Look at the client->server: play use_entity : {"target":2384,"mouse":2, killaura sends "x":-85.3125,"y":69.36458587646484,"z":195.28125} while clicking sends "x":-0.29304617643356323,"y":1.899999976158142,"z":0.2625722289085388}.

      related code(killaura)

          private fun startBlocking(interactEntity: Entity, interact: Boolean) {
              if (interact) {
                  mc.netHandler.addToSendQueue(C02PacketUseEntity(interactEntity, interactEntity.positionVector))
                  //                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  mc.netHandler.addToSendQueue(C02PacketUseEntity(interactEntity, C02PacketUseEntity.Action.INTERACT))
              }
      
              mc.netHandler.addToSendQueue(C08PacketPlayerBlockPlacement(mc.thePlayer.inventory.getCurrentItem()))
              blockingStatus = true
          }
      

      mcp918 source net/minecraft/client/multiplayer/PlayerControllerMP.java:515 (line2 and line3 in function(func_178894_a) body).
      Btw does posting a snippet of mcp source count as leak?

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

        That's not how you debug open src client which even has built in ScriptAPI.

        C 1 Reply Last reply Reply Quote 0
        • C
          commandblock2 @CzechHek last edited by

          I was just too lazy to write packet dumper lol, they have a working example already xDDDD.

          A 1 Reply Last reply Reply Quote 0
          • A
            Aftery @commandblock2 last edited by

            This post is deleted!
            C 1 Reply Last reply Reply Quote 0
            • C
              commandblock2 @Aftery last edited by

              @Aftery this example

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

                thank for that proxy listener lmao

                1 Reply Last reply Reply Quote 0
                • superblaubeere27
                  superblaubeere27 Moderator last edited by

                  Which build?

                  1 Reply Last reply Reply Quote 0
                  • C
                    commandblock2 last edited by commandblock2

                    It was my custom build like a month ago, I haven't modified any KillAura's related code, I'll try that on the newest B73 nightly build.
                    Edit: The latest nightly build 7672ffa have the same behavior.

                    1 Reply Last reply Reply Quote 0
                    • skiddermaster412
                      skiddermaster412 Banned last edited by

                      This post is deleted!
                      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