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. Off-Topic
  3. why script does not load JNI library?

why script does not load JNI library?

Scheduled Pinned Locked Moved Off-Topic
14 Posts 3 Posters 950 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.
  • I idk my name

    @aftery of script or of .dat library?
    script: script.import("helloworld.dat")
    helloworld.c: printf("Hello, JNI!\n")
    return;

    A Offline
    A Offline
    Aftery
    wrote on last edited by
    #4

    @idk-my-name epic
    103a6a9c-de0b-47a7-acb9-b1cd4483f635-image.png

    I 1 Reply Last reply
    0
    • A Aftery

      @idk-my-name epic
      103a6a9c-de0b-47a7-acb9-b1cd4483f635-image.png

      I Offline
      I Offline
      idk my name
      wrote on last edited by
      #5

      @aftery damn...
      thank you

      1 Reply Last reply
      0
      • I idk my name

        compiled using GCC, two steps (1 step is .o and then .dll, then i renamed to helloworld.dat)
        helloworld.c and .h were just single classes that used jvm.h to get clientutils and it's method and so printed hello, jni! into chat

        C Offline
        C Offline
        cancer
        wrote on last edited by
        #6

        @idk-my-name

        compiled using gcc

        what
        we doing c now?

        I 1 Reply Last reply
        0
        • C cancer

          @idk-my-name

          compiled using gcc

          what
          we doing c now?

          I Offline
          I Offline
          idk my name
          wrote on last edited by idk my name
          #7

          @cancer fun fact that i used something like this as obf
          JNIEnv* jenv;
          jclass classProvider = jenv->findClass(...gets class provider...)

          C 1 Reply Last reply
          0
          • I idk my name

            @cancer fun fact that i used something like this as obf
            JNIEnv* jenv;
            jclass classProvider = jenv->findClass(...gets class provider...)

            C Offline
            C Offline
            cancer
            wrote on last edited by
            #8

            @idk-my-name I don't understand, but thanks.

            I 2 Replies Last reply
            0
            • C cancer

              @idk-my-name I don't understand, but thanks.

              I Offline
              I Offline
              idk my name
              wrote on last edited by
              #9

              @cancer so
              i used jni.h to get IClassProvider
              then got player field
              then got motionXYZ and made their setters

              1 Reply Last reply
              0
              • C cancer

                @idk-my-name I don't understand, but thanks.

                I Offline
                I Offline
                idk my name
                wrote on last edited by
                #10

                @cancer also liquidsense does not violate gpl due to marco has liquidsense src

                C 1 Reply Last reply
                0
                • I idk my name

                  @cancer also liquidsense does not violate gpl due to marco has liquidsense src

                  C Offline
                  C Offline
                  cancer
                  wrote on last edited by cancer
                  #11

                  @idk-my-name How does that make it any less proprietary? I can't get the source code. What do you think the GPL is for? Even if Marco doesn't care, which is fair, it still violates the GPL by not licensing the derivative under the GPL.

                  I 1 Reply Last reply
                  0
                  • C cancer

                    @idk-my-name How does that make it any less proprietary? I can't get the source code. What do you think the GPL is for? Even if Marco doesn't care, which is fair, it still violates the GPL by not licensing the derivative under the GPL.

                    I Offline
                    I Offline
                    idk my name
                    wrote on last edited by
                    #12

                    @cancer whatever, marco will stay that it is not violating.

                    C A 2 Replies Last reply
                    0
                    • I idk my name

                      @cancer whatever, marco will stay that it is not violating.

                      C Offline
                      C Offline
                      cancer
                      wrote on last edited by
                      #13

                      @idk-my-name Marco doesn't decide the terms of the GPL. He does decide whether he thinks the violation is OK. If he does, that's fine. He, and only he, is empowered to do anything about it.

                      1 Reply Last reply
                      0
                      • I idk my name

                        @cancer whatever, marco will stay that it is not violating.

                        A Offline
                        A Offline
                        Aftery
                        wrote on last edited by
                        #14

                        @idk-my-name if you're trying to make native obf/packer, kinda late and pretty overrated but good luck.

                        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