- 0
Set the value faster!
-
Similar Content
-
- 7 answers
- 1,560 views
-
- 11 replies
- 5,009 views
-
- 26 comments
- 30,543 views
-
- 1 reply
- 1,350 views
-
- 0 comments
- 3,116 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!
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