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 


Writeprocessmemory

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Jul 25, 2007 2:09 pm    Post subject: Writeprocessmemory Reply with quote

There is a game that i want to make something for.

Here is an example,

The address: 1234
With a value of : 800

i want to make the value 16000, and freeze that address. How would i do that in delphi?
Back to top
View user's profile Send private message AIM Address MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Jul 25, 2007 2:13 pm    Post subject: Reply with quote

repeatedly write to that address
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Jul 25, 2007 3:39 pm    Post subject: Reply with quote

Well, for the poke value, what should i put to make the value 16000?

i tried a4a1, and it gave the value 165.
Back to top
View user's profile Send private message AIM Address MSN Messenger
KingZero
Expert Cheater
Reputation: 0

Joined: 27 Jun 2006
Posts: 103

PostPosted: Wed Jul 25, 2007 5:09 pm    Post subject: Reply with quote

If your talking about counterstrike it wont work.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25820
Location: The netherlands

PostPosted: Wed Jul 25, 2007 6:43 pm    Post subject: Reply with quote

16000 is 3E80
and make sure to write 2 bytes

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Icos
Grandmaster Cheater
Reputation: 0

Joined: 12 May 2007
Posts: 524

PostPosted: Thu Jul 26, 2007 8:23 am    Post subject: Reply with quote

appalsap wrote:
repeatedly write to that address

How do you do that? In Win32 I can only think of one method using timer messages.
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Thu Jul 26, 2007 8:33 am    Post subject: Reply with quote

Icos wrote:
appalsap wrote:
repeatedly write to that address

How do you do that? In Win32 I can only think of one method using timer messages.


Create a separate thread and do a loop that constantly writes to that address.

_________________
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Thu Jul 26, 2007 9:38 am    Post subject: Reply with quote

Icos wrote:
appalsap wrote:
repeatedly write to that address

How do you do that? In Win32 I can only think of one method using timer messages.


Code:
for(;;)
{
       WriteProcessMemory(...);
       Sleep(10);
}
Back to top
View user's profile Send private message MSN Messenger
Icos
Grandmaster Cheater
Reputation: 0

Joined: 12 May 2007
Posts: 524

PostPosted: Thu Jul 26, 2007 10:36 pm    Post subject: Reply with quote

UnLmtD wrote:
Create a separate thread and do a loop that constantly writes to that address.

Does this mean that I must learn multithreading before I can do it?
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Fri Jul 27, 2007 4:07 am    Post subject: Reply with quote

Icos wrote:
UnLmtD wrote:
Create a separate thread and do a loop that constantly writes to that address.

Does this mean that I must learn multithreading before I can do it?


Unless you want the program to hang, yes.
Back to top
View user's profile Send private message MSN Messenger
atlantis
Advanced Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 69

PostPosted: Fri Jul 27, 2007 7:44 am    Post subject: Reply with quote

I used to have something like doevents for c++ it used peekmessage
seach for it.. works good.
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