Count_Nosferatu
Contributor-
Posts
147 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Count_Nosferatu
-
RR3 All version. Unlocks events in current ROUND.
Count_Nosferatu replied to Count_Nosferatu's topic in LUA scripts
Hi Guys. Open the script with any text editor, the comments say what needs to be done for new versions of the game. Specifically for version 12.6.1 you need to change: local Events = { -- For RR3 v12.5 'HUAYRA ROYALE (Flashback) - August 20, 2024', 'Ferrari 296 GTB TTC - August 26, 2024', "F1 PIRELLI GP D'ITALIA 2024 (Race Day) - August 27, 2024", 'TRACK DAY: MONZA SP1 (Flashback) - September 1, 2024', 'Acura NSX GT3 LTS - September 6, 2024', 'GT3 Challenge TTC - September 10, 2024', 'Jaguar C-X75 R3 Spec LTS - September 11, 2024', 'F1 SINGAPORE GP 2024 (Race Day) - September 16, 2024', } local Date = { -- For RR3 v12.6 '2024082000', '2024082600', '2024082700', '2024090100', '2024090600', '2024091000', '2024091100', '2024091600', } -
I think that the problem has not yet been solved. It is not clear which range should be used. The script finds many ranges with ['type'] = 'rw-p' t = gg.getRangesList('com.ea.games.r3_row*base.apk') for i = 1, #t do if t[i]['type'] == 'rw-p' then print(t[i]) end end script-output.txt
-
Script ended: Script error: luaj.o: /storage/emulated/0/Pictures/Scripts/pointerTest.lua:67 ` if ((a[1].address > v["start"]) and (a[1].address < v["end"])) then` attempt to index ? (a nil value) with key 'address' (field '1')
-
Doesn't really work. It is not clear which of base apk to count from. gg.setRanges(gg.REGION_CODE_APP) t = gg.getRangesList('^/data/*com.ea.games.r3_row*base.apk*$') print('Found ' ..#t ..' results') a = 0 for i = 1, #t do if t[i]['type'] == 'rw-p' then print(t[i]) a = a + 1 end end print('Found ' ..a ..' rw-p results') -- -> Script ended: Found 37 results { -- table(5d5648b) ['end'] = 133868052664320, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868052647936, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(f005968) ['end'] = 133868054269952, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868054241280, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(cd3f181) ['end'] = 133868055478272, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868055474176, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(4995226) ['end'] = 133868055621632, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868055617536, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(bb3be67) ['end'] = 133868057997312, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868057923584, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(a35a414) ['end'] = 133868058820608, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868058816512, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(c4d24bd) ['end'] = 133868059889664, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868059885568, ['state'] = 'O', ['type'] = 'rw-p', } { -- table(5386ab2) ['end'] = 133868116672512, ['internalName'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['name'] = '/data/app/com.ea.games.r3_row-etCOPHVNo-lYN2A8uKT50Q==/base.apk', ['start'] = 133868116594688, ['state'] = 'O', ['type'] = 'rw-p', } Found 8 rw-p results
-
Tablet Android 10 x64 with VirtualXposed, script returned this: Script ended: { -- table(8e7fafb) [1] = { -- table(2608718) ['arch'] = 'AArch64', ['end'] = 522830204928, ['internalName'] = '/data/data/io.va.exposed/virtual/data/app/com.ea.games.r3_row/base.apk', ['name'] = '/data/data/io.va.exposed/virtual/data/app/com.ea.games.r3_row/base.apk', ['start'] = 522830127104, ['state'] = 'O', ['type'] = 'rw-p', }, } It's normal ? print(gg.getTargetInfo()) --> --- ['nativeLibraryDir'] = '/data/user/0/io.va.exposed/virtual/data/app/com.ea.games.r3_row/lib', ---
-
RR3 All version. Unlocks events in current ROUND.
Count_Nosferatu commented on Count_Nosferatu's file in LUA scripts
-
View File RR3 All version. Unlocks events in current ROUND. Unlocks events in current ROUND, which have not yet begun. Automatically changes rows count in gg.choice(), depending on the current date. Open source Submitter Count_Nosferatu Submitted 01/16/2024 Category LUA scripts
-
-
local resultnumber = {1} print(resultnumber) --> { -- table(d2fd880) --> [1] = 1, --> }
-
See the description of the gg.loadResults() command. https://gameguardian.net/help/classgg.html#ade5f40667e80938ba1678d0623fe7b82 Existing search results will be cleared. After executing gg.loadResults(gg.getListItems()) - "list" table is empty. In the "troll" table, results of last search.gg.searchNumber() and gg.refineNumber() You don't check the number of results found. Maybe it doesn't find anything. PS Script example is clearer if you highlight it as “code”
-
gg.setVisible(false) gg.searchNumber('100;140', gg.TYPE_FLOAT) -- ??? -- Do you really want to search for two 4 byte numbers in 512 byte range? gg.refineNumber('100', gg.TYPE_FLOAT) controlvalue = gg.getResults(999) -- ??? -- If you need only first variable, why fill the table with 999 numbers? -- May be need controlvalue = gg.getResults(1) gg.clearResults() choice = gg.choice({'Edit it to 100','Edit it to -1','Edit it back'}) if choice == 0 then -- insert cancel message in command gg.alert() or gg.toast() gg.setVisible(true) os.exit() end if choice == 1 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = -100 }}) end if choice == 2 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = -1 }}) end if choice == 3 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = 100 }}) end gg.setVisible(true) os.exit()
-
-
-
- 9 comments
-
- Encryption Lua
- Encryption Tools
- (and 5 more)
-
- 9 comments
-
- Encryption Lua
- Encryption Tools
- (and 5 more)
-
- 9 comments
-
- Encryption Lua
- Encryption Tools
- (and 5 more)
-
- 9 comments
-
- Encryption Lua
- Encryption Tools
- (and 5 more)
-
OK. Do you still need a script?
-
Which of the three libraries are you shifting from? There are three of them. I showed it to you. From the start address or from the end address?
-
Which of these libraries do you mean? From the beginning or from end of the library? For what architecture? x32 or x64? print(gg.getRangesList('libRealRacing3.so*')) End of script: { -- table(acc9e80) [1] = { -- table(86aacb9) ['end'] = 87629824, ['internalName'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['name'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['start'] = 67108864, ['state'] = 'Xa', ['type'] = 'r--p', }, [2] = { -- table(62218fe) ['end'] = 88342528, ['internalName'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['name'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['start'] = 87629824, ['state'] = 'Cd', ['type'] = 'r--p', }, [3] = { -- table(296385f) ['end'] = 88399872, ['internalName'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['name'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so', ['start'] = 88342528, ['state'] = 'Cd', ['type'] = 'rw-p', }, [4] = { -- table(79d22ac) ['end'] = 88563712, ['internalName'] = '/data/app/com.ea.games.r3_row-2/lib/arm/libRealRacing3.so:bss', ['name'] = '', ['start'] = 88399872, ['state'] = 'Cb', ['type'] = 'rw-p', }, }
-
Of course I saw your comment, I just gave a little more information.
-
WORD, DWORD, QWORD is hexadecimal number representation format. WORD - 2 bytes long, (max 65 535) DWORD - 4 bytes, (max 4 294 967 295) QWORD - 8 bytes, (max 18 446 744 073 709 551 615) On your screenshot first address xx8C, second address xx8E From xx8C to xx8E - 2 bytes. It's format WORD If you use next two bytes, this will be format DWORD. Number 3198 looks same in WORD and DWORD formats. (0x0C7E or 0x00000C7E) You can write in cell xx8C, number in format DWORD But if you write number in QWORD format, you will change the following data. This can lead to problems in game.
-
Check examples in gg.addListItems
-
Can be used gg.searchPointer()
