Navigation

    CCBlueX Forum

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

    why script does not load JNI library?

    Off-Topic
    3
    14
    124
    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.
    • I
      idk my name last edited by 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

      A C 2 Replies Last reply Reply Quote 0
      • A
        Aftery @idk my name last edited by

        @idk-my-name good question but where's the code

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

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

          A 1 Reply Last reply Reply Quote 0
          • A
            Aftery @idk my name last edited by

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

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

              @aftery damn...
              thank you

              1 Reply Last reply Reply Quote 0
              • C
                cancer @idk my name last edited by

                @idk-my-name

                compiled using gcc

                what
                we doing c now?

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

                  @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 Reply Quote 0
                  • C
                    cancer @idk my name last edited by

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

                    I 2 Replies Last reply Reply Quote 0
                    • I
                      idk my name @cancer last edited by

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

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

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

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          cancer @idk my name last edited by 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 1 Reply Last reply Reply Quote 0
                          • I
                            idk my name @cancer last edited by

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

                            C A 2 Replies Last reply Reply Quote 0
                            • C
                              cancer @idk my name last edited by

                              @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 Reply Quote 0
                              • A
                                Aftery @idk my name last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post