Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. mc.thePlayer is undefined

mc.thePlayer is undefined

Scheduled Pinned Locked Moved Solved ScriptAPI
41 Posts 6 Posters 24.2k Views
  • 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

    @ali00035 I want to have access to the methods of the player. I don't use Matrix all that much nowadays, just send me a message on here.

    CzechHekC Offline
    CzechHekC Offline
    CzechHek
    wrote on last edited by
    #19

    @cancernameu https://scriptapi.liquidbounce.net/net/minecraft/client/entity/EntityPlayerSP.html

    ? 1 Reply Last reply
    0
    • CzechHekC CzechHek

      @cancernameu https://scriptapi.liquidbounce.net/net/minecraft/client/entity/EntityPlayerSP.html

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #20

      @czechhek Yeah, I'm aware of the class. Usually, the current player is accessible with mc.thePlayer. It isn't here, all my previous scripts have broken, and I doubt any new ones will. I just want to solve the issue.

      ? 1 Reply Last reply
      0
      • ? A Former User

        @czechhek Yeah, I'm aware of the class. Usually, the current player is accessible with mc.thePlayer. It isn't here, all my previous scripts have broken, and I doubt any new ones will. I just want to solve the issue.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #21

        And as you can see, it isn't among the fields of mc I listed.

        1 Reply Last reply
        0
        • Ali00035A Ali00035

          @cancernameu said in typeof(mc.thePlayer) == undefined??:

          Chat.print(typeof(mc.thePlayer))

          Isn't that supposed to be like Chat.print(typeof mc.thePlayer) ?

          Ali00035A Offline
          Ali00035A Offline
          Ali00035
          wrote on last edited by
          #22

          @ali00035 said in mc.thePlayer is undefined:

          @cancernameu said in typeof(mc.thePlayer) == undefined??:

          Chat.print(typeof(mc.thePlayer))

          Isn't that supposed to be like Chat.print(typeof mc.thePlayer) ?

          @cancernameu

          1 Reply Last reply
          0
          • kawaiinekololisK Offline
            kawaiinekololisK Offline
            kawaiinekololis
            Admin
            wrote on last edited by
            #23

            There might be something wrong with your b72 build. Is it official? I could only think of missing mappings. Could you check your .minecraft/LiquidBounce-1.8.9 folder for the mcp-stable_22.srg file? It should be about 4.25 MB, so maybe something went wrong on the download and fucked up the mappings.

            ? 2 Replies Last reply
            0
            • kawaiinekololisK kawaiinekololis

              There might be something wrong with your b72 build. Is it official? I could only think of missing mappings. Could you check your .minecraft/LiquidBounce-1.8.9 folder for the mcp-stable_22.srg file? It should be about 4.25 MB, so maybe something went wrong on the download and fucked up the mappings.

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by A Former User
              #24

              @kawaiinekololis Yup. official Linux build, fresh from the website. Edit looking for it

              Ali00035A 1 Reply Last reply
              0
              • ? A Former User

                @kawaiinekololis Yup. official Linux build, fresh from the website. Edit looking for it

                Ali00035A Offline
                Ali00035A Offline
                Ali00035
                wrote on last edited by Ali00035
                #25

                @cancernameu GNU/Linux... Based!

                1 Reply Last reply
                0
                • kawaiinekololisK kawaiinekololis

                  There might be something wrong with your b72 build. Is it official? I could only think of missing mappings. Could you check your .minecraft/LiquidBounce-1.8.9 folder for the mcp-stable_22.srg file? It should be about 4.25 MB, so maybe something went wrong on the download and fucked up the mappings.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by A Former User
                  #26

                  It's only 512b. I'll try and redownload again.
                  Thanks ❤

                  Ali00035A ? 2 Replies Last reply
                  0
                  • ? A Former User

                    It's only 512b. I'll try and redownload again.
                    Thanks ❤

                    Ali00035A Offline
                    Ali00035A Offline
                    Ali00035
                    wrote on last edited by
                    #27

                    @cancernameu The link is on the Ccbluex Github

                    ? 1 Reply Last reply
                    0
                    • Ali00035A Offline
                      Ali00035A Offline
                      Ali00035
                      wrote on last edited by
                      #28

                      https://github.com/CCBlueX/LiquidCloud/blob/master/LiquidBounce/srgs/mcp-stable_22.srg

                      1 Reply Last reply
                      0
                      • Ali00035A Ali00035

                        @cancernameu The link is on the Ccbluex Github

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #29

                        @ali00035 Thanks. I got it from the site, if that's borked I'll try the gh

                        1 Reply Last reply
                        0
                        • ? A Former User

                          It's only 512b. I'll try and redownload again.
                          Thanks ❤

                          ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by A Former User
                          #30

                          @cancernameu

                          mcp-stable_22.srg is still empty.
                          Edit: getting t from the gh.

                          Ali00035A kawaiinekololisK 2 Replies Last reply
                          0
                          • ? A Former User

                            @cancernameu

                            mcp-stable_22.srg is still empty.
                            Edit: getting t from the gh.

                            Ali00035A Offline
                            Ali00035A Offline
                            Ali00035
                            wrote on last edited by
                            #31

                            @cancernameu How

                            1 Reply Last reply
                            0
                            • ? A Former User

                              @cancernameu

                              mcp-stable_22.srg is still empty.
                              Edit: getting t from the gh.

                              kawaiinekololisK Offline
                              kawaiinekololisK Offline
                              kawaiinekololis
                              Admin
                              wrote on last edited by
                              #32

                              @cancernameu Could you please send me your log? There might be network issues.

                              ? 1 Reply Last reply
                              0
                              • Ali00035A Offline
                                Ali00035A Offline
                                Ali00035
                                wrote on last edited by
                                #33

                                @cancernameu, can you try with latest LB B73

                                1 Reply Last reply
                                0
                                • kawaiinekololisK kawaiinekololis

                                  @cancernameu Could you please send me your log? There might be network issues.

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #34

                                  @kawaiinekololis After I got the srg from github, it worked perfectly. After deleting it and re-launching LB, it broke again. You hit the nail on its head -- it's apparently a networking issue. Here's the relevant part:
                                  http://0x0.st/oTxu.log

                                  Ali00035A kawaiinekololisK 2 Replies Last reply
                                  0
                                  • ? A Former User

                                    @kawaiinekololis After I got the srg from github, it worked perfectly. After deleting it and re-launching LB, it broke again. You hit the nail on its head -- it's apparently a networking issue. Here's the relevant part:
                                    http://0x0.st/oTxu.log

                                    Ali00035A Offline
                                    Ali00035A Offline
                                    Ali00035
                                    wrote on last edited by
                                    #35

                                    @cancernameu handshake_failure

                                    1 Reply Last reply
                                    0
                                    • ? A Former User

                                      @kawaiinekololis After I got the srg from github, it worked perfectly. After deleting it and re-launching LB, it broke again. You hit the nail on its head -- it's apparently a networking issue. Here's the relevant part:
                                      http://0x0.st/oTxu.log

                                      kawaiinekololisK Offline
                                      kawaiinekololisK Offline
                                      kawaiinekololis
                                      Admin
                                      wrote on last edited by
                                      #36

                                      @cancernameu Yep, seems like the SSL handshake is going wrong, but I am not sure what this might cause. Sorry.

                                      Ali00035A ? 2 Replies Last reply
                                      0
                                      • kawaiinekololisK kawaiinekololis

                                        @cancernameu Yep, seems like the SSL handshake is going wrong, but I am not sure what this might cause. Sorry.

                                        Ali00035A Offline
                                        Ali00035A Offline
                                        Ali00035
                                        wrote on last edited by
                                        #37

                                        @kawaiinekololis Perhaps a launcher issue

                                        ? 1 Reply Last reply
                                        0
                                        • Ali00035A Ali00035

                                          @kawaiinekololis Perhaps a launcher issue

                                          ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #38

                                          @ali00035 I'm using MultiMC, perhaps that's the issue.

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          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
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups