Aqua Regia Advanced Cheater
Reputation: 0
Joined: 12 May 2009 Posts: 51 Location: Sweden
|
Posted: Sun May 17, 2009 5:16 am Post subject: WinMine increase flags every second |
|
|
I wrote the following:
| Code: |
[enable]
alloc(nykod, 2048)
01002FF5:
call nykod
nop
nykod:
inc [01005194] //increase flags
inc [0100579c] //increase time
ret
[disable]
dealloc(nykod)
01002FF5:
inc [0100579c] //increase time
|
Which kinda works, I know it calls "nykod" because if I remove the second line of code there the timer freezes when I tick the box. But my flags don't increase, why's that?
EDIT: Okay it does change, but it doesn't update. I guess I'll have to find the code for that as well.
EDIT2: Found it, here's the working code:
| Code: |
[enable]
alloc(nykod, 2048)
01002FF5:
call nykod
nop
nykod:
inc [0100579c] //increase time
inc [01005194] //increase flags
call 01002801 //update flags
ret
[disable]
dealloc(nykod)
01002FF5:
inc [0100579c] //increase time
|
I'd like some comments on the code
|
|