Jump to content

Trews27

Members
  • Posts

    20
  • Joined

  • Last visited

Additional Information

  • Android
    13.x
  • Device
    Lenovo Xiaoxin Pad 2024

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Trews27's Achievements

  1. Please describe what to do next.
  2. I didn't understand you right away. I can find and change the values with this script. When moving between locations, the values are reset and need to be found again, during this time I can be killed). That's why I wanted to automate the process so as not to lose precious seconds. Field_Offset_Finder_V4.lua
  3. Here is another field and class. But with this search method the result is the same. class AtmosphereFrames.FogFrame public System.Single End; // 0x38
  4. All the values I found were in the anonymous area. Yes, I tried, the result is the same. The whole search takes 1-2 seconds, it seems the script does not search anything at all.
  5. Yes, the game is definitely 64-bit.
  6. The result is the same. The script is executed, no errors, no values found.
  7. Hi. I already know how to do this, but there was a problem with one game. With Feild offset finder everything is found and easily changed, but the script does not find anything. Class: ActorCameraController. Fields: public struct ActorCameraController.State Outside; // 0x60. function metaDataOffsets(). I tried to write the field name in different ways, nothing helps. Maybe there is a way to search without the field name? function metaDataOffsets() startAddressDat = 0 endAddressDat = 0 local rangesDat = gg.getRangesList("global-metadata.dat") for i, v in ipairs(rangesDat) do if v.state == "O" then startAddressDat = v.start endAddressDat = rangesDat[i]["end"] break end end end metaDataOffsets() function stringNames() Class_ActorCameraController = "h004163746f7243616d657261436f6e74726f6c6c657200" end stringNames() function searchString(className) gg.clearResults() gg.searchNumber(className, gg.TYPE_BYTE, nil, nil, startAddressDat, endAddressDat) gg.searchPointer(0) local a = gg.getResults(5) for i, v in ipairs(a) do v.address = v.address - classOffset end gg.loadResults(a) end function isProcess64Bit() local regions = gg.getRangesList() local lastAddress = regions[#regions]["end"] return (lastAddress >> 32) ~= 0 end function validISA() instructionSetArchitecture = 0 if isProcess64Bit() == true then instructionSetArchitecture = 64 else instructionSetArchitecture = 32 end return instructionSetArchitecture end validISA() function instructionsOffset() if instructionSetArchitecture == 32 then hexConvert = 0xFFFFFFFF dataType = 4 classOffset = 0x8 else dataType = 32 classOffset = 0x10 end end instructionsOffset() function offset_actorCameraController() if instructionSetArchitecture == 32 then else offset_Outside = 0x60 end end offset_actorCameraController() function ActorCameraController() gg.clearResults() searchString(Class_ActorCameraController) gg.searchPointer(0) local instances_ActorCameraController = gg.getResults(gg.getResultsCount()) gg.clearResults() local ActorCameraController_Outside = {} for i, v in ipairs(instances_ActorCameraController) do ActorCameraController_Outside[i] = {address = v.address + offset_Outside, flags = gg.TYPE_FLOAT} end gg.loadResults(ActorCameraController_Outside) end
  8. Hello. Is it possible to use any version of ida pro for copying? Going to the names column ida pro does not show class names, not at all like yours.
  9. This is not an answer to the question. Your answer didn’t help at all, I knew that without you.
  10. Скрипт завершен: Ошибка скрипта: luaj.o: /storage/emulated/0/gg.lua/yfgdfhju.lua:104 ` gg.editAll('0', gg.TYPE_FLOAT)` You must call gg.getResults before calling gg.editAll. (field 'editAll') level = 1, const = 21, proto = 0, upval = 1, vars = 12, code = 72 CALL v4..v6 ; PC 70 CODE 0180411D OP 29 A 4 B 3 C 1 Bx 1537 sBx -129534 stack traceback: /storage/emulated/0/gg.lua/yfgdfhju.lua:104 in function 'WeaponBalanceComponent' /storage/emulated/0/gg.lua/yfgdfhju.lua:106 in main chunk [Java]: in ? at android.ext.Script$editAll.b(src:3704) at android.ext.Script$ApiFunction.a_(src:1393) at luaj.lib.VarArgFunction.a(src:62) at luaj.LuaClosure.a(src:535) at luaj.LuaClosure.l(src:160) at luaj.LuaClosure.a(src:533) at luaj.LuaClosure.l(src:160) at android.ext.Script.d(src:6056) at android.ext.Script$ScriptThread.run(src:5785)
  11. If I understand correctly, there are several ways to change this. I tried to do it myself, but it didn't work out well. Help please.
  12. Reloading the weapon I need takes 11 seconds. for i, v in ipairs(filter) do if (v.value <= 12) and (v.value >= 11) then sortedFields[#sortedFields + 1] = {address = v.address, flags = gg.TYPE_FLOAT} Finds 2 values that are needed. Works as it should. Is it possible to add value changes to the script after filtering ?
×
×
  • 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.