- 0
Set the value faster!
-
Similar Content
-
- 4 answers
- 812 views
-
- 9 answers
- 2,531 views
-
- 1 answer
- 711 views
-
- 0 comments
- 1,981 views
-
- 11 replies
- 4,481 views
-
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
hoangninyb
Hi!
My code:
function setVal (address, value)
local t = {{
address = address,
flags = 4,
value = value,
freeze = true,
}}
gg.setValues(t)
end
gg.searchNumber("2219816;6::25", gg.TYPE_DWORD)
gg.refineNumber("2219816", gg.TYPE_DWORD)
local p = gg.getResultCount()
local m = gg.getResults(p)
for i = 1,p do
addr = m[i].address
setVal (addr + 64, 7)
setVal (addr + 80, 8)
setVal (addr + 96, 9)
setVal (addr + 112, 10)
end
my problem is that there are a lot of 2219816 values, and the modification takes a long time.
Do you guys have any method that can help me to do it quickly?
Thanks!
Link to comment
Share on other sites
21 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now