Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help for trainer in delphi - freeze and Dec/Inc

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
e!ns7e!n
Cheater
Reputation: 0

Joined: 06 Sep 2007
Posts: 30

PostPosted: Sat Nov 03, 2007 2:41 pm    Post subject: Help for trainer in delphi - freeze and Dec/Inc Reply with quote

First sorry for my bad english Smile

1. Question One
how to freeze one address with delphi ??

hex - Dec
98967F - 9999999

this put 9 999 999 in address 0100579C ?? or not ?

Quote:
GetMem(buf,1);
buf^ := Chr($98967F);
WriteProcessMemory(HandleWindow,ptr($0100579C),buf,1,write);


how to freeze after that this address ?

2. Question two
How to Increase and Decrease value with +1 and -1
Quote:
GetMem(buf,1);
buf^ := Chr($1); // here - what ?? Smile
WriteProcessMemory(HandleWindow,ptr($0100579C),buf,1,write);


Example for fifa: i have one goal +1 or -1 Smile

With TMK increase/decrease with 1 :

Code:
Add WORD 00A792B8 1

Code:
Sub WORD 00A792B8 1


but i want to know with delphi ;(

p.p. In Memory viewer i have this:
auto assemble

Code:
originalcode:
add [eax],eax
add [eax],al
add [eax],eax
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 03, 2007 5:38 pm    Post subject: Re: Help for trainer in delphi - freeze and Dec/Inc Reply with quote

e!ns7e!n wrote:
First sorry for my bad english Smile

1. Question One
how to freeze after that this address ?

Throw WriteProcessMemory into a timer, some kind of loop or find out what writes to it with CE and NOP the instructions. (write 90's to it)

2. Question two
How to Increase and Decrease value with +1 and -1

ReadProcessMemory then increase / decrease the number you get by 1.


Back to top
View user's profile Send private message
e!ns7e!n
Cheater
Reputation: 0

Joined: 06 Sep 2007
Posts: 30

PostPosted: Sun Nov 04, 2007 4:40 am    Post subject: Reply with quote

Well

Give me some example with code in delphi pls for increase and decrease
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites