Jump to content
  • 0

at lua


taki2012

Question

8 answers to this question

Recommended Posts

Posted

have you tried this?

for i = gg.getresults(999)

do

t = {}
t[1] = {}
t[1].address = i

t[1].flags = gg.TYPE_AUTO

t[1].freeze = true

gg.setValues(t)

end

Posted
9 hours ago, taki2012 said:

can someone tell me how to freeze a value in lua

use record script on gameguardian search value and freeze ,you can see the code in note folder

Posted
2 hours ago, Alessa- said:

use record script on gameguardian search value and freeze ,you can see the code in note folder

my question was wrong
It was how to write code that freezes

Posted
local res = gg.getResults(gg.getResultsCount())
for z, x in next res do 
  x.freeze = true 
end
gg.addListItems(res)

 

On 11/13/2022 at 3:56 AM, under_score said:

have you tried this?

for i = gg.getresults(999)

do

t = {}
t[1] = {}
t[1].address = i

t[1].flags = gg.TYPE_AUTO

t[1].freeze = true

gg.setValues(t)

end

What if the result is on the 1000th order?

This is a nonsensical answer.

Posted
5 minutes ago, HEROGAMEOfficial said:

What if the result is on the 1000th order?

why would you freeze 1000 values?

that (probably )will crash the game

Posted
1 hour ago, under_score said:

why would you freeze 1000 values?

that (probably )will crash the game

that's what I usually do. If you don't understand, I suggest seeing it, maybe it's better for you

1 hour ago, under_score said:

1000 values

I froze 3000+ value and it was just fine

1 hour ago, under_score said:

will crash the game

Do you know how GG works?

1 hour ago, under_score said:

1000 values

I froze 3000+ value and it was just fine

Posted
18 hours ago, HEROGAMEOfficial said:

I froze 3000+ value and it was just fine

Depends on what values you are freezing, some values when freezed instantly crash the game 

Archived

This topic is now archived and is closed to further replies.

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