| View previous topic :: View next topic |
| Author |
Message |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Mon Jul 02, 2007 4:52 am Post subject: Properly Disabling (allready enabled) Timer In Delphi |
|
|
People, do you know and can you tell me a proper way to disable a timer? I'll make ASM script and it will be easy. But how to disable it properly?
This Anticheat has been made in Delphi ... if that helps you.
Any ideas are appreciated.
(refresh if you can't see the image)
| Description: |
|
| Filesize: |
137.98 KB |
| Viewed: |
3528 Time(s) |

|
_________________
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Wed Jul 04, 2007 4:26 am Post subject: |
|
|
Timer1.Enabled := False?
_________________
|
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Wed Jul 04, 2007 5:52 am Post subject: |
|
|
I assume you're talking about shutting it down in another application. You should be able to do it through SendMessage() (I'm relatively positive you can control timers through SendMessage) and FindWindowEx to get the timer itself (again, not POSITIVE if you're able to as Timers aren't really windows) - OR - You can check out how Delphi points to it's pointers according to it's name (few simple tests), then scan for the string in the file, find the pointer to it's Enabled quiality, and set the byte to 0.
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Jul 04, 2007 9:56 am Post subject: |
|
|
1. Hook SetTimer and get the Timer ID
2. KillTimer
Uzeil is right. If the author of the application chose not to use a TimerProc but to handle it in the main message loop you can send a WM_TIMER message. If s/he chose a TimerProc, you're screwed.
|
|
| Back to top |
|
 |
|