Jump to content

Enyby

Administrators
  • Posts

    8,811
  • Joined

  • Last visited

  • Days Won

    1,033

Everything posted by Enyby

  1. All. Include latest. Show video with issue.
  2. All. Include latest. Show video with issue.
  3. Enyby

    LUA scripting

    You can load data into script and make undo - redo in any depth. Also you can use files for store/load data and so on. If some function common and widely used - we can add it into gg table. like function sleep. _______________________________________________ added 0 minutes later Good wiki for common solutions: http://lua-users.org/wiki/SleepFunction
  4. Enyby

    LUA scripting

    Not in our implementation. We use LuaJ with custom changes. In general lua allow make compiled form of script but we do not plan support it.
  5. Enyby

    LUA scripting

    gg.toast ('Quadropus 2.0.48 Hack by Backlift') gg.clearResults() --gg.setRanges(gg.REGION_JAVA_HEAP) gg.setRanges(gg.REGION_C_ALLOC) while true do if gg.isVisible() then local d = gg.prompt({A='Number of Orbs Or Dooblins'}, {A='0'}) if d == nil then gg.alert('Script canceled') break end gg.searchNumber (d.A, gg.TYPE_DOUBLE, true, gg.SIGN_EQUAL, 0, -1) cnt = gg.getResultCount() if cnt == 0 then gg.alert('Search failed') break end if cnt == 1 then gg.editAll('100000000', gg.TYPE_DOUBLE) gg.alert('Hacking Done, Enjoy') break end gg.alert ('Go to game and change the value, then open gg to continue') gg.setVisible(false) end gg.sleep(100) end GameGuardian.git_signed.apk
  6. Enyby

    LUA scripting

    function sleep(s) local ntime = os.clock() + s repeat until os.clock() > ntime end gg.toast ('Quadropus 2.0.48 Hack by Backlift') gg.clearResults() --gg.setRanges(gg.REGION_JAVA_HEAP) gg.setRanges(gg.REGION_C_ALLOC) while true do if gg.isVisible() then local d = gg.prompt({A='Number of Orbs Or Dooblins'}, {A='0'}) gg.searchNumber (d.A, gg.TYPE_DOUBLE, true, gg.SIGN_EQUAL, 0, -1) cnt = gg.getResultCount() if cnt == 0 then gg.alert('Search failed') break end if cnt == 1 then gg.editAll('100000000', gg.TYPE_DOUBLE) gg.alert('Hacking Done, Enjoy') break end gg.alert ('Go to game and change the value, then open gg to continue') gg.setVisible(false) end sleep(1) end GameGuardian.git_signed.apk
  7. Enyby

    LUA scripting

    In future we add function for test state of UI (show/hide) and allow set it (show/hide).
  8. Enyby

    LUA scripting

    Try this test version. GameGuardian.git_signed.apk
  9. Enyby

    LUA scripting

    Bug. Will be fixed in next release.
  10. Enyby

    LUA scripting

    And wrong format. Must be or `d.A` or `d['A']`. _______________________________________________ added 1 minute later d = gg.prompt({A='Number of Orbs Or Dooblins'}, {A='0'}) gg.toast ('Quadropus 2.0.48 Hack by Backlift') gg.setRanges ( gg.REGION_C_ALLOC) gg.searchNumber (d.A, gg.TYPE_DOUBLE, true, gg.SIGN_EQUAL, 0, -1) if gg.getResultCount() == 1 then gg.editAll('100000000', gg.TYPE_DOUBLE) gg.alert ('Hacking Done, Enjoy') else gg.alert ('Go to game and change the value, then load the script again to continue') end
  11. Enyby

    LUA scripting

    Same. _______________________________________________ added 1 minute later data[A] but var data not defined. You used var d, not data before.
  12. Enyby

    LUA scripting

    Script can do some actions in background. For example every 5 seconds search some values and change it. Without user actions. In background. _______________________________________________ added 0 minutes later quote not closed.
  13. Enyby

    LUA scripting

    You can store state to file and load on each start script. Or wait for some actions. In last case user do not need run script each time. But this not always possible. function sleep(s) local ntime = os.clock() + s repeat until os.clock() > ntime end while gg.getResultCount() < 10 do c = gg.getResultCount() gg.toast('I wait for you! Only '..(10 - c)..' need!', true) sleep(3) end gg.alert('You done!')
  14. Enyby

    LUA scripting

    Depends on your logic. Read Lua manual reference posted in first post. if gg.getResultCount() == 0 then gg.alert('Find something and run script again!') else gg.alert('Wow! You found '..gg.getResultCount()..' results! Not bad!') gg.toast('You cool!') end
  15. Enyby

    LUA scripting

    Script for hack Asphalt 8 nitro: gg.searchNumber('2;8;10;12;15;20;25;30:61', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) print('Replaced: ', gg.editAll('1000', gg.TYPE_FLOAT)) print('Nitro hacked!')
  16. Enyby

    LUA scripting

    Lua table not specified order of fields. Maybe in future I try fix this. I make this support of scripting in last 3-4 weeks. It is first public release. Something can be not good or broken. In future we try improve it.
  17. Enyby

    LUA scripting

    No need change extension. You can load .txt files. Or any others.
  18. Enyby

    LUA scripting

    Script can work with files. It can be useful for create complicated things. API to GG will be edited and extend in future releases. Now present only basic features for scripts. Scripts can be used for automate some things like lot of same actions. For example for Asphalt 8 Enduro Double Down can be written automated scripts which make hundred of replace in one run.
  19. Enyby

    LUA scripting

    d = gg.prompt({A='A', B='B', C='C'}, {A='123', B='456', C='789'}) gg.alert('A + B - 3*C = '..(d.A + d.B - 3*d.C))
  20. Enyby

    LUA scripting

    Yes. And can be created automated calculator/tool based on gg. Present function 'toast', 'alert' and 'prompt' which allow create some dialogs for user. For example 'Input gold amount:' and use this value for make search. data = gg.prompt({[1]='Search value', [2]='Replace value', [3]='Max count'}, {[1]='123', [2]='456', [3]='321'}) gg.searchNumber(data[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) found = gg.getResultCount() gg.alert('We found: '..found) gg.getResults(data[3]) replaced = gg.editAll(data[2], gg.TYPE_DWORD) gg.alert('We replaced: '..replaced) gg.alert('Summary: We search '..data[1]..', found '..found..', replaced '..replaced..' to '..data[2]..' with max count '..data[3]..';') print('Script ended.')
  21. Enyby

    GameGuardian

    https://gameguardian.net/forum/topic/17447-lua-scripting/
  22. Enyby

    LUA scripting

    Starting from version 8.28.0 GG have support of LUA scripts. It can be loaded and run. https://www.lua.org/manual/5.2/manual.html Scripting Documentation: https://gameguardian.net/help/
  23. Enyby

    GameGuardian

    What's New in Version 8.28.0 Added LUA scripting. For additional information, please visit our forum. Added a setting to resize floating icon. Improved resizing of UI icons. Improved start of searches. Improved UI. UI fixes. Bugs fixes. Updated translations.
  24. 07-16 12:03:17.491 401 401 D android-daemon: Try on '/system/lib/libart.so' As I say - ART. Java timers not speedhacked. Game use Java timers.
  25. Wrong logcat. You must collect logcat as explain here: https://gameguardian.net/forum/topic/7419-how-to-collect-logcat/ Copy from app do not enough.
×
×
  • 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.