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.
  • suicidemouse33S suicidemouse33

    This post is deleted!

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

    @suicidemouse undefined

    suicidemouse33S 1 Reply Last reply
    1
    • wxdbieW wxdbie

      @suicidemouse undefined

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

      @wxdbie ?

      1 Reply Last reply
      0
      • wxdbieW wxdbie

        @plumer-man said in Session Info:

        You dont really learn if you're just pasting without learning from it...

        I understand something. Even though I have only been studying for three weeks

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

        @wxdbie said in Session Info:

        Even though I have only been studying for three weeks

        You need to have at least 1.5 month of coding experience

        wxdbieW 1 Reply Last reply
        0
        • suicidemouse33S suicidemouse33

          @wxdbie said in Session Info:

          Even though I have only been studying for three weeks

          You need to have at least 1.5 month of coding experience

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

          @suicidemouse said in Session Info:

          You need to have at least 1.5 month of coding experience

          Well, i learningundefined

          1 Reply Last reply
          1
          • A Offline
            A Offline
            Aftery
            wrote on last edited by
            #18
            This post is deleted!
            suicidemouse33S wxdbieW 2 Replies Last reply
            0
            • A Aftery

              This post is deleted!

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

              @aftery the op wants to make session info in kotlin, making one in kotlin isn't easy as 2+2, its not easy in javascript either, and yes, snippets are useful

              you need more than 3 weeks of coding experience to make one

              1 Reply Last reply
              0
              • suicidemouse33S Offline
                suicidemouse33S Offline
                suicidemouse33
                wrote on last edited by suicidemouse33
                #20

                @wxdbie im suggesting that you want to make a session info that looks like the one which novoline uses

                @Plumer-Man @Aftery most people on this forum are pasters, so no one cares.

                wxdbieW Plumer ManP 2 Replies Last reply
                0
                • suicidemouse33S suicidemouse33

                  @wxdbie im suggesting that you want to make a session info that looks like the one which novoline uses

                  @Plumer-Man @Aftery most people on this forum are pasters, so no one cares.

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

                  @suicidemouse no, I have not even seen it undefined
                  I want to make my simple session info (With nick, kills and fps)

                  Plumer ManP 1 Reply Last reply
                  0
                  • A Aftery

                    This post is deleted!

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

                    @aftery said in Session Info:

                    i dont think you need more than 3 weeks of experience to increment a variable and call a function with arguments which are both things that are present in the few snippets of code youve posted in this forum b4

                    Well, as see, not enough ._.

                    1 Reply Last reply
                    1
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #23

                      Session as in a world change?

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

                        Session as in a world change?

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

                        @mems No

                        1 Reply Last reply
                        0
                        • wxdbieW wxdbie

                          @suicidemouse no, I have not even seen it undefined
                          I want to make my simple session info (With nick, kills and fps)

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

                          bruh

                          2 of the things you listed are already avalible from the normal liquidbounce hud editor

                          1 Reply Last reply
                          0
                          • ? A Former User

                            Session as in a world change?

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

                            9fa33dd6-6e4f-4266-a198-ae1517586c63-image.png
                            Some thing like this or this
                            f4d7dae7-904f-40ab-927f-d2dde602b0d2-image.png
                            https://forums.ccbluex.net/topic/3769/share-my-session-info-picture?_=1651944011835

                            wxdbieW 2 Replies Last reply
                            0
                            • Plumer ManP Plumer Man

                              9fa33dd6-6e4f-4266-a198-ae1517586c63-image.png
                              Some thing like this or this
                              f4d7dae7-904f-40ab-927f-d2dde602b0d2-image.png
                              https://forums.ccbluex.net/topic/3769/share-my-session-info-picture?_=1651944011835

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

                              @plumer-man that I know

                              1 Reply Last reply
                              1
                              • suicidemouse33S suicidemouse33

                                @wxdbie im suggesting that you want to make a session info that looks like the one which novoline uses

                                @Plumer-Man @Aftery most people on this forum are pasters, so no one cares.

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

                                @suicidemouse said in Session Info:

                                @wxdbie im suggesting that you want to make a session info that looks like the one which novoline uses

                                @Plumer-Man @Aftery most people on this forum are pasters, so no one cares.

                                I care?

                                suicidemouse33S 1 Reply Last reply
                                0
                                • Plumer ManP Plumer Man

                                  @suicidemouse said in Session Info:

                                  @wxdbie im suggesting that you want to make a session info that looks like the one which novoline uses

                                  @Plumer-Man @Aftery most people on this forum are pasters, so no one cares.

                                  I care?

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

                                  @plumer-man say this in mpgh

                                  1 Reply Last reply
                                  0
                                  • Plumer ManP Plumer Man

                                    9fa33dd6-6e4f-4266-a198-ae1517586c63-image.png
                                    Some thing like this or this
                                    f4d7dae7-904f-40ab-927f-d2dde602b0d2-image.png
                                    https://forums.ccbluex.net/topic/3769/share-my-session-info-picture?_=1651944011835

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

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

                                    only thing I am lack is kills

                                    suicidemouse33S 1 Reply Last reply
                                    1
                                    • 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
                                          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