Jump to content

Count_Nosferatu

Contributor
  • Posts

    128
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Count_Nosferatu

  1. That's right, only a program (game) can take some number as infinity. For example 0xFFFFFFFF or 0x00FFFFFFF This is if developers foresaw that something will be infinite
  2. Of course. In any case, the open file must be closed.
  3. Of course this folder is missing. But the problem is that the official GG doesn’t understand the syntax io.open(file,"w+"):write("{")` And it is better to save the file in the same place as your script. This is how it is understood: ... local json_info,file_nam,file,path,_ json_info=TdLove.ParseResults(TdLove,result) if gg.alert("Alert or Write","write","alert")==1 then path = (gg.getFile():match("^(.*)[/\\][^/\\]*$").."/") file_name=path..gg.getTargetPackage()..".js" file = io.open(file_name,"w") io.output(file) io.write('{') io.close(file) end file = io.open(file_name,"a") io.output(file) for iii,kkk in ipairs(json_info) do _=(iii~=#json_info and ",\n" or "\n") io.write("\n{\n\""..iii.."\":\n"..kkk.."\n}".._) end io.write("\n}") io.close(file) ... And some other little things: ... local gg=gg gg.clearResults() gg.setVisible(false) menu() gg.clearResults() gg.setVisible(true)
  4. I can, but I'm not interested in the result of your script. I'm interested in why your script crashes on GG downloaded from this site. I tried it on four devices, three rooted, one with a virtual machine. GG: 101.1 (16142); Android: 7.1.2 (25) [su] GG: 101.1 (16142); Android: 9 (28) [su] GG: 101.1 (16142); Android: 10 (29) [io.va.exposed] GG: 101.1 (16142); Android: 12 (32) [su] The same error on all devices: `io.open(file,"w+"):write("{")` attempt to index ? (a nil value) with key 'write' I suspect that you are using a modified GG, and you don't write about it.
  5. Switching or changing device? If switching, then to what? Or specify on which devices your script works.
  6. You understand correctly, to find something and exchange it for something. But you can find a number that is only for display on the screen. Number you need may be in another place and encrypted. In online games - even more options.
  7. GG: 101.1 (16142); Android: 7.1.2 (25) [su] /sdcard - prohibited write And error on screenshot
  8. local value1 = 140 local value2 = 140 local offset = 140 gg.searchNumber(value1, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) l = gg.getResultsCount() aaa = gg.getResults(l) for i = 1, l do bbb = gg.getValues({{ address = aaa[i].address + offset, flags = gg.TYPE_DWORD }})[1].value if bbb == value2 then -- Here you insert what you need, for example a print() print(aaa[i].address) end end
  9. gg.alert('Test\nTest\nTest', 'Exit') https://gameguardian.net/help/classgg.html#a07201e70d15be5ac19da2eb3d1c0e352
  10. This is without GG and mainly Android, without virtualization.
  11. I'm trying to run this game on a tablet with Android 10, GG has never been installed on it.
  12. Which game detects root? I want to check it on other emulators.
  13. It is also useful for server to check that request to it comes from GG. So that it does not respond to requests from Firefox, Chrome, IE, Edge and other brouser. Otherwise, everyone and their dogs, will try to get your content.
  14. Such descriptions are not public. In any case, users authentication and storage of keys cannot be done in script itself.
  15. If you said "A", then say "B"
  16. Count_Nosferatu

    Help!!

    Official version of BlueStacks does not have root permission. You need to look for a special version with root access. NOX, MEMU, LDPlayer has a root settings.
  17. Count_Nosferatu

    Help!!

    You didn't ask about installing GG on a smartphone
  18. Count_Nosferatu

    Help!!

    Read this forum. the successful combination of your Emulator and virtual space APK (#1882nrfi)
  19. Each file has a permission: read, write, executable. Each folder has permission: read, write, and to view its content. This is for owner of file and for group owner belongs to. You won't be able to change this using GG. Standard lua function os.execute(command), blocked for security reasons.
  20. After executing your script, what does file */game_status.bin contain ?
  21. GG requires root rights to work. This can be done by running a virtual machine, or rooting your smartphone or tablet. In emulator, set root in settings. There is no need to install virtual machine in emulator.
  22. I don't understand why, when the emulators have root in their settings, you are trying to install virtual machines in them? Please explain.
  23. Perhaps You can't explain what You want. An old programmer's joke: "To ask a question correctly, you need to know more than half answer!"
×
×
  • 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.