Jump to content
  • 0

please help enby


Hamzabbas

Question

Posted

this is your script i add something like gg.setRange please see data 5 and fix this

data = gg.prompt({[1]='dword', [2]='float', [3]='Replace value', [4]='Max count', [5]='memory range' }, {[1]='add', [2]='add', [3]='add', [4]='add', [5]='select memory range'})

gg.searchNumber(data[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)

gg.searchNumber(data[2], gg.FLOAT, false, gg.SIGN_EQUAL, 0, -1)

found = gg.getResultCount()

gg.alert('We found: '..found)

gg.getResults(data[4])

replaced = gg.editAll(data[3], gg.TYPE_DWORD)

replaced = gg.editAll(data[3], gg.TYPE_FLOAT)

data[5] = gg.setRanges(gg.REGION_C_ALLOC)

gg.alert('We replaced: '..replaced)

gg.alert('Summary: We search '..data[1]..', found '..found..', replaced '..replaced..' to '..data[3]..' with max count '..data[4]..';')

print('Script ended.')

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.