Jump to content
  • 0

Loop that checks if the value changed


YeetMeister

Question

Hello, I want to create a loop that is constantly checking if the value changed

All this stuff is happening in the background so I can move and such

(257)

If the value changed it will display the Changed value as a toast. Please help

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

29 minutes ago, Enyby said:

"while".

I'm ***** Stupid..

 

gg.setRanges(gg.REGION_JAVA_HEAP | gg.REGION_C_HEAP | gg.REGION_C_ALLOC | gg.REGION_C_DATA | gg.REGION_C_BSS | gg.REGION_PPSSPP | gg.REGION_ANONYMOUS)

gg.searchNumber("257", gg.TYPE_DWORD)
var = gg.getResults(100000)

while gg.isVisible(false)
  do
    gg.loadResults(var)
    if var.value ~= "257"
      then
        gg.toast(gg.getValues(var))
      end
  end
  
  
  

 

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.