Jump to content

CmP

Contributor
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    43

Image Comments posted by CmP

  1. 3 minutes ago, TheMech said:

    ....firstly I didn't see thew comment above mine and second I know how nearby search works...

    Then you should be grateful that someone who can see the comments pointed you to the answer to your question, shouldn't you?

    And the explanation may be still useful for someone else.

  2. 23 hours ago, TheMech said:

    so can I use this function in scripts?

    This question is answered in the comment above yours, but it seems that you don't understand how nearby search works, so I will try to clarify.

    Nearby search works just like normal search, but it only searches for values at within certain distance before and/or after target value. For example, target value's address is 12345000 in hex. If you choose distance 1000 (also in hex) and select "Before" and "After", then the search will be performed only in the following range of addresses: [12345000 - 1000; 12345000 + 1000], i.e. from 12344000 to 12346000. You can achieve the same effect by inputting these numbers in "From" and "To" fields of the normal search dialog.

    At this point it should be obvious, how can you use this feature in script. If it's not, read the comment above yours, then try to find the answer in documentation for "searchNumber" function.

  3. 44 minutes ago, Enyby said:

    "Long awaited"? Where? By who? Nobody ask me this feature.

    Well, maybe not by many, but at least by some for sure.

    In this topic I mentioned "some trigger of action when GG interface is active" and that it may be useful for helper scripts (the ones that help user in process of using GG). Yes, I have not offered any solution for such trigger, but you have found one and implemented it in the last update. I think that this new feature will be useful at least for some script developers (including me), so I wrote previous message to thank you for coming up with your solution for trigger of action for scripts.

  4. 37 minutes ago, asc said:

    I am a professional developer.

    Then you would not ask such questions for sure.

    If you do understand, what compilation is etc, then why would you write this:

    4 hours ago, asc said:
    The two files I'm trying to decompile

    dec1

    dec2

    attaching non-compiled files?

    Is not it obvious for you, that if you are asking about decompilation/having problems with it, then you should provide COMPILED files - exactly the ones, that you tried to decompile, not anything else?

    37 minutes ago, asc said:

    I specify that the byte code recovers is functional under gg (loading and execution) but the decompilation program makes it an error.

     
    Did you expect the decompiler to work in all cases when GG is able to run the script?
    You should at least know that there are tons of ways to "confuse" the decompiler without "ruining" script's logic.

    Decompiler is intended for reassembling the source code, this cannot be compared to running the script (executing bytecode) at all. That's why decompiler may fail even if GG is able to run the script perfectly.

  5. 10 minutes ago, KenanF said:

    man why you got angry? id did not know this page

    I am not angry at all.

    And that section called "Help about use GameGuardian" just contains in-app help, so you did not need to know about it.
    I think that it is obvious, that if one has any question about the app, one should check it's help first, and only in case, when the answer was not found there, it is reasonable to ask that question here.

    1.thumb.PNG.cf1ce85241c168133b01dda4720fae82.PNG

    2.thumb.PNG.a718837bf68e49eb8bb199ce016189a3.PNG

  6. 49 minutes ago, TisNquyen said:

    The compiler does not have a password ?

    Is there a way to decode it?

    Compiler is used to translate source code to it's binary (machine-readable) form, not for encrypting it with password.

    Compiled scripts may be "decoded" with the help of decompiler. However, it may not work in some cases.
    Try this (or any other) lua decompiler on your script to answer your question.
    https://gameguardian.net/forum/files/file/119-unluac-decompile-binary-scripts/

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.