Hi,
I want to ask, when we add address manually we can Freeze it, is there any function in micromacro to do that.
Example:
0F345AB value 0
to Freeze it set
0F345AB value 1 and tick the frozen
Frozen in CE, how to Freeze it in micromacro
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Frozen in CE, how to Freeze it in micromacro
No, that is done by constantly rewriting to that address. Cheat Engine, by default, writes to a frozen address at 50ms intervals (if I remember correctly).
If all you are doing is freezing those addresses with your script, you can do this:
If you've already got a script set up and don't want to heavily modify it to write to that address everywhere, you could use a timed function which will be called automatically as close as possible to the interval you set.
If all you are doing is freezing those addresses with your script, you can do this:
Code: Select all
function main()
proc = openProcess( findProcessByWindow("my game") );
while(true) do
memoryWriteInt(proc, 0x0F345AB, 1);
yrest(1); -- sleep for the minimum allowed time without wasting CPU time
end
end
Code: Select all
proc = nil; -- Make it global scope
function myTimedFunction()
memoryWriteInt(proc, 0x0F345AB, 1);
end
function main()
proc = openProcess( findProcessByWindow("my game") );
registerTimer("freeze", 50, myTimedFunction)
while(true) do
-- Do whatever you want here. Make sure to yrest() in any function calls
-- or loops that might take a long time to complete.
yrest(1);
end
end
Re: Frozen in CE, how to Freeze it in micromacro
OK, I'll try.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 1 guest