Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/09/2018 in all areas

  1. Watch on Youtube: Sample script with API call makeRequest - GameGuardian
    2 points
  2. path = gg.getFile():gsub('[^/]+$', '') filename = gg.getFile():match('[^/]+$')
    1 point
  3. @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
    1 point
  4. GG help is not intended to be complete guide for writing scripts. Only API-related information and some easy examples are there. You need to learn and practise Lua language if you want to write advanced scripts.
    1 point
  5. @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.
    1 point
  6. Lol, did you write all of those 13789 lines manually or by copying&pasting blocks of code? I am asking, because you could achieve same result using loops, amount of code would be reduced tremendously in this case.
    1 point
  7. This script very good as learning base, it show how to working with pointer, offset, de/encryption and using lua lang in creative way.
    1 point
  8. you can find web-based xor calculators including http://xor.pw/# provided you have 200 gold (in decimal), you need to seach 444626 (DWord, decimal) because 200 xor 444442 = 444626.
    1 point
  9. Use bit32.bor or "|" as bitwise OR. gg.setRanges(bit32.bor(gg.REGION_ANONYMOUS, gg.REGION_BAD)) gg.setRanges(gg.REGION_ANONYMOUS | gg.REGION_BAD) I advise you to study Lua and how it works, because you wrote a nonsense, from which it follows that you do not understand anything in Lua, but simply combine the text as it is. I do not advise using the BAD region - the search will be slow and there will be garbage in it. If useful values can be found in BAD, then you need to find them, write a log of regions and send it to me, so I corrected this.
    1 point
  10. Hmmm how to set multiple ranges? I got error : Script ended: Script By CommonModz Perhaps this script needs the latest version of GameGuardian. Try to update to the latest version. Script error: org.luaj.vm2.LuaError: lua:264 `gg.setRanges(gg.REGION_ANONYMOUS_BAD)` gg.setRanges: bad argument #1 (nil): number expected, got nil stack traceback: lua:264: in main chunk [Java]: in ? at org.luaj.vm2.Varargs.argerr(Varargs.java:280) at org.luaj.vm2.Varargs.checkint(Varargs.java:317) at android.ext.Script$setRanges.invokeUi(Script.java:1827) at android.ext.Script$ApiFunction.run(Script.java:737) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5437) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
    1 point
  11. It is label. Learn Lua. Read books or lua wiki. Or use google.
    1 point
  12. If you are creative enough, you can do it depending on game.
    1 point
  13. For what? Steal private data and spy for users?
    1 point
  14. it's easy to root u r android phone the easiest way is to download king root application to u r phone otherwises you can watch tutorials in youtube good luck
    1 point
  15. @noworkhttps://gameguardian.net/forum/topic/7222-gameguardian/?do=findComment&comment=59292
    1 point
  16. Hey everyone looking for a hay day mod. I know of the farm town app, but im looking for something to get me diamonds in existing hay day account. Thx
    1 point
×
×
  • 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.