Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • 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. Support
  3. Session Info

Session Info

Scheduled Pinned Locked Moved Solved Support
210 Posts 9 Posters 141.7k Views 2 Watching
  • 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.
  • wxdbieW wxdbie

    @plumer-man 5b8de68d-3822-4883-b24c-66f8116e752a-изображение.png

    only thing I am lack is kills

    suicidemouse33S Offline
    suicidemouse33S Offline
    suicidemouse33
    wrote on last edited by
    #31

    @wxdbie uh, show us the full code

    wxdbieW 1 Reply Last reply
    0
    • suicidemouse33S suicidemouse33

      @wxdbie uh, show us the full code

      wxdbieW Offline
      wxdbieW Offline
      wxdbie
      wrote on last edited by
      #32

      @suicidemouse

      @ElementInfo(name = "Session Info")
      class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                  side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
      
          private val fontValue = FontValue("Font", Fonts.font35)
      
          override fun drawElement(): Border? {
      
              val font = fontValue.get()
      
              RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
              RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
      
              font.drawString(name, (9F + 16F).toInt(), 5, -1)
              font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
              font.drawString("Kills: ", 4, 30, -1)
              font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
              font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
      
              return Border(0F, 0F, 100F, 17F)
          }
      }
      
      ? 1 Reply Last reply
      0
      • wxdbieW wxdbie

        @suicidemouse

        @ElementInfo(name = "Session Info")
        class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                    side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
        
            private val fontValue = FontValue("Font", Fonts.font35)
        
            override fun drawElement(): Border? {
        
                val font = fontValue.get()
        
                RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
                RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
        
                font.drawString(name, (9F + 16F).toInt(), 5, -1)
                font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
                font.drawString("Kills: ", 4, 30, -1)
                font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
                font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
        
                return Border(0F, 0F, 100F, 17F)
            }
        }
        
        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #33

        @wxdbie said in Session Info:

        @suicidemouse

        @ElementInfo(name = "Session Info")
        class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                    side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
        
            private val fontValue = FontValue("Font", Fonts.font35)
        
            override fun drawElement(): Border? {
        
                val font = fontValue.get()
        
                RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
                RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
        
                font.drawString(name, (9F + 16F).toInt(), 5, -1)
                font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
                font.drawString("Kills: ", 4, 30, -1)
                font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
                font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
        
                return Border(0F, 0F, 100F, 17F)
            }
        }
        

        You need to add the attack event, save the entity to a variable, then you need to add any event that is repetitive, for example onUpdate. You check if the world is not null and if the targeted entity is null or dead. If the player is dead, you increment the kill variable you have by 1, then you nullify the variable that keeps track of the entity you were attacking. Finally, you add the world event, that checks if there was a world change, so you can set the kills variable to 0. Hopefully this doesn't blow your brain and it shouldn't, because the client has these events available to you.

        suicidemouse33S wxdbieW 3 Replies Last reply
        👍
        0
        • ? A Former User

          @wxdbie said in Session Info:

          @suicidemouse

          @ElementInfo(name = "Session Info")
          class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                      side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
          
              private val fontValue = FontValue("Font", Fonts.font35)
          
              override fun drawElement(): Border? {
          
                  val font = fontValue.get()
          
                  RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
                  RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
          
                  font.drawString(name, (9F + 16F).toInt(), 5, -1)
                  font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
                  font.drawString("Kills: ", 4, 30, -1)
                  font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
                  font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
          
                  return Border(0F, 0F, 100F, 17F)
              }
          }
          

          You need to add the attack event, save the entity to a variable, then you need to add any event that is repetitive, for example onUpdate. You check if the world is not null and if the targeted entity is null or dead. If the player is dead, you increment the kill variable you have by 1, then you nullify the variable that keeps track of the entity you were attacking. Finally, you add the world event, that checks if there was a world change, so you can set the kills variable to 0. Hopefully this doesn't blow your brain and it shouldn't, because the client has these events available to you.

          suicidemouse33S Offline
          suicidemouse33S Offline
          suicidemouse33
          wrote on last edited by
          #34

          @mems said in Session Info:

          You need to add the attack event, save the entity to a variable, then you need to add any event that is repetitive, for example onUpdate. You check if the world is not null and if the targeted entity is null or dead. If the player is dead, you increment the kill variable you have by 1, then you nullify the variable that keeps track of the entity you were attacking. Finally, you add the world event, that checks if there was a world change, so you can set the kills variable to 0. Hopefully this doesn't blow your brain and it shouldn't, because the client has these events available to you.

          Same steps to do AutoL

          1 Reply Last reply
          0
          • ? A Former User

            @wxdbie said in Session Info:

            @suicidemouse

            @ElementInfo(name = "Session Info")
            class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                        side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
            
                private val fontValue = FontValue("Font", Fonts.font35)
            
                override fun drawElement(): Border? {
            
                    val font = fontValue.get()
            
                    RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
                    RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
            
                    font.drawString(name, (9F + 16F).toInt(), 5, -1)
                    font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
                    font.drawString("Kills: ", 4, 30, -1)
                    font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
                    font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
            
                    return Border(0F, 0F, 100F, 17F)
                }
            }
            

            You need to add the attack event, save the entity to a variable, then you need to add any event that is repetitive, for example onUpdate. You check if the world is not null and if the targeted entity is null or dead. If the player is dead, you increment the kill variable you have by 1, then you nullify the variable that keeps track of the entity you were attacking. Finally, you add the world event, that checks if there was a world change, so you can set the kills variable to 0. Hopefully this doesn't blow your brain and it shouldn't, because the client has these events available to you.

            wxdbieW Offline
            wxdbieW Offline
            wxdbie
            wrote on last edited by
            #35

            @mems okay, I will try. ty < 3undefined

            Plumer ManP 1 Reply Last reply
            1
            • wxdbieW wxdbie

              @mems okay, I will try. ty < 3undefined

              Plumer ManP Offline
              Plumer ManP Offline
              Plumer Man
              wrote on last edited by
              #36

              Search killsults on this forums and skid

              ? 1 Reply Last reply
              0
              • Plumer ManP Plumer Man

                Search killsults on this forums and skid

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

                @plumer-man said in Session Info:

                Search killsults on this forums and skid

                He doesn't have to. That way he doesn't really learn much.

                Plumer ManP 1 Reply Last reply
                0
                • ? A Former User

                  @plumer-man said in Session Info:

                  Search killsults on this forums and skid

                  He doesn't have to. That way he doesn't really learn much.

                  Plumer ManP Offline
                  Plumer ManP Offline
                  Plumer Man
                  wrote on last edited by
                  #38

                  He dosent have the logic to make one...

                  wxdbieW 1 Reply Last reply
                  1
                  • wxdbieW Offline
                    wxdbieW Offline
                    wxdbie
                    wrote on last edited by
                    #39

                    I did itundefined
                    java_o84l3YksZR.png

                    ? suicidemouse33S 2 Replies Last reply
                    1
                    • wxdbieW wxdbie has marked this topic as solved on
                    • Plumer ManP Plumer Man

                      He dosent have the logic to make one...

                      wxdbieW Offline
                      wxdbieW Offline
                      wxdbie
                      wrote on last edited by
                      #40

                      @plumer-man said in Session Info:

                      He dosent have the logic to make one..

                      I have logicundefined

                      I did check target dead and if true, +=1

                      Plumer ManP Ali00035A 2 Replies Last reply
                      4
                      • wxdbieW wxdbie

                        I did itundefined
                        java_o84l3YksZR.png

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

                        @wxdbie said in Session Info:

                        I did itundefined
                        java_o84l3YksZR.png

                        Great.

                        wxdbieW 1 Reply Last reply
                        0
                        • ? A Former User

                          @wxdbie said in Session Info:

                          I did itundefined
                          java_o84l3YksZR.png

                          Great.

                          wxdbieW Offline
                          wxdbieW Offline
                          wxdbie
                          wrote on last edited by
                          #42

                          @mems ty < 3undefined

                          1 Reply Last reply
                          0
                          • wxdbieW wxdbie has marked this topic as unsolved on
                          • wxdbieW wxdbie has marked this topic as solved on
                          • wxdbieW wxdbie

                            @plumer-man said in Session Info:

                            He dosent have the logic to make one..

                            I have logicundefined

                            I did check target dead and if true, +=1

                            Plumer ManP Offline
                            Plumer ManP Offline
                            Plumer Man
                            wrote on last edited by
                            #43

                            Good job then

                            1 Reply Last reply
                            0
                            • ? A Former User

                              @wxdbie said in Session Info:

                              @suicidemouse

                              @ElementInfo(name = "Session Info")
                              class SessionInfo(x: Double = -8.0, y: Double = 57.0, scale: Float = 1F,
                                          side: Side = Side(Side.Horizontal.MIDDLE, Side.Vertical.DOWN)) : Element(x, y, scale, side) {
                              
                                  private val fontValue = FontValue("Font", Fonts.font35)
                              
                                  override fun drawElement(): Border? {
                              
                                      val font = fontValue.get()
                              
                                      RenderUtils.drawRect(0F, 0F, 100F, 60F, Color(25,25,25, 128).rgb)
                                      RenderUtils.drawRect(0F, 0F, 100F, 17F, Color(25,25,25, 190).rgb)
                              
                                      font.drawString(name, (9F + 16F).toInt(), 5, -1)
                                      font.drawString("Nick: " + mc.getSession().username, 4, 20, -1)
                                      font.drawString("Kills: ", 4, 30, -1)
                                      font.drawString("FPS: " + Minecraft.getDebugFPS().toString(), 4, 40, -1)
                                      font.drawString("IP: " + ServerUtils.getRemoteIp(), 4, 50, -1)
                              
                                      return Border(0F, 0F, 100F, 17F)
                                  }
                              }
                              

                              You need to add the attack event, save the entity to a variable, then you need to add any event that is repetitive, for example onUpdate. You check if the world is not null and if the targeted entity is null or dead. If the player is dead, you increment the kill variable you have by 1, then you nullify the variable that keeps track of the entity you were attacking. Finally, you add the world event, that checks if there was a world change, so you can set the kills variable to 0. Hopefully this doesn't blow your brain and it shouldn't, because the client has these events available to you.

                              suicidemouse33S Offline
                              suicidemouse33S Offline
                              suicidemouse33
                              wrote on last edited by
                              #44

                              @mems said in Session Info:

                              Hopefully this doesn't blow your brain and it shouldn't

                              it will if you dont have coding experience.

                              1 Reply Last reply
                              0
                              • wxdbieW wxdbie

                                I did itundefined
                                java_o84l3YksZR.png

                                suicidemouse33S Offline
                                suicidemouse33S Offline
                                suicidemouse33
                                wrote on last edited by
                                #45

                                @wxdbie cool

                                1 Reply Last reply
                                0
                                • wxdbieW wxdbie

                                  @plumer-man said in Session Info:

                                  He dosent have the logic to make one..

                                  I have logicundefined

                                  I did check target dead and if true, +=1

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

                                  @wxdbie undefined

                                  wxdbieW 1 Reply Last reply
                                  0
                                  • Ali00035A Ali00035

                                    @wxdbie undefined

                                    wxdbieW Offline
                                    wxdbieW Offline
                                    wxdbie
                                    wrote on last edited by
                                    #47

                                    @stfwissue undefined

                                    Ali00035A 1 Reply Last reply
                                    4
                                    • wxdbieW wxdbie

                                      @stfwissue undefined

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

                                      @wxdbie undefined

                                      wxdbieW 1 Reply Last reply
                                      0
                                      • Ali00035A Ali00035

                                        @wxdbie undefined

                                        wxdbieW Offline
                                        wxdbieW Offline
                                        wxdbie
                                        wrote on last edited by
                                        #49

                                        @stfwissue undefined

                                        Ali00035A 1 Reply Last reply
                                        4
                                        • wxdbieW wxdbie

                                          @stfwissue undefined

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

                                          @wxdbie undefined

                                          wxdbieW 1 Reply Last reply
                                          0
                                          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