-
Posts
8,811 -
Joined
-
Last visited
-
Days Won
1,033
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Enyby
-
Asphalt 8: Airborne - hack Enduro Double Down (EDD) - lua script - GameGuardian
Enyby commented on Enyby's gallery image in Video Tutorials
-
Already present if UI open. Stop button at left top corner. _______________________________________________ added 3 minutes later Do not make sense. Format of file can be any.
-
Will be in future. Now only short help in first post and button help in execute script dialog in latest test builds/ next releases.
-
Asphalt 8: Airborne - hack Enduro Double Down (EDD) - lua script - GameGuardian
Enyby commented on Enyby's gallery image in Video Tutorials
-
Yes. This be from next release. Some buggy firmware can run only HW or only SW acceleration. On normal firmware GG can be started from any activity. _______________________________________________ added 1 minute later It is only for start activity. Inside main UI worked setting from settings.
-
Video: Asphalt 8: Airborne - hack Enduro Double Down (EDD) - lua script - GameGuardian
-
Asphalt 8: Airborne - hack Enduro Double Down (EDD) - lua script - GameGuardian
Enyby posted a gallery image in Video Tutorials
-
[Outdated] Asphalt 8: Airborne - hack Enduro Double Down (EDD)
Enyby replied to Enyby's topic in LUA scripts
I make 4 test race in EDD inside Droid4X after call script. For me all work fine. -
Script: Asphalt 8: Airborne - hack Enduro Double Down (EDD)
-
View File [Outdated] Asphalt 8: Airborne - hack Enduro Double Down (EDD) Script outadated and not be updated anymore. Use instead: Asphalt 8: Airborne - hack events (Career, Tags, F1, Mastery, R&D, EDD, Championship, World Tour) (#dlzdrofc) Submitter Enyby Submitted 07/20/17 Category LUA scripts
-
-
Build 5559 no need anymore. You must use latest version (v8.29.0 at least).
-
Because you need use latest test build for it: https://gameguardian.net/forum/topic/17447-lua-scripting/?do=findComment&comment=58877
- 21 replies
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
How to use ordered group search - GameGuardian
Enyby commented on Enyby's gallery image in Video Tutorials
It is max size of bytes need for include first byte of each value. For example if you have 4 dword it will be 13 because each dword is 4 byte and last 3 byte of last dword does not matter: 1111 2222 3333 4[444] It can be calculated as 4 (items)*4 (size) - 3 (3 bytes and end) or 3 (items)*4 (size) + 1 (byte for last item) = 13 If you run simple search with only one type you can use more simple way - count of vars multiply on type size. In this example 4 values * 4 bytes each = 16. It is produce same result because dword 4-byte aligned in memory. But if you search byte with dword then minimal possible size is 2. not 5. 5 can find something like: B??? DDDD Of course all depends from what you want find. You need imagine bigger pattern of you need and calculate maximal count of bytes for include all first bytes on it. -
Need specify full path. And you can not write on any place in Android. Something like gg.CACHE_DIR .. "/your.file.txt" can get you full path to file in writable dir. And you need work with `io` lib. I do not know what is that `FileSystem:WriteFile` or `gg.open` or `fs.open` or `textutils`. Google "lua io save file". For example: https://www.tutorialspoint.com/lua/lua_file_io.htm -- Opens a file in read file = io.open("test.lua", "r") -- sets the default input file as test.lua io.input(file) -- prints the first line of the file print(io.read()) -- closes the open file io.close(file) -- Opens a file in append mode file = io.open("test.lua", "a") -- sets the default output file as test.lua io.output(file) -- appends a word test to the last line of the file io.write("-- End of the test.lua file") -- closes the open file io.close(file) You can run print(io) For get list of available functions in `io` table.
- 21 replies
-
1
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
It is common things not connected with gg. Then you can find need info and example in internet. We not invent lua. We only add to it one table. All other stay same as before us. Then you can use internet for info. _______________________________________________ added 2 minutes later For example I search on Internet: http://lua-users.org/wiki/TableSerialization https://www.lua.org/pil/12.1.html http://lua-users.org/wiki/SaveTableToFile
-
Press "view file" and on next page find "download this file" button.
-
function conv(B1) return 1072693248+1048576*math.floor(math.log(B1)/math.log(2))+math.floor(1048576*((B1+B1-math.pow(2,math.floor(math.log(B1)/math.log(2))+1))/math.pow(2,math.floor(math.log(B1)/math.log(2))+1))) end local d = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} while true do while not gg.isVisible() do gg.sleep(100) end d = gg.prompt({'health 1', 'attack 1', 'health 2', 'attack 2', 'health 3', 'attack 3', 'health 4', 'attack 4', 'health 5', 'attack 5'}, d, {'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number'}) if (d == nil) then os.exit() end for i = 1, 10, 2 do gg.clearResults() local s = conv(d[i])..';'..conv(d[i+1])..'::1024' gg.searchNumber (s, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) local log = i .. '; request = "' .. s .. '"; found = ' .. gg.getResultCount() .. '; edited = ' .. gg.editAll(conv(9999999999), gg.TYPE_DWORD) print(log) -- gg.toast(log, true) end gg.toast('Click on icon for next search') gg.setVisible(false) end
- 21 replies
-
2
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
Currently script no have access to saved list inside gg. But you can use regular files for that. Gg provide all need pathes, io lib all needed methods. Freeze currently not available too. We add access in future.
-
Of course. Second table can contain default values. But you need learn lua. I do not write scripts for everyone. This is just example.
- 21 replies
-
1
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
For save order of fields in gg.prompt need use table without indexes: local d = gg.prompt({'health 1', 'attack 1', 'health 2', 'attack 2', 'health 3', 'attack 3', 'health 4', 'attack 4', 'health 5', 'attack 5'}, nil, {'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number'}) You can access to fields by it index starting from 1. In this example it be d[1], d[2], d[3], ..., d[10].
-
function conv(B1) return 1072693248+1048576*math.floor(math.log(B1)/math.log(2))+math.floor(1048576*((B1+B1-math.pow(2,math.floor(math.log(B1)/math.log(2))+1))/math.pow(2,math.floor(math.log(B1)/math.log(2))+1))) end local d = gg.prompt({'health 1', 'attack 1', 'health 2', 'attack 2', 'health 3', 'attack 3', 'health 4', 'attack 4', 'health 5', 'attack 5'}, nil, {'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number'}) if (d == nil) then os.exit() end for i = 1, 10, 2 do gg.clearResults() local s = conv(d[i])..';'..conv(d[i+1])..'::1024' gg.searchNumber (s, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) print(i, 'request =', s, 'found =', gg.getResultCount(), 'edited =', gg.editAll(conv(9999999999), gg.TYPE_DWORD)) end I used other app for run because of that found and edit 0.
- 21 replies
-
1
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
INT is not integral. Just round to int. All of this can be done at lua. B1 = 520 A1 = 1072693248+1048576*math.floor(math.log(B1)/math.log(2))+math.floor(1048576*((B1+B1-math.pow(2,math.floor(math.log(B1)/math.log(2))+1))/math.pow(2,math.floor(math.log(B1)/math.log(2))+1))) print(B1, A1)
- 21 replies
-
1
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
As far as I know this lib allow do all possible calculation. Maybe it is not one liner as implemented in Excel but most of things can be done. Show example of formula.
- 21 replies
-
1
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with:
-
Yes
- 21 replies
-
- Multiple search
- Multiple Values
-
(and 2 more)
Tagged with: