Jump to content
  • 0

Freeze Value (in a Script) with Freeze Type May Increase


Question

Posted

So i have this little script thats not working right

Because the Values doesn't freeze I need some Help

Discord: [SnBt]YeetMeister#1967

gg.toast("Memory Ranges: A:Anonymous and Xa:Code App for the Fastest Results")
v = gg.prompt({i = "GoldRoom(After Spawning in)Search: Secret"}, {i = "0"})
if v == nil then
  gg.clearResults()
  gg.alert("Goldroom Hack Cancelled, no Input")
  print("Canceled")
else
  print(v["i"])
 gg.searchNumber(v["i"], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  print("Searched" .. v["i"])
  if gg.getResultCount() >= 4 then
    print("Values are 20")
    gg.getResults(20)
    gg.editAll("1999999999", gg.TYPE_DWORD)
    for i, v in ipairs(gg.getResults(50)) do
  i.freezeType = FREEZE_MAY_INCREASE
  i.freeze = true
end
  else
    print("Too many / or too less Values found")
    gg.clearResults()
    gg.alert("Too much values found, Go to game and change the value, then open gameguardian window again")
  end
  print("Made by YeetMeister")
  print("Helped by Vuroz#1713 on Discord")
end
 

    for i, v in ipairs(gg.getResults(50)) do
  i.freezeType = FREEZE_MAY_INCREASE
  i.freeze = true
end

Is this right? Because its not freezing

Enyby Could you come to discord?

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

Try to search manually the value, and freeze 20 listed item then.

If it does not freeze.. increase listed items that you want to freeze..

if it work, then you know what the problem.

Edited by saiaapiz
  • 0
Posted
2 minutes ago, Enyby said:

@YeetMeister Do not be so helpless. Try read help. There present examples.

Yes, I did now its working (I had to freeze that value to get it to work) but now its not necessary. I'm still learning 

  • 0
Posted (edited)
15 minutes ago, Enyby said:

@YeetMeister Do not be so helpless. Try read help. There present examples.

For ranges do I have to make it like this:

gg.setRanges(REGION_CODE_APP, REGION_ANONYMOUS)
or
gg.setRanges(REGION_ANONYMOUS)
gg.setRanges(REGION_CODE_APP)

 

Edited by YeetMeister
Major Mistake I think
  • 0
Posted
gg.setRanges(gg.REGION_CODE_APP | gg.REGION_ANONYMOUS)

 

  • 0
  • Administrators
Posted

@YeetMeister You are on the previous question, rather than writing the code before reading the documentation, which did not give good results.
Why do you make the same mistake again?

  • 0
Posted
4 minutes ago, Enyby said:

@YeetMeister You are on the previous question, rather than writing the code before reading the documentation, which did not give good results.
Why do you make the same mistake again?

I fixed it myself and i read all of the instructions 

But the freeze stuff i couldnt fix

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