View previous topic :: View next topic |
Author |
Message |
slayermbm Newbie cheater Reputation: 0
Joined: 15 Dec 2010 Posts: 18
|
Posted: Sat Feb 04, 2012 1:59 pm Post subject: two simple questions |
|
|
Hi everybody,
I have this two simple questions for those willing to answer: how to freeze an address in lua? And how exactly do you use or create a table with your current codes?
That's all. Thanks!
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Sat Feb 04, 2012 2:43 pm Post subject: |
|
|
You can either use a timer or rewrite the code that you need to freeze. Using a timer would look like:
Code: |
freeze_timer = createTimer( nil, true );
timer_setInterval( freeze_timer, 100 );
timer_onTimer( freeze_timer, function()
writeInteger( "winmine.exe+5194", 999 );
end );
|
_________________
- Retired. |
|
Back to top |
|
|
slayermbm Newbie cheater Reputation: 0
Joined: 15 Dec 2010 Posts: 18
|
Posted: Sat Feb 04, 2012 2:52 pm Post subject: |
|
|
Ok but what if I want the health address, for example, to immediatly turn back to the specified value, what would I have to do? Put the timer at 0? Or is it impossible without code injection? Thanks.
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Sat Feb 04, 2012 3:06 pm Post subject: |
|
|
You could set the timers interval to something lower, but remember its external so it wont be 100% reliable. You are better off doing code injection to rewrite the code that is writing to the health address to ensure it will always be the value you want it to be.
_________________
- Retired. |
|
Back to top |
|
|
|