Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/05/2019 in Posts

  1. Binary scripts with corrupted or invalid headers interfere with application development. For this reason: Starting with GG 87.0, a variety of warnings and notifications are displayed ("Invalid binary script header"). In future versions of GG, such scripts will not be executed. Uploading such files to the forum is blocked. All scripts that allow you to create binary scripts with damaged headers will be deleted. You can use a script that replaces the header: Lua header fixer (#8vs58ae4) If this does not help, write to the author of the script. To users of scripts: write to script authors so that they do not spoil the headers. To script writers: Don't mess with the headers. If you want to indicate authorship, there are messages, toasts, and other ways. The file header is not a means of self-expression. If your encryptor / compiler has been deleted, you can remove the creation of corrupted headers from it and upload it as a new file.
    1 point
  2. The topic for various examples of Lua scripts
    1 point
  3. Track value changes in the background Run Tap Counter. Find tap count. It must be first value in search results. Run script. Increase or decrease tap for see toast. For end script open GG UI. local v = gg.getResults(1) gg.setVisible(false) while not gg.isVisible() do local old = v[1].value v = gg.getValues(v) if old ~= v[1].value then gg.toast('changed: '..old..' -> '..v[1].value) end gg.sleep(100) end Video: Track value changes in the background - GameGuardian (#6x95p9tk)
    1 point
  4. Prompt with 'remember' checkbox for store data in the config. local info = {} local config = gg.getFile()..'.cfg' local data = loadfile(config) if data ~= nil then info = data() data = nil end info = gg.prompt({'Login', 'Password', 'Remember'}, info, {'text', 'text', 'checkbox'}) if info == nil then os.exit() end if info[3] then gg.saveVariable(info, config) else os.remove(config) end -- here work with 'info' content print(info)
    1 point
  5. Frozen values from the search Search for the number 10. The first 7 results are frozen with a value of 8. gg.searchNumber('10', gg.TYPE_DWORD) local t = gg.getResults(7) for i, v in ipairs(t) do t[i].value = '8' t[i].freeze = true end gg.addListItems(t)
    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.