I made a script where I change these values (from 2850D to 0,05F).
I must say I am not familiar with the LUA language, I just tried to understand how basics work, but my script works.
Now I realized that I also want to change the zeros after these values I changed, except for the first two zeros.
The point is that I don't know how to do it.
This is my script:
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("2,850;300;940;420;1,028,443,341;1,028,443,341;101;101;6:89",gg.TYPE_DWORD)-- 101, 101 and 6 are values I found, they're always after the zeros and helped me to find these exact values in this exact part of memory and not other similiar values
gg.refineNumber("2,850;300;940;420;1,028,443,341;1,028,443,341",gg.TYPE_DWORD)
gg.getResults(10)
gg.editAll("30,000;5,000;30,000;30,000;1,050,253,722;1,036,831,949",gg.TYPE_DWORD)
gg.clearResults()
How do I also change the zeros starting with the third zero? How can I modify this code and only take values starting with the third zero?
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.
Question
Buffo
I made a script where I change these values (from 2850D to 0,05F).
I must say I am not familiar with the LUA language, I just tried to understand how basics work, but my script works.
Now I realized that I also want to change the zeros after these values I changed, except for the first two zeros.
The point is that I don't know how to do it.
This is my script:
How do I also change the zeros starting with the third zero? How can I modify this code and only take values starting with the third zero?
Thanks in advance
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.