Jump to content
  • 0

Script cheat


Starter1
 Share

Question

Recommended Posts

  • 0
On 11/23/2021 at 2:51 AM, CmP said:

Such script is pretty simple, just need to call several functions of GG API:

gg.clearResults() -- Clear results list to ensure that new search will be started
gg.searchNumber("17", gg.TYPE_DWORD) -- Search for the value
gg.getResults(100) -- Load first 100 results
gg.editAll("0", gg.TYPE_DWORD) -- Edit loaded results

Information about GG API functions including descriptions and examples of usage can be found in the documentation, link to which is in the post above by @blocx.

why is this script not looking for the right value, what is the error?

speed.lua

Link to comment
Share on other sites

  • 0
52 minutes ago, Starter1 said:

why is this script not looking for the right value, what is the error?

speed.lua 540 B · 3 downloads

The problem is because you use comma (",") as decimal separator. Use dot (".") instead. 

gg.searchNumber('2.38220739e-44', gg.TYPE_FLOAT)

This is also mentioned in documentation:
https://gameguardian.net/help/scripts_locale.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.