Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/16/2019 in Posts

  1. Avoid use global variables Global variables is slow. Also if you put local gg = gg At top of your script it can speed up it. Just one line. Now see tests: local n = 1000000 local t = os.clock() for i = 1, n do gg.isVisible() end t = os.clock() - t print('use global gg: '..t..' seconds') local gg = gg local t = os.clock() for i = 1, n do gg.isVisible() end t = os.clock() - t print('use local gg: '..t..' seconds') a, b, c = 1, 2, 3 local t = os.clock() for i = 1, n do c = a + b end t = os.clock() - t print('use global vars: '..t..' seconds') local a, b, c = 1, 2, 3 local t = os.clock() for i = 1, n do c = a + b end t = os.clock() - t print('use local vars: '..t..' seconds') Results: use global gg: 2.138 seconds use local gg: 1.6 seconds use global vars: 2.068 seconds use local vars: 0.727 seconds It is not big difference, because I run it on powerful emulator. On real device it can be more slow. You can see disassembled code - for global vars need more Lua instructions, so it more slow in any case. Upvalue too slow, Because of that better define local copy of var in places where you need optimization. For example huge math.
    2 points
  2. You asked me how to protect scripts from decompiling. You needed an example. To protect against decompilation, I added assembler / disassembler scripts. Now you can disassemble the script, change the assembler listing, and then assemble it. So you can get a binary script that no decompiler can decompile. I have no specific example yet, maybe I will provide it later.
    2 points
  3. Name of Game: Space Justice Play Store Link (If it's a paid app, the apk): https://play.google.com/store/apps/details?id=com.my.space.justice link apkpure https://apkpure.com/vn/store/apps/details?id=com.my.space.justice Version: 0.1.4553 What cheat? Health, xp, gold...: Coins, Crystal edit Have you tried cheating this game? What happened?: Yes, I tried changing some values such as coins but it will restart. Comments:
    1 point
  4. Well its a simple Xor value. Search for the exact xp number by clicking on inventory ( because the game does not show the exact value otherwise). Thick " the value is encrypted". Go kill a monster then refine.After all you will be left with like 20 values. The Dword right below the Xor is the key. Then change it to 0, and you get max xp
    1 point
  5. The game can be cheated. I got maximum lvl. The values are just encrypted. I have not tried with something else than xp, but i will. Its not hard, but i cant post video here, you know why xd
    1 point
  6. By the way, can I know why the offset is 4 in the Offset Calculator? How you get 4?
    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.