Jump to content
  • 0

i need help with "Freeze"


soffter

Question

Maybe it's stupid, but I can't make my code look for an address and freeze it, the problem is that if I don't add value, it freezes me but converts the original value to 0
I checked gg's help and read a lot in the forum but I can't find a solution to this, which I think is something simple.


 

t3 = {{address = g (t2,1) + 0x10, flags = 4, freeze = true}}
gg.addListItems (t3)

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

12 hours ago, Enyby said:

You not set field 'value'. So it will be nil and converted to zero.

I know, but if I put value I have to put some valid number and I don't want it to change, how do I put the "value" field but don't edit the value?

Link to comment
Share on other sites

27 minutes ago, Enyby said:

Load value via getValues.

Can you show me how to do it in this code? I can't understand it from help to use get.Values

gg.searchNumber("100;350;200" , gg.TYPE_DWORD) 
gg.refineNumber("100", gg.TYPE_DWORD) 
t = gg.getResults(1)
t1 = {{address= t[1].address+4,flags=4}}
gg.addListItems(t1)

 

Link to comment
Share on other sites

12 minutes ago, Enyby said:

t1 = {{address= t[1].address+4,flags=4}}
t1 = gg.getValues(t1)
gg.addListItems(t1)

 

Well, I don't know if that's the case but it worked for me, thanks you ❤️

t1 = {{address= t[1].address+4,flags=4}} 
t1 = gg.getValues(t1) 
t1[1].freeze=true
gg.addListItems(t1)

 

Link to comment
Share on other sites

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.