Jump to content

Enyby

Administrators
  • Posts

    8,811
  • Joined

  • Last visited

  • Days Won

    1,027

Everything posted by Enyby

  1. @Rath _______________________________________________ added 0 minutes later http://www.phoenixos.com/en_US/octopus/intro http://www.octopusgame.com/en_US/
  2. @Rath Let them update the official website link and apk.
  3. @Rath There only the package name has been changed. Plus on the official website there is no such version. And the official website link is old. And the signature there is different. I'm not sure that this is an official application, not someone's fake.
  4. Enyby

    GameGuardian

    @Eduardo28 look like bug in your kernel because all work for me as before. System call 'kill' is broken, so current behaivour is better from old one.
  5. @80869969 You are blind or stupid? What written in message?
  6. Enyby

    LUA scripting

    @minhthong0824 local val = 32 print(val..':') for k, v in pairs(gg) do if k:sub(1, 7) == 'REGION_' then if (val & v) == v then print(k) end end end local val = 16 print(val..':') for k, v in pairs(gg) do if k:sub(1, 5) == 'TYPE_' then if (val & v) == v then print(k) end end end local val = 536870912 print(val..':') for k, v in pairs(gg) do if k:sub(1, 5) == 'SIGN_' then if (val & v) == v then print(k) end end end
  7. Memory layout same as here: Beach Buggy Racing - hack coins, gems - GameGuardian (#2xxe9y5c)
  8. Angry Birds Epic - hack lucky coins (gold), snoutlings (silver), essence of friendship (hearts or gems) (#4079u2b6)
  9. Enyby

    LUA scripting

    You need tonumber function for directly convert unsupported string to number. http://lua-users.org/wiki/NumbersTutorial
  10. 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. No. Book for beginners not need this. Try start from Lua first edition book.
  11. Enyby

    LUA scripting

    path = gg.getFile():gsub('[^/]+$', '') filename = gg.getFile():match('[^/]+$')
  12. Watch on Youtube: Sample script with API call makeRequest - GameGuardian
  13. Also: https://en.wikipedia.org/wiki/Magic_number_(programming)
  14. @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
  15. 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.
  16. @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.
  17. As @CmP write above - loop can huge reduce script size. Any script which do gg.editAll after gg.getResults(100000) is very bad. It is good way to crash game, maybe with broke save data. Edit a lot of values it is very bad idea in all cases.
  18. https://gameguardian.net/forum/forum/13-requests/
  19. Enyby

    LUA scripting

    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.
  20. Virtual spaces to run GameGuardian without root (#ct7bob3)
  21. Enyby

    LUA scripting

    It is label. Learn Lua. Read books or lua wiki. Or use google.
×
×
  • 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.