Jump to content

MarioRossi93i

Contributor
  • Posts

    647
  • Joined

  • Last visited

  • Days Won

    289

Posts posted by MarioRossi93i

  1. Real Racing 3 (12.1.2) - Race Type Changer


    REAL RACING 3 - RACE TYPE CHANGER


    Current version: 12.1.2.1.1

    Working RR3 v.: 12.1.2

     

    Description:

    Change race type: cup, endurance, head to head, etc...

     

    Instructions:

    Select a race, run the script and select current race type. Then choose new race type.

     

    Warning:

    There have been some big changes to the structure of the game. This is the first script that uses a new method for memory searching. So there may be some problems that will need to be resolved, be patient. Send me your feedback on the gameguardian.net website, thanks.

     

    Known issues:

    The script is not very stable or fast but this is the best I have managed to do at the moment.

     

    Video:

     

     


     

  2. my problem was the chainer, and now it is working.

    check all ranges for a known value and select the one (and only) that works. pm me if you need help.

    by the way, to also select the bss add an * and a $ (optional) after base.apk*$

  3. @nok1a thanks for your help, I solved the problem, the chainer is working now. now I just have to do some tests to select the right range in the scripts. unfortunately searching for a string takes too long, so I will directly use a getValues() to test for a known value.
    I'd say the problem is solved, thanks everyone!

    chainer.rrnolib.lua

  4. I imagined the size might change. the only idea I have left is to try to load a known value for each range and see if it is found, otherwise move on to searching for the values. I'm a little worried about the time this check will take...

  5. thanks @nok1a i ll try it with chainer asap. meanwhile i did some test manually and i manage to get it works.

    when libRealRacing.so is not present in /data/app/etc... i get this using gg.getRangesList("com.ea.games.r3_row*base.apk*bss"):

    Script terminato:
    Start: 0x7CF1C07000
    dimension: 0x32000
    
    
    Start: 0x7CFE362000
    dimension: 0x42000
    
    
    Start: 0x7CFE4AD000
    dimension: 0x3000
    
    
    Start: 0x7CFEDFE000
    dimension: 0x2000
    
    
    { -- table(2e1b136)
    	[1] = { -- table(3db1837)
    		['end'] = 536632070144,
    		['internalName'] = '/data/app/com.ea.games.r3_row-64kIDFJ_5MVEqukwLYrwhQ==/base.apk:bss',
    		['name'] = '[anon:.bss]',
    		['start'] = 536631865344,
    		['state'] = 'O',
    		['type'] = 'rw-p',
    	},
    	[2] = { -- table(73441a4)
    		['end'] = 536841175040,
    		['internalName'] = '/data/app/com.ea.games.r3_row-64kIDFJ_5MVEqukwLYrwhQ==/base.apk:bss',
    		['name'] = '[anon:.bss]',
    		['start'] = 536840904704,
    		['state'] = 'O',
    		['type'] = 'rw-p',
    	},
    	[3] = { -- table(6181b0d)
    		['end'] = 536842272768,
    		['internalName'] = '/data/app/com.ea.games.r3_row-64kIDFJ_5MVEqukwLYrwhQ==/base.apk:bss',
    		['name'] = '[anon:.bss]',
    		['start'] = 536842260480,
    		['state'] = 'O',
    		['type'] = 'rw-p',
    	},
    	[4] = { -- table(98faac2)
    		['end'] = 536852037632,
    		['internalName'] = '/data/app/com.ea.games.r3_row-64kIDFJ_5MVEqukwLYrwhQ==/base.apk:bss',
    		['name'] = '[anon:.bss]',
    		['start'] = 536852029440,
    		['state'] = 'O',
    		['type'] = 'rw-p',
    	},
    }

    the first one starting at 0x7CF1C07000 is the working one.

    Now i have a new question:

    all ranges have same state,type,name. how to get the correct one writing a script? by  checking size? 

    furthermore, if the game library is present, the getRangesList function only returns the last 3 ranges you see. Any ideas for managing everything via script?
    many thanks in advance

  6. f***, it works!!!

    the problem however is that not many will be able to copy the library into the /data/app directory on Android, so I can't use the chainer for scripts.
    half a victory for now, thank you very much👍

  7. in the previous version of the game the library was located in

    /data/app/com.game/.../lib.so

    and of course it was in the list of ranges in gg. now it seems that the game no longer installs it and the game works without this library as this library does not exist in the game directories or in memory. However, the libraries are present in the installation apk file. both 32 and 64 bit. I can only find the apk file in memory in the gg list. I hope I was more clear

  8. i have a problem (ok more than one 😁). i can t find game lib in /data/game/lib nor in process/range list when i run gg, but it is present in apk. so i can t use chainer anymore because cd and cb are empty. any suggestion?

    sorry for my bad english

  9. local gg = gg
    local s = -7041975695332343808
    
    gg.clearResults()
    gg.searchNumber(s,0x20)
    
    if gg.getResultCount()==0 then
        print('No results found.')
        os.exit()
    end
    
    local t = gg.getResults(10)
    
    for i,v in ipairs(t) do
      v.flags = 0x10
      v.value = 0x64
      v.name = 'text'
      gg.setValues({v})
      gg.addListItems({v})
    end
    gg.clearResults()

    I suggest you read the gameguardian help to better understand how it works

  10. local gg = gg
    local s = 8243116118139470284
    local offset = { 0x30, 0x10 }
    local r = {}
    
    gg.clearResults()
    gg.searchNumber(s,0x20)
    
    if gg.getResultCount()==0 then
        print('No results found.')
        os.exit()
    end
    
    local t = gg.getResults(10)
    
    for i,v in ipairs(t) do
    
        r = {
            [1] = {
                address = v.address-offset[1],
                flags = 0x1,
                value = 0,
                name = 'Ram '..i..',1'
            },
            [2] = {
                address = v.address+offset[2],
                flags = 0x10,
                value = 0x30,
                freeze = true,
                name = 'Ram '..i..',2'
            },
        }
        gg.setValues(r)
        gg.addListItems(r)
    end
    gg.clearResults()

    this should works

×
×
  • 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.