Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/24/2019 in Posts

  1. ... -- main code gg.searchNumber("9904B8A0h", gg.TYPE_AUTO, false, gg.SIGN_EQUAL, 0, -1) -- Added Code ! _resultCount = gg.getResultCount() if _resultCount > 0 then -- Check for result, before using value. _result = gg.getResults(1) -- Get list no 1. _address = _result[1].address + 0xF0 -- Add 0xF0 at address list of no 1. gg.alert(string.format("Original Address: 0x%X\nAddress With Offset 0xF0: 0x%X", _result[1].address, _address)) -- Edit value on address that we added with offset before. gg.setValues({{address = _address, flags = gg.TYPE_DWORD, value = 0x1}}) end com.shinybox.smash.lua
    2 points
  2. What error? [added 0 minutes later] local copy = false local t = gg.getListItems() if not copy then gg.removeListItems(t) end for i, v in ipairs(t) do v.address = v.address + 0xe40 if copy then v.name = v.name..' #2' end end gg.addListItems(t) gg.setValues() gg.setValues() require parameter.
    1 point
  3. Its easy, copy all content on script you attached above. Then add a few line of code. 1. Get all listed items. 2. Get the address, and add offset. 3. gg.setValues
    1 point
×
×
  • 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.