CCBlueX Forum

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

    Unsolved B73 and packet S02

    ScriptAPI
    8
    13
    529
    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.
    • FaaatPotato
      FaaatPotato last edited by FaaatPotato

      Is that broken in b73 in general and will it be fixed some day?

      module.on("packet", function (e) {
      var packet = e.getPacket();
      
      if (packet instanceof S02) {
      if (packet.getChatComponent().getUnformattedText().contains("something")) {
      //something
      }
      }
      });
      
      A CzechHek Konoha Scarlet dntdbt 4 Replies Last reply Reply Quote 0
      • A
        Aashaby @FaaatPotato last edited by

        @faaatpotato Try version b72

        FaaatPotato 1 Reply Last reply Reply Quote 0
        • FaaatPotato
          FaaatPotato @Aashaby last edited by

          @aashaby no

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

            @faaatpotato
            Try to replace packet = e.getPacket()
            with packet = e.getPacket().wrapped.

            If you are having problems with wrapped packets on cross-version.

            ? 1 Reply Last reply Reply Quote 2
            • Konoha Scarlet
              Konoha Scarlet @FaaatPotato last edited by

              @faaatpotato What you need is S02PacketChat

              FaaatPotato 1 Reply Last reply Reply Quote 1
              • FaaatPotato
                FaaatPotato @Konoha Scarlet last edited by FaaatPotato

                @konoha-scarlet ig no

                i was just laizy

                var S02 = Java.type("net.minecraft.network.play.server.S02PacketChat");
                

                did not type that into my top message

                1 Reply Last reply Reply Quote 0
                • dntdbt
                  dntdbt @FaaatPotato last edited by

                  @faaatpotato use wrapped packets with searge obfuscated methods

                  FaaatPotato 1 Reply Last reply Reply Quote 1
                  • FaaatPotato
                    FaaatPotato @dntdbt last edited by

                    @dntdbt kk

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

                      @sigmer 6d9c4812-f939-4b24-8af5-823188646212-image.png

                      :axodrink: :axodrink:

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @CzechHek last edited by A Former User

                        @czechhek i really hate cross version, breaking a shit ton of scripts man 😞

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          idk my name @Guest last edited by idk my name

                          @fartcheese all of them correctly work if you use wrapped access & searge names
                          example (I did not really use "wrapped access" because I fixed this shit by changing wrapped events to unwrapped in my custom build):
                          non xversion:

                          onPacket: function(e) {
                              e.getPacket() instanceof C03PacketPlayer  && (e.getPacket().onGround = true);
                          }
                          

                          xversion:

                          onPacket: function(e) {
                              e.getPacket() instanceof C03PacketPlayer  && (e.getPacket().wrapped.field_149474_g = true); //onGround
                          }
                          
                          I ? 2 Replies Last reply Reply Quote 0
                          • I
                            idk my name @idk my name last edited by

                            @idk-my-name said in B73 and packet S02:

                            searge names

                            You can find all of them in LiquidBounce-1.8/mcp-stable_22.srg
                            215bc07c-5362-4af7-8dd4-c335a2884de9-image.png

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @idk my name last edited by

                              @idk-my-name yeah, and by telling a lot of script makers to use wrapped packets because of a change 😳

                              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