Jump to content

MitsuhaMone

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

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

MitsuhaMone's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • Dedicated Rare
  • Week One Done
  • First Post Rare

Recent Badges

0

Reputation

  1. Is this correct? function Clear_Results_List() gg.clearResults() -- clear result gg.clearList() -- clear list so user can't peak the code end function Foo_Bar() gg.setVisible(false) -- set visibility to false gg.hideUiButton() -- At the beginning of every search function write> -- SEARCH gg.setRanges(gg.REGION_ANONYMOUS) -- ranges name gg.searchNumber(':foo') -- END-SEARCH if gg.isClickedUiButton() then Clear_Results_List() gg.alert("Do not open GG while executing, causing an error") -- alert os.exit() -- then exit end if gg.isVisible() then -- if the user tap the gg btn execute the code below while true do -- set true to trigger Clear_Results_List() gg.alert("Do not open GG while executing, causing an error") -- alert os.exit() -- then exit end end -- EDIT gg.getResults(gg.getResultsCount()) gg.editAll(':bar', gg.TYPE_BYTE) -- END-EDIT Clear_Results_List() gg.alert("DONE") -- alert -- gg.setVisible(true) -- set visibility to true -- gg.showUiButton() -- After all the searching and editing is done in the function write. That way the game guardian ui doesn't remain hidden end Foo_Bar()
  2. MitsuhaMone

    LUA scripting

    how to freeze the value? put addListItems before setValues or after setValues? BadCase's GGIl2cpp Toolbox 1.0.4 function handleFieldEdits(className, fieldEditsTable, classTable, functionIndex) local classInstances = Il2cpp.FindObject({className})[1] local tempTable = {} for i, v in pairs(classInstances) do for index, value in pairs(fieldEditsTable) do for fieldIndex, fieldData in pairs(classTable.Fields) do if value.FieldName == fieldData.FieldName then tempTable[#tempTable + 1] = { address = v.address + tonumber(fieldData.Offset, 16), flags = gg.TYPE_DWORD, value = value.edit, freeze = true --freeze value } end end end end restoreFields[functionIndex] = gg.getValues(tempTable) gg.addListItems(tempTable) -- add to save list for freeze. before setValues or after setValues ? gg.setValues(tempTable) -- set the value end
  3. how to freeze the value? put addListItems before setValues or after setValues? function handleFieldEdits(className, fieldEditsTable, classTable, functionIndex) local classInstances = Il2cpp.FindObject({className})[1] local tempTable = {} for i, v in pairs(classInstances) do for index, value in pairs(fieldEditsTable) do for fieldIndex, fieldData in pairs(classTable.Fields) do if value.FieldName == fieldData.FieldName then tempTable[#tempTable + 1] = { address = v.address + tonumber(fieldData.Offset, 16), flags = gg.TYPE_DWORD, value = value.edit, freeze = true --freeze value } end end end end restoreFields[functionIndex] = gg.getValues(tempTable) gg.addListItems(tempTable) -- add to save list for freeze. before setValues or after setValues ? gg.setValues(tempTable) -- set the value end
  4. thx bro. wroks. attack stat & defend stat Float value
×
×
  • 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.