 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
ello154 Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2007 Posts: 822
|
Posted: Thu Dec 25, 2008 4:31 pm Post subject: [Delphi] How do you make hacks untick? |
|
|
So I can make hacks in delphi for any game but I can't untick them and make it turn off
The hacks just stay on forever...
Heres one of the hacks I made
| Code: | var
a: array[1..2] of Byte;
PID: integer;
card: Cardinal;
Handle: integer;
begin
a[1] := $0f;
a[2] := $8f;
GetWindowThreadProcessId(FindWindow('MapleStory', nil), @PID);
Handle := OpenProcess(PROCESS_ALL_ACCESS, false, PID);
WriteProcessMemory(Handle, ptr(SpeedAttack), @a, 2, card);
WriteProcessMemory(Handle, ptr(SpeedAttack), @a, 2, card); |
Thats for ticking it _________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Thu Dec 25, 2008 7:20 pm Post subject: |
|
|
read the value of the adress first then write it back when you want it off
also OpenProess and Write/ReadProessMemory are hooked by gg _________________
|
|
| Back to top |
|
 |
ello154 Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2007 Posts: 822
|
Posted: Thu Dec 25, 2008 8:15 pm Post subject: |
|
|
So I have to make another check box for it? _________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Thu Dec 25, 2008 8:38 pm Post subject: |
|
|
just write the original value back.
and why are you writing the same thing twice. |
|
| Back to top |
|
 |
arigity Advanced Cheater
Reputation: 0
Joined: 03 Jul 2008 Posts: 65 Location: middle of nowhere.
|
Posted: Thu Dec 25, 2008 8:52 pm Post subject: |
|
|
read the original bytes into an array BEFORE you do any hacking then have have a check to see if the checkbox is ticked or not. if it is write new bytes and if not write the old bytes. _________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Fri Dec 26, 2008 9:19 am Post subject: |
|
|
CheckBox.OnClick:
| Code: | if checkbox.checked then
begin
// save current value of address
// activate hack
end
else
begin
// deactivate hack by writing the original value to it
end; |
|
|
| Back to top |
|
 |
ello154 Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2007 Posts: 822
|
Posted: Fri Dec 26, 2008 10:07 am Post subject: |
|
|
| Reak wrote: | CheckBox.OnClick:
| Code: | if checkbox.checked then
begin
// save current value of address
// activate hack
end
else
begin
// deactivate hack by writing the original value to it
end; |
|
o... Thank you Thank you =D _________________
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
'][0]['L_POST_REPLY_TOPIC'] : '') , '" align="middle" />
';
$_switch_quick_reply_count = (isset($this->_tpldata['switch_quick_reply'])) ? sizeof($this->_tpldata['switch_quick_reply']) : 0;for ($_switch_quick_reply_i = 0; $_switch_quick_reply_i < $_switch_quick_reply_count; $_switch_quick_reply_i++){
echo '
';
} // END switch_quick_reply
echo ' |
';
echo '
';
echo ' ' , ((isset($this->_tpldata['.'][0]['L_INDEX'])) ? $this->_tpldata['.'][0]['L_INDEX'] : '') , '
';
$_switch_parent_link_count = (isset($this->_tpldata['switch_parent_link'])) ? sizeof($this->_tpldata['switch_parent_link']) : 0;for ($_switch_parent_link_i = 0; $_switch_parent_link_i < $_switch_parent_link_count; $_switch_parent_link_i++){
echo ' -> ' , ((isset($this->_tpldata['.'][0]['PARENT_NAME'])) ? $this->_tpldata['.'][0]['PARENT_NAME'] : '') , '
';
} // END switch_parent_link
echo ' -> ' , ((isset($this->_tpldata['.'][0]['FORUM_NAME'])) ? $this->_tpldata['.'][0]['FORUM_NAME'] : '') , ' |
';
echo '
';
echo ' ' , ((isset($this->_tpldata['.'][0]['S_TIMEZONE'])) ? $this->_tpldata['.'][0]['S_TIMEZONE'] : '') , ' ' , ((isset($this->_tpldata['.'][0]['PAGINATION'])) ? $this->_tpldata['.'][0]['PAGINATION'] : '') , '
';
echo ' |
';
echo '
';
echo '