Jump to content

Enyby

Administrators
  • Posts

    8,811
  • Joined

  • Last visited

  • Days Won

    1,011

File Comments posted by Enyby

    Script compiler

       24,695    58

    @qq52831274 This script is known to a few. I do not advertise it anywhere, I do not give advice on decoding.
    Also it is available for download only to registered users.
    Therefore, most do not know about it and will not be able to decipher the source.

    If it continues to work out, then I just integrate the logging and dump functionality directly into GG.
    After that, absolutely any person can get the necessary logs and dumps directly into GG.
    And to track this fact, or somehow prevent it, it will be completely impossible from the level of Lua.

    So I advise him to think, before doing something. For example, to conduct DDoS attacks on our web server.
    The consequences may very much not like him.

    Script compiler

       24,695    58

    @CmP More one click. If you do not need load or log, you can simple ignore this files on disk. Maybe it is create not necessary files, but I do no think this is a big problem.

    Usually you need both option, because is one fail then you need second.

  1. 1 minute ago, XxhentaixX said:

    But lua is wrided in C++, so is it better that i learn C++ first ?

    Lua is lua. Does not mater on which language it implemented. Need learn lua, not implementation base. And in GG lua implemented not on C/C++, but on Java. Even it is does not matter. Learn Lua.

    3 minutes ago, XxhentaixX said:

    before reading the books i should have previous programming experiences.

    No. Book for beginners not need this. Try start from Lua first edition book.

  2. @XxhentaixX You should have a feeling of "wrongness". If you write two million lines, then you should have this feeling and you need to investigate the question of how to make it easier and faster.
    There is such a principle of "code reuse". This is the first time. And the second point, a good programmer is always lazy. This means that he will prefer creative research than a stupid copy-paste or routine work.
    You can learn the language as you write the code, there is nothing wrong with that. But you should have a feeling of "beautiful", otherwise you will waste time in vain.
    For that hour while you were copying the same code, you could learn something new and, in the end, spend the same time, much more productive.

    Also I advise you to study the basic principles of writing code. For example, if you have a number of 100,000 in 200 places, it's best to have one variable and write it everywhere. So then, if you need to change this number, you did it in one place, and not in hundreds.

    This should happen to you when you write the code. Try to think a step ahead of the current situation. If you write something two or more times, you may need to generalize these points.

    https://en.wikipedia.org/wiki/Duplicate_code

    https://en.wikipedia.org/wiki/Code_smell

    https://en.wikipedia.org/wiki/Copy_and_paste_programming

  3. 17 minutes ago, XxhentaixX said:

    I don`t think I have see "searchStringPart" in the GG help.

    This is called string concatenation. Learn Lua. The help on the GG API, it's not strange, the help on the GG API, and not the manual or help on Lua.

  4. @CmP It's all even easier to do - one function for searching that processes the table, plus creating a table. You can fill out the table with the data "in the forehead," but you can make it so that only the templates are stored there, which will be searched in the loop.

  5. 5 minutes ago, INeedHax said:

    I did every step that I was supposed to do, but I kept getting ur app isn't optimised

     

    25 minutes ago, Enyby said:

    Show video with issue. On video you must delete exists parallel space, download it from here, install, add GG and game and show message about need optimized version.

     

    5 minutes ago, INeedHax said:

    I did everything Step by STEP

     

    25 minutes ago, Enyby said:

    Show video with issue.

     

×
×
  • 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.